Skip to content

Instantly share code, notes, and snippets.

View dora-gt's full-sized avatar

Taiga Nakayama dora-gt

View GitHub Profile
@sharafian
sharafian / README.md
Created September 29, 2017 22:17
Script for ILP Credentials on XRP Testnet

ILP Credentials

Just save ilp_creds.sh to your machine, and run source ./ilp_creds.sh in bash. It will fetch you XRP testnet credentials from the faucet, and export them into your shell in the variables ILP_CREDENTIALS and ILP_PLUGIN.

In this shell, you can now use ILP tools such as ilp-curl, which will use your new testnet credentials.

To save your testnet credentials into your .bashrc, run:

@timotgl
timotgl / uninstall-razer-synapse.sh
Last active August 29, 2024 10:47
How to fully uninstall Razer Synapse 2 on OS X (10.11-10.13) (El Capitan, Sierra, High Sierra) without using Razer's official uninstall tool
# How to uninstall Razer Synapse 2 ( https://www.razerzone.com/synapse-2 )
# on OS X (10.11-10.13) (El Capitan, Sierra, High Sierra)
# without using Razer's official uninstall tool.
# Tested on OS X 10.11.5 in July 2016.
# Edited with additional steps for later OS X versions,
# contributed by commenters on this gist.
# Step 1: In your terminal: stop and remove launch agents
launchctl remove com.razer.rzupdater
@lwe
lwe / example_usage.markdown
Created September 18, 2009 10:05
iPhoto-like preview batches (Video in action: http://www.vimeo.com/6639381)

in action: http://www.vimeo.com/6639381

javascript:

var pp = "/images/test/images_";
var images_p1 = [ pp + '1.jpg', pp + '2.jpg', pp + '3.jpg', pp + '4.jpg', pp + '5.jpg' ];
var images_p2 = [ pp + '6.jpg', pp + '7.jpg', pp + '8.jpg', pp + '9.jpg', pp + '10.jpg' ];

$('.preview').slideview(function(e) { return e.id == "p1" ? images_p1 : images_p2; }, { size: 75 });