This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Name=XMind | |
Exec=/opt/xmind-8/XMind_amd64/XMind.sh | |
Type=Application | |
Terminal=false | |
Comment=XMind 8 | |
Icon=/opt/xmind-8/XMind_amd64/XMind.ico |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CONFIG=~/.route.conf | |
function usage() { | |
echo -e "Usage: `basename $0` <options>\noptions:" | |
grep "^function" $0 | sed 's/function/ /g' | sed 's/[{()]//g' | |
} | |
function list() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CLIENT=/usr/local/pulse/PulseClient.sh | |
CONFIG=~/.sslvpn.conf | |
function usage() { | |
echo -e "Usage: `basename $0` <options>\noptions:" | |
grep "^function" $0 | sed 's/function/ /g' | sed 's/[{()]//g' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
op=$1 | |
iface=$2 | |
gateway=$3 | |
if [ -z "$op" ]; then | |
op=add | |
fi | |
if [ -z "$iface" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
devServer: { | |
proxy: { | |
'/api': { | |
target: 'http://localhost:8000/api', | |
changeOrigin: true, | |
ws: true, | |
pathRewrite: { | |
'^/api': '' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem Register command | |
sc create Gitea start= auto binPath= ""D:\Applications\gitea\gitea.exe" web --config "D:\Applications\gitea\my-app.ini"" | |
rem De-register command | |
sc delete Gitea |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'Updating apt ...' | |
sudo apt update | |
echo 'Installing minimal deps ...' | |
sudo apt install -y openssh-server git vim vim-gtk3 tmux tree gparted zsh-antigen terminator curl build-essential | |
echo 'Upgrading system ...' | |
sudo apt upgrade -y | |
echo 'Installing custom dev env ...' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'Adding repository of sierra theme ...' | |
sudo add-apt-repository ppa:dyatlov-igor/sierra-theme -y | |
echo 'Adding repository of spotify ...' | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90 | |
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list | |
echo 'Updating apt ...' | |
sudo apt update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global_config] | |
focus = mouse | |
title_inactive_bg_color = "#000000" | |
title_inactive_fg_color = "#2e3436" | |
title_transmit_bg_color = "#000000" | |
title_transmit_fg_color = "#ef2929" | |
[keybindings] | |
switch_to_tab_1 = <Alt>1 | |
switch_to_tab_2 = <Alt>2 | |
switch_to_tab_3 = <Alt>3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
nohup /usr/share/code-insiders/code-insiders $* > /dev/null 2>&1 & | |
# rename `code.sh` to `code` and put it to some $PATH (e.g. /usr/local/bin/code) |