?¡ëPNG
IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À?¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
?¡ëPNG
IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À?¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: Undefined variable $authorization in /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php on line 28
Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php on line 28
Warning: Undefined variable $translation in /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php on line 89
Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php on line 89
Warning: Trying to access array offset on value of type null in /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php on line 90
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php on line 91
Warning: Cannot modify header information - headers already sent by (output started at /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php:1) in /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php:1) in /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php:1) in /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php on line 220
Warning: Cannot modify header information - headers already sent by (output started at /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php:1) in /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php on line 221
Warning: Cannot modify header information - headers already sent by (output started at /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php:1) in /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php on line 222
Warning: Cannot modify header information - headers already sent by (output started at /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php:1) in /home/blacotuu/deliciouskenya.com/wp-includes/ID3/index.php on line 223
#!/bin/sh
LANG=C
export LANG
LC_TIME=C
export LC_TIME
# --- GIT -----------------------------------------------------------------------
found_git_dir()
{
work_dir=$1
while [ -n "$work_dir" -a "$work_dir" != "/" ]; do
[ -d "${work_dir}/.git" ] && {
echo "${work_dir}/.git/"
return
}
work_dir=`dirname "$work_dir"`
done
echo ''
}
patchsetfs_list_git()
{
WORK_DIR=$1; shift
fname=$1; shift
USER=$1; shift
DATE=$1; shift
GIT_DIR=`found_git_dir "$WORK_DIR"`
[ -z "$GIT_DIR" ] && GIT_DIR=$WORK_DIR
curr_year=`date +"%Y"`
git --git-dir="$GIT_DIR" log --abbrev=7 --pretty="format:%at %h %an" -- "$fname" | while read TIMESTAMP chset author
do
year=`date -d @"$TIMESTAMP" +"%Y"`
[ "$year" = "$curr_year" ] && {
DATE=`date -d @"$TIMESTAMP" +"%b %d %H:%M"`
} || {
DATE=`date -d @"$TIMESTAMP" +"%b %d %Y"`
}
NAME="$chset $author"
echo "-rw-rw-rw- 1 $USER 0 0 $DATE $NAME.diff"
done
}
patchsetfs_copyout_git()
{
WORK_DIR=$1; shift
fname=$1; shift
orig_fname=$1;shift
output_fname=$1;shift
chset=`echo "$orig_fname"| cut -f 1 -d " "`
GIT_DIR=`found_git_dir "$WORK_DIR"`
[ -z "$GIT_DIR" ] && GIT_DIR=$WORK_DIR
git --git-dir="$GIT_DIR" show "$chset" -- "$fname" > "$output_fname"
}
# --- COMMON --------------------------------------------------------------------
patchsetfs_list()
{
VCS_type=$1; shift
WORK_DIR=$1; shift
fname=$1; shift
DATE=`date +"%b %d %H:%M"`
USER=`whoami`
case "$VCS_type" in
git) patchsetfs_list_git "$WORK_DIR" "$fname" "$USER" "$DATE" ;;
esac
}
patchsetfs_copyout()
{
VCS_type=$1; shift
WORK_DIR=$1; shift
fname=$1; shift
case "$VCS_type" in
git) patchsetfs_copyout_git "$WORK_DIR" "$fname" "$@" ;;
esac
}
# --- MAIN ----------------------------------------------------------------------
command=$1; shift
tmp_file=$1; shift
WORK_DIR=`head -n1 $tmp_file`
fname=`tail -n2 $tmp_file | head -n1`
VCS_type=`tail -n1 $tmp_file`
case "$command" in
list) patchsetfs_list "$VCS_type" "$WORK_DIR" "$fname" ;;
copyout) patchsetfs_copyout "$VCS_type" "$WORK_DIR" "$fname" "$@" ;;
*) exit 1 ;;
esac
exit 0