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 .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
@super3
super3 / README.md
Created Sep 12, 2016
Storj Beach Size
View README.md

beach-size

Because this script performs many factorials (and is poorly optimized), please consider your CPU before inputting large values

This is a quick-and-dirty script to describe the difficulty of locating a file on a distributed storage network without information regarding the locations of its shards. It computes the probability of locating all the shards of a file with a number of random non-repeating draws from a network containing a given number of shards.

This is a fairly simple application of a hypergeometric distribution. The population size (N) is the total number of shards on the network, the number of successes in the population (k) is the number of shards required to rebuild the file, the sample size (n) is the number of shards a searcher retrieves from the network, and the number of success of shards in the file (x) is equal to the number of shards in the file (i.e. all shards are required to rebuild the file).

The results

@super3
super3 / keybase.md
Last active Jun 30, 2016
keybase.md
View keybase.md

Keybase proof

I hereby claim:

  • I am super3 on github.
  • I am super3 (https://keybase.io/super3) on keybase.
  • I have a public key whose fingerprint is 9F82 4B3D 9BC8 57C7 90E7 47DE FF55 B791 DAB0 D433

To claim this, I am signing this object:

You can’t perform that action at this time.