Skip to content

Instantly share code, notes, and snippets.

View Janaka-Steph's full-sized avatar
🎯
Focusing

Janaka Janaka-Steph

🎯
Focusing
View GitHub Profile
### Keybase proof
I hereby claim:
* I am janaka-steph on github.
* I am janakasteph (https://keybase.io/janakasteph) on keybase.
* I have a public key ASCh5w4yksWUmV120H5lu5I26NLx9zC4Djes317AtA52MQo
To claim this, I am signing this object:
@Janaka-Steph
Janaka-Steph / bitcoin.conf
Created June 4, 2018 18:12
Bitcoin configuration - Testnet, Raspberry Pi 3
# Generated by https://jlopp.github.io/bitcoin-core-config-generator/
# This config should be placed in following path (Linux):
# ~/.bitcoin/bitcoin.conf
# Bitcoin Testnet for Raspberry Pi 3
# [core]
# Maintain a full transaction index, used by the getrawtransaction rpc call.
txindex=1
@Janaka-Steph
Janaka-Steph / ajax
Created December 29, 2014 09:21
Ajax
/* AJAX */
// Fix for Internet explorer
if (!window.location.origin) {
window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port: '');
}
// In order that it works both on local and production site
var locationOrigin;
if (document.domain == "localhost") {
locationOrigin = window.location.origin + "/mydomain.fr/";
} else {