Skip to content

Instantly share code, notes, and snippets.

Shawn Wilkinson super3

Block or report user

Report or block super3

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
View gist:220c11c1c10c05ce53a75d0883328d08
wget --mirror --convert-links --adjust-extension --page-requisites --no-parent http://cdimage.ubuntu.com
for dir in $(find /mnt/volume_nyc3_02/cdimage.ubuntu.com -type d); do
rm $dir/index.html?*
done
@super3
super3 / .tmux.conf
Last active Aug 8, 2019
Linux Default
View .tmux.conf
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
# Other examples:
View .tmux.conf
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
@super3
super3 / readme.md
Last active Apr 27, 2019 — forked from jimmywarting/readme.md
Cors Proxies
View readme.md
Server SSL Metods Server country code Comments
[YaCDN][1] GET EU Unlimited size and unlimited requests (for now)
[crossorigin.me][2] GET US Require Origin header
2MB size limit
[cors-proxy.htmldriven][3] - CZ JSON response
don't work well with binary
[cors-proxy.taskcluster][4] POST US Only witelisted to taskcluster.net
Can send any header/method
[thingproxy][9] ANY US Limited to 100kb for both upload and download, max 10 req/sec
[whateverorigin][10] GET US Only supports JSONP
[cors.io][11] GET, HEAD US Only supports GET and HEAD request
[gobetween][12] GET US Only supports GET requests
@super3
super3 / benchmark.txt
Created Dec 4, 2018
Mixtape.Moe Tests
View benchmark.txt
super3@Book2:~/transfer.sh$ wget https://my.mixtape.moe/hwxzlz.mp4
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/home/super3/.wget-hsts'. HSTS will be disabled.
--2018-12-04 12:14:22-- https://my.mixtape.moe/hwxzlz.mp4
Resolving my.mixtape.moe (my.mixtape.moe)... 206.81.100.99
Connecting to my.mixtape.moe (my.mixtape.moe)|206.81.100.99|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21563437 (21M) [video/mp4]
Saving to: ‘hwxzlz.mp4’
@super3
super3 / bench.sh
Last active Nov 19, 2018
Raiden Benchmark Scripts
View bench.sh
#!/bin/bash
echo "Start: `date +%m-%d-%Y\ %H:%M:%S\ %Z`.\n"
for i in `seq 1 $1`;
do
echo "\n\n$i/$1\n==========";
curl -i -X POST http://localhost:5001/api/1/payments/0x396764f15ed1467883A9a5B7D42AcFb788CD1826/0xBbE54C702A529DF85f2D412F8FC4012Ca0684ba3 -H 'Content-Type: application/json' --data-raw '{"amount": 1}'
done
echo "\nEnd: `date +%m-%d-%Y\ %H:%M:%S\ %Z`."
View README
Use: https://medium.com/@dave_lunny/sane-github-labels-c5d2e6004b63
Source: https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues
View updates.json
{
"win32-x64-prod": {
"readme": "First release",
"update": "https://github.com/super3/zmine/releases/download/v0.1.0/zmine.Setup.0.1.0.exe",
"install": "https://github.com/super3/zmine/releases/download/v0.1.0/zmine.Setup.0.1.0.exe",
"version": "0.1.0"
}
}
@super3
super3 / payout.MD
Last active Mar 18, 2018
Storj Bridge Payout Formula
View payout.MD

Payout Formula

paymentModelFunction = function(gbHours, telemReports, downloadedBytes) {
 gbHoursScaled =  (gbHours - mean(gbHours)) / sd(gbHours)
 telemReportsScaled =  (telemReports - mean(telemReports)) / sd(telemReports)
 downloadedBytesScaled = (downloadedBytes - mean(downloadedBytes)) / sd(downloadedBytes)
 
 basePayout = 10
 ghHourPayout = 12.2221 * gbHoursScaled
 telemReportsPayout = 0.1452 * telemReportsScaled
You can’t perform that action at this time.