Skip to content

Instantly share code, notes, and snippets.

View ppaskowsky's full-sized avatar

Peter Paskowsky ppaskowsky

View GitHub Profile
@ppaskowsky
ppaskowsky / .rtorrent.rc
Last active November 8, 2015 23:29
.rtorrent.rc configuration file for raspberry pi
# This is an example resource file for rTorrent, optimized for the raspbery pi.
# Copy to ~/.rtorrent.rc and enable/modify the options as needed.
# Maximum and minimum number of peers to connect to per torrent.
# min_peers = 1
# max_peers = 5
# Same as above but for seeding completed torrents (-1 = same as downloading)
# min_peers_seed = 1
# max_peers_seed = 20
@ppaskowsky
ppaskowsky / setting.json
Last active August 29, 2015 14:20
setting.json transmission configuration file for raspberry pi
{
"alt-speed-down": 0,
"alt-speed-enabled": false,
"alt-speed-time-begin": 60,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": true,
"alt-speed-time-end": 480,
"alt-speed-up": 450,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
@ppaskowsky
ppaskowsky / full-torrents.sh
Last active August 29, 2015 14:21
Download All Linux Torrents From SilenceIsDefeat.com
#/bin/bash
#
# This script downloads all the latest Linux iso torrents to
# your watch directory - add your download directory after -P
#
wget -r -nH --cut-dirs=3 --no-parent --reject="index.html*" http://users.silenceisdefeat.net/~petes/all-torrents/ -P /root/watch/
@ppaskowsky
ppaskowsky / minimal-torrents.sh
Last active August 29, 2015 14:21
Download All Linux Torrents From SilenceIsDefeat.com
#/bin/bash
#
# This script downloads all the latest Linux iso torrents to
# your watch directory - add your download directory after -P
#
wget -r -nH --cut-dirs=3 --no-parent --reject="index.html*" http://users.silenceisdefeat.net/~petes/minimal-torrents/ -P /root/watch/
#/bin/bash
#Install Apps
sudo apt-get update && sudo apt-get -y install filezilla mplayer vlc vim terminator ntfs-3g git screen htop mtr nmap iftop nload iotop vnstat vim && sudo apt-get -y upgrade
sudo su
wget https://raw.githubusercontent.com/ppaskowsky/Bash/master/rasperry-pi-seedbox-setup-script.sh
chmod +x rasperry-pi-seedbox-setup-script.sh
./rasperry-pi-seedbox-setup-script.sh
@ppaskowsky
ppaskowsky / fstab
Created October 26, 2015 00:22
/etc/config/fstab for openwrt
config 'mount'
option 'device' '/dev/sda1'
option 'options' 'rw,sync'
option 'enabled_fsck' '0'
option 'enabled' '1'
option 'target' '/mnt'
config transmission
option enabled 1
option config_dir '/mnt/transmission'
#option user 'nobody'
option alt_speed_down 0
option alt_speed_enabled false
option alt_speed_time_begin 540
option alt_speed_time_day 127
option alt_speed_time_enabled false
option alt_speed_time_end 1020
@ppaskowsky
ppaskowsky / openwrt_setup.sh
Last active November 7, 2015 23:41
openwrt setup
opkg update
opkg install htop mtr luci-app-vnstat luci-app-ddns
root@R1> show route
inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
172.16.0.1/32 *[Direct/0] 6d 02:13:09
> via lo0.0
172.16.0.2/32 *[OSPF/10] 6d 01:55:50, metric 1
> to 192.168.0.2 via ge-0/0/0.0
172.16.0.3/32 *[OSPF/10] 6d 01:55:48, metric 2