Skip to content

Instantly share code, notes, and snippets.

@amdstorm
amdstorm / inline_manual_async.js
Created December 28, 2015 03:41
Load inline manual async
(function() {
var d = false;
var tk = document.createElement('script');
tk.src = 'https://inlinemanual.com/embed/player.js';
tk.type = 'text/javascript';
tk.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(tk, s);
})();
@amdstorm
amdstorm / storj 0.9.0 seed
Last active October 7, 2016 10:06
Location of the 0.9.0 seed for easy reference
"storj://STORJ-CLUS-026.storj.space:4000/f5bee37b0b2492d2bb7eb5e179ebb9e9df4f907b",
"storj://STORJ-CLUS-023.storj.space:4200/f4fb501b9f0101c729499230b1725585b70b1ce1",
"storj://37.187.111.139:4600/f6f949d0ad7ce08188ed01f5d98643d4f3da9806",
"storj://STORJ-CLUS-004.storj.space:4400/f74f3eaae7874e483175a407ce5c7704136e74cb",
"storj://STORJ-CLUS-026.storj.space:4200/fe798ed8ee67048f1b62f3ae563c289b284c98fe",
"storj://STORJ-CLUS-006.storj.space:4400/08be4038fadf70b037b02b890e28c76acd671efb",
"storj://STORJ-CLUS-017.storj.space:4600/f7796a9ef92e534234918a8a684478a0d04044a0",
"storj://STORJ-CLUS-014.storj.space:4200/ffec02590d64f125a3c73b3616651291cfaea28b",
"storj://server03.sjch.siblin.org:4000/fee530eb1accfb0612c4ebbea6067c910ad10c33",
"storj://217.19.24.129:4001/1416df68ea82b4593fdc0b481b0772de666df3c7",
@amdstorm
amdstorm / gist:514318ee0356b871c6da2dba14fbaa77
Created October 9, 2016 11:52
Storj cli op codes for the lazy
Simple op codes
"0f01020202",
"0f02020202",
"0f03020202",
"0f01030303",
"0f02030303",
"0f03030303",
"0f01010101",
"0f02010101",
"0f03010101",
#!/bin/bash
# Install a custom version of PhantomJS, http://phantomjs.org/
#
# If you run into any rate limiting issues from bitbucket, put the download
# file(s) into your own server and point to the location via the PHANTOMJS_HOST
# environment variable.
#
# Add at least the following environment variables to your project configuration
# (otherwise the defaults below will be used).
# * PHANTOMJS_VERSION - Specify the version of PhantomJS
@amdstorm
amdstorm / Install imagemagick 6.7.x
Created October 19, 2017 01:13
Install imagemagick 6.7.x
sudo -i
cd
apt-get install build-essential checkinstall && apt-get build-dep imagemagick -y
wget http://www.imagemagick.org/download/releases/ImageMagick-6.7.9-10.tar.xz
tar xf ImageMagick-6.7.9-10.tar.xz
cd ImageMagick-6.7.9-10/
./configure --prefix=/opt/imagemagick-6.8 && make
checkinstall