Zde lze prohlédnout všech příspěvky uživatele. Jsou zde vidět pouze příspěvky z oblastí, do kterých máte přístup.
Nabídka Zobrazit příspěvky# apt install pidgin
$ git clone git://github.com/EionRobb/icyque.git
# apt install build-essential
# apt install libglib2.0-dev libjson-glib-dev libpurple-dev
$ cd icyque
$ make
# make install
deb http://download.opensuse.org/repositories/home:/jgeboski/Debian_10 ./
# wget -O- https://jgeboski.github.io/obs.key | sudo apt-key add -
# apt update
# apt install purple-facebook
# apt install pidgin-privacy-please
# apt install p7zip-rar
# extract any archive
function ex {
if [ -z "$1" ]; then
# display usage if no parameters given
echo "Usage: ex <path/file_name>.<zip|rar|bz2|gz|tar|tbz2|tgz|Z|7z|xz|arj|exe|tar.bz2|tar.gz|tar.xz>"
else
if [ -f "$1" ] ; then
NAME=${1%.*}
# mkdir $NAME && cd $NAME
case "$1" in
*.tar.7z) 7z x -so ./"$1" | tar x ;;
*.tar.gz) tar -xzf ./"$1" ;;
*.tar.xz) tar -xJf ./"$1" ;;
*.tar.bz2) tar -xjf ./"$1" ;;
*.lzma) 7z x ./"$1" ;;
*.bz2) 7z x ./"$1" ;;
*.rar) 7z x ./"$1" ;;
*.gz) 7z x ./"$1" ;;
*.tar) tar -xvf ./"$1" ;;
*.tbz2) tar xvjf ./"$1" ;;
*.tgz) tar xvzf ./"$1" ;;
*.zip) 7z x ./"$1" ;;
*.Z) 7z x ./"$1" ;;
*.7z) 7z x ./"$1" ;;
*.xz) 7z x ./"$1" ;;
*.arj) 7z x ./"$1" ;;
*.exe) 7z x ./"$1" ;;
*) echo "extract: '$1' - unknown archive method" ;;
esac
else
echo "'$1' - file does not exist"
fi
fi
}
$ ex archiv.lzma
# extract any archive(s)
ex() {
declare file
if (($# > 0)); then
for file in "${@}"; do
if [[ -f $file ]]; then
case "$file" in
*.tar.7z) 7z x -so ./"$file" | tar x ;;
*.tar.gz) tar -xzf ./"$file" ;;
*.tar.xz) tar -xJf ./"$file" ;;
*.tar.bz2) tar -xjf ./"$file" ;;
*.tar) tar -xvf ./"$file" ;;
*.tbz2) tar -xvjf ./"$file" ;;
*.tgz) tar -xvzf ./"$file" ;;
*.7z | *.arj | *.bz2 | *.exe | *.gz | *.lzma | *.rar | *.xz | *.zip | *.Z) 7z x ./"$file" ;;
*) echo "ex: '$file' - unknown archive method" ;;
esac
else
echo "'$file' - file does not exist"
fi
done
else
echo "Usage: ex <file> [<file>]..."
fi
}
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
alias lsl='ls -lG --group-directories-first -A -v'
#!/usr/bin/env bash
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true
vlc
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false
$ chmod +x fdr.sh
Citace od: Roman Horník kdy 16. 03. 2020, 05:35:05
1) Blbuntu ani nepříteli!
.....
# apt install build-essential git
# tar -C /usr/local -xzf gox.xx.xx.linux-amd64.tar.gz
$ mkdir go
# set GOLANG PATH if workplace exists
if [ -d "$HOME/go" ] ; then
GOPATH="$HOME/go"
PATH="/usr/local/go/bin:$GOPATH:$GOPATH/bin:$PATH"
fi
$ go get -u github.com/odeke-em/drive/drive-google
$ cd ~
$ drive-google init
[pull/push]
exclude-ops=delete
#no-prompt=true
$ drive-google push Documents
cd ~/
notify-send -t 15000 -i /usr/share/icons/gnome/256x256/status/gnome-netstatus-rx.png "Google drive sync =>"
drive-google pull Documents
cd ~/
notify-send -t 15000 -i /usr/share/icons/gnome/256x256/status/gnome-netstatus-tx.png "Google drive sync <="
drive-google push Documents
#/sbin/shutdown -P now
# chmod u+s /sbin/shutdown
$ go get -u github.com/odeke-em/drive/cmd/drive
$ drive init
# Ignore symlinks
Filmy
Hudba
Obrázky
desktop.ini
@echo off
echo "******************************"
echo "** Sync **"
echo "** Google disc => Documents **"
echo "******************************"
drive pull %USERPROFILE%\Documents
@echo off
echo "******************************"
echo "** Sync **"
echo "** Documents => Google disc **"
echo "******************************"
drive push %USERPROFILE%\Documents
rem SHUTDOWN /s /f /t 0
file="$HOME/.drivestate"
state="push"
if [ -f "$file" ] ; then
state=$(cat "$file")
fi
if [[ $state == "push" ]] ; then
notify-send -t 15000 -i network-receive "Sync from Google disc..."
drive-google pull $HOME/Documents && echo "pull" > $file
else
notify-send -t 10000 -i dialog-warning "The last sync to Google disc may not have occurred !"
fi
file="$HOME/.drivestate"
state="pull"
if [ -f "$file" ] ; then
state=$(cat "$file")
fi
if [[ $state == "pull" ]] ; then
notify-send -t 15000 -i network-transmit "Sync to Google disc..."
drive-google push $HOME/Documents && echo "push" > $file && /sbin/shutdown -P now
else
notify-send -t 10000 -i dialog-warning "The last sync from Google disc may not have occurred !"
fi
@ECHO OFF
SET file="%USERPROFILE%\.drivestate"
SET state="push"
IF EXIST %file% (SET /p state=<"%file%")
IF "%state%"=="push" (
ECHO "******************************"
ECHO "** Sync **"
ECHO "** Google disc => Documents **"
ECHO "******************************"
drive pull %USERPROFILE%\Documents
IF %ERRORLEVEL% EQU 0 ECHO pull>%file%
) ELSE (
ECHO "**********************************"
ECHO "** Sync **"
ECHO "** The last sync to Google disc **"
ECHO "** may not have occurred !!!!!! **"
ECHO "**********************************"
PAUSE
)
@ECHO OFF
SET file="%USERPROFILE%\.drivestate"
SET state="pull"
IF EXIST %file% (SET /p state=<"%file%")
IF "%state%"=="pull" (
ECHO "******************************"
ECHO "** Sync **"
ECHO "** Documents => Google disc **"
ECHO "******************************"
drive push %USERPROFILE%\Documents
IF %ERRORLEVEL% EQU 0 ECHO push>%file%
) ELSE (
ECHO "************************************"
ECHO "** Sync **"
ECHO "** The last sync from Google disc **"
ECHO "** may not have occurred !!!!!!!! **"
ECHO "************************************"
PAUSE
)
SHUTDOWN /s /f /t 0
# apt-mark hold linux-headers-siduction-amd64 linux-image-siduction-amd64 xserver-xorg-video-nvidia