Skip to content

Instantly share code, notes, and snippets.

Cipri skyway22

Block or report user

Report or block skyway22

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@skyway22
skyway22 / .bash_aliases
Created Dec 14, 2018 — forked from oblique63/.bash_aliases
Bash Aliases for Ubuntu
View .bash_aliases
#----{ Aliases for Ubuntu: }--------------------------------------------------
# Admin
alias update="sudo aptitude update ; sudo aptitude -ZWry safe-upgrade && sudo aptitude -ZWry --purge-unused clean"
alias sources="sudo nano /etc/apt/sources.list"
alias install="sudo aptitude -ZWry install"
alias uninstall="sudo aptitude -ZWry remove"
alias pkgsearch="aptitude search"
alias installed="dpkg --get-selections | grep"
alias add-repo="sudo add-apt-repository"
alias app="apropos"
View .rtorrent.rc
directory = /mnt/wd/movies
session = /home/rock64/.rtorrent/.session
# Close torrents when diskspace is low.
schedule = low_diskspace,5,60,close_low_diskspace=20240M
port_range = 51413-51413
port_random = no
encryption = allow_incoming,enable_retry,prefer_plaintext
peer_exchange = no
dht = disable
scgi_port = 127.0.0.1:5000
@skyway22
skyway22 / .bash_aliases
Last active Jun 14, 2019
Lenovo bash-aliases
View .bash_aliases
### System
alias update="sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y && sudo apt-get autoclean && sudo apt-get autoremove"
alias paste="nc termbin.com 9999"
alias aliases="cat ~/.bash_aliases"
alias ra="source ~/.bash_aliases"
alias ea="sudo nano ~/.bash_aliases ; source ~/.bash_aliases"
# Screen
alias sl="screen --list"
### SSH
View .bash_aliases
alias li="screen -r irssi"
alias rosu="sudo nano /sys/class/leds/led1/brightness"
alias temp="/opt/vc/bin/vcgencmd measure_temp"
alias kstop="sudo systemctl stop mediacenter"
alias kstart="sudo systemctl start mediacenter"
alias paste="nc termbin.com 9999"
export LC_ALL="en_US.UTF-8"
alias tstop="sudo systemctl stop transmission"
alias tstart="sudo systemctl start transmission"
alias treload="sudo systemctl reload transmission"
View trans_to_deluge.php
#!/usr/bin/php
<?php
/* Transmission to Deluge export script
*
* Transmission - transmission-gtk 2.77 (14031)
* Deluge - deluge: 1.3.6
* Script - PHP 5.4.14 (cli)
*
* How to use this script;
* 1) Run `php trans_to_deluge.php` and make sure there aren't any errors.
You can’t perform that action at this time.