Download slt.py python script (supports multiple build) from this repository.
python slt.py <"sublime_text file path">
| .---------------------------------------------------------------------------. | |
| | | | |
| | Bash Redirections Cheat Sheet | | |
| | | | |
| +---------------------------------------------------------------------------+ | |
| | | | |
| | Created by Peteris Krumins (peter@catonmat.net) | | |
| | www.catonmat.net -- good coders code, great coders reuse | | |
| | | | |
| +-----------------------------.---------------------------------------------+ |
Download slt.py python script (supports multiple build) from this repository.
python slt.py <"sublime_text file path">
# set http proxy
export http_proxy=http://127.0.0.1:8080
# set http proxy with user and password
export http_proxy=http://USERNAME:PASSWORD@127.0.0.1:8080
# set http proxy with user and password (with special characters)
export http_proxy=http://`urlencode 'USERNAME'`:`urlencode 'PASSWORD'`@127.0.0.1:8080| set-option -g mouse on | |
| bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'" | |
| # Resize panes with arrow keys because alt-arrow keys doesn't work | |
| bind-key -r Up resize-pane -U | |
| bind-key -r Down resize-pane -D | |
| bind-key -r Left resize-pane -L | |
| bind-key -r Right resize-pane -R |
#PotPlayer guide
Alternative and up to date guide here: http://wp.me/PrgSo-gQ.
##Installers
| from __future__ import print_function | |
| import requests | |
| import threading | |
| import sys | |
| def eprint(*args, **kwargs): | |
| print(*args, file=sys.stderr, **kwargs) |
| # @Author: printempw | |
| # @Date: 2017-05-13 17:54:48 | |
| # @Last Modified by: printempw | |
| # @Last Modified time: 2017-05-13 21:37:41 | |
| cat /dev/null > ff.txt | |
| # 防止变成 1、10、2、3 这样的顺序 | |
| for i in `ls -1 *.flv | sort -n`; do | |
| echo "file '${i}'" >> ff.txt; |
| @echo off | |
| echo - This scripts automates process of installing Windows Subsystem for Linux (WSL) | |
| REM Due some limitations, this script has to be can't be executed under PowerShell | |
| Get-ChildItem >nul 2>&1 | |
| if %errorLevel% == 0 ( | |
| echo # Swich to CMD | |
| cmd /c start "" %0 | |
| exit 0 | |
| ) |
| @echo off | |
| echo - This scripts automates process of installing Windows Subsystem for Linux (WSL) | |
| REM Due some limitations, this script has to be can't be executed under PowerShell | |
| Get-ChildItem >nul 2>&1 | |
| if %errorLevel% == 0 ( | |
| echo # Swich to CMD | |
| cmd /c start "" %0 | |
| exit 0 | |
| ) |