start new:
tmux
start new with session name:
tmux new -s myname
#!/bin/bash | |
for file in *.jpg | |
do | |
sips --resampleHeightWidthMax 1357 --setProperty formatOptions 80 $file | |
done; |
0-mail.com | |
0815.ru | |
0clickemail.com | |
0wnd.net | |
0wnd.org | |
10minutemail.com | |
20minutemail.com | |
2prong.com | |
30minutemail.com | |
3d-painting.com |
{ | |
"Total": 910, | |
"my dms": 1, | |
"harbor is safe": 1, | |
"the Galaxy ": 1, | |
"Practice author": 1, | |
"Graph Representation Learning - rusty1s": 1, | |
"the PHP ecosystem": 1, | |
"software and to ensure that Python code is properly ported to Python 3": 1, | |
"Vienna - alanhamlett": 1, |
Let's say alice
is a github.com user, with 2 or more private repositories repoN
.
For this example we'll work with just two repositories named repo1
and repo2
https://github.com/alice/repo1
https://github.com/alice/repo2
You need to be to pull from these repositories without entering a passwords probably on a server, or on multiple servers.
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
# This is how I upload my new Sol Trader builds (http://soltrader.net) | |
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
S3KEY="my aws key" | |
S3SECRET="my aws secret" # pass these in | |
function putS3 | |
{ | |
path=$1 |
# vim: set filetype=zsh | |
# _ _ | |
# __ _| (_) __ _ ___ ___ ___ | |
# / _` | | |/ _` / __|/ _ \/ __| | |
# | (_| | | | (_| \__ \ __/\__ \ | |
# \__,_|_|_|\__,_|___/\___||___/ | |
# | |
# written by Shotaro Fujimoto (https://github.com/ssh0) | |
#-------- Alias {{{ |
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2016-05-27-raspbian-jessie.img
) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config
to:
"use latest"; | |
/* | |
* A webtask.io little hack to scrape the github contributions data, and present it in some usable JSON | |
* | |
* Setup: | |
* - Download this file | |
* - Setup a webtask.io account | |
* - Upload to webtask.io with something like: | |
* wt create --name github-contributions github-contributions-webtask.js |
# Simple No-ip.com Dynamic DNS Updater | |
# | |
# By Nathan Giesbrecht (http://nathangiesbrecht.com) | |
# | |
# 1) Install binary as described in no-ip.com's source file (assuming results in /usr/local/bin) | |
# 2) Run sudo /usr/local/bin/noip2 -C to generate configuration file | |
# 3) Copy this file noip2.service to /etc/systemd/system/ | |
# 4) Execute `sudo systemctl daemon-reload` | |
# 5) Execute `sudo systemctl enable noip2` | |
# 6) Execute `sudo systemctl start noip2` |