Skip to content

Instantly share code, notes, and snippets.

View bloopletech's full-sized avatar

Brenton 'B-Train' Fletcher bloopletech

View GitHub Profile
find . -type d -name 'old' -exec rm -r {} +
rsync -avHS --prune-empty-dirs --include "*/" --exclude 'cache/' --exclude 'old/' --include="*.txt" --exclude="*" 'aleph.gutenberg.org::gutenberg gutenberg
# ARCH will be auto-detected as the host if not specified
#ARCH=i486
#ARCH=x86_64
#ARCH=powerpc
#ARCH=arm
#ARCH=microblaze
#ARCH=mips
#ARCH=mipsel
CC_BASE_PREFIX=/opt/cross
paths = ["001.jpg", "002.jpg", "003.jpg", "004.jpg", "005.jpg", "006.jpg", "007.jpg", "008.jpg", "009.jpg", "010.jpg", "011_wide.jpg", "012.jpg", "013.jpg", "014.jpg", "015.jpg", "016.jpg", "017.jpg", "018.jpg", "019.jpg", "020.jpg", "021.jpg", "022.jpg", "023.jpg", "024.jpg", "025.jpg", "026.jpg", "027.jpg", "028.jpg", "029.jpg", "030.jpg", "031.jpg", "032.jpg", "033.jpg", "034.jpg", "035.jpg", "036.jpg", "037.jpg", "038.jpg", "039.jpg", "040.jpg", "041.jpg", "042.jpg", "043.jpg", "044.jpg", "045.jpg", "046.jpg", "047.jpg", "048.jpg", "049.jpg", "050.jpg", "051.jpg", "052.jpg", "053.jpg", "054.jpg", "055.jpg", "056.jpg", "057.jpg", "058.jpg", "059.jpg", "060.jpg", "061.jpg", "062.jpg", "063.jpg", "064.jpg", "065.jpg", "066.jpg", "067.jpg", "068.jpg", "069.jpg", "070.jpg", "071.jpg", "072.jpg", "073.jpg", "074.jpg", "075.jpg", "076.jpg", "077.jpg", "078.jpg", "079.jpg", "080.jpg", "081.jpg", "082.jpg", "083.jpg", "084.jpg", "085.jpg", "086.jpg", "087.jpg", "088.jpg", "089.jpg", "090.jpg", "091.jpg", "092.jpg"
#Speedup for everyone:
sudo apt-get remove --purge --auto-remove gnome-user-share gnome-online-accounts gwibber zeitgeist zeitgeist-core zeitgeist-datahub zeitgeist-extension-fts unity-lens-files gnome-screensaver
#Open tracker-preferences, and remove your home directory and subdirectories from the inclusions list
#Click Apply
#Click the button in tracker preferences that removes all your indexes
#If you don't use evolution:
sudo apt-get remove --purge --auto-remove evolution evolution-data-server
#Systemd only:
sudo apt-get remove --purge --auto-remove rsyslog
sudo systemctl mask systemd-udev-settle.service
---
- hosts: localhost
connection: local
gather_facts: False
tasks:
- name: Provision a blank Ubuntu 14.04 instance
ec2:
region="us-east-1"
key_name=buildkite_ansible
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include <error.h>
#include <unistd.h>
#include <string.h>
//gcc -std=c11 -o find_replace find_replace.c
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include <error.h>
#include <unistd.h>
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
~$ curl -v -v -v -s https://get.rvm.io
* Rebuilt URL to: https://get.rvm.io/
* Hostname was NOT found in DNS cache
* Trying 97.107.133.48...
* Trying 2600:3c03::f03c:91ff:fedb:6957...
* connect to 2600:3c03::f03c:91ff:fedb:6957 port 443 failed: Network is unreachable
* Failed to connect to get.rvm.io port 443: Network is unreachable
* Closing connection 0