DWTFYW
Disclaimer:
- no warranty this will work for you!
- I'm not responsible of how you use this!
- READ, VERIFY and TEST the CODE before using!
#!/bin/bash | |
cd $(dirname $0) | |
./genOne.sh sync_Vertcoin Vertcoin | |
./genOne.sh sync_Dash Dash | |
./genOne.sh sync_Stakenet Stakenet | |
./genOne.sh sync_Viacoin Viacoin | |
./genOne.sh sync_PivX PivX | |
./genOne.sh sync_Komodo Komodo |
{ | |
"private": true, | |
"name": "send-example", | |
"version": "1.0.0", | |
"main": "index.js", | |
"license": "MIT", | |
"dependencies": { | |
"@ledgerhq/hw-transport-node-hid-noevents": "canary", | |
"@ledgerhq/ledger-core": "alpha", | |
"@ledgerhq/live-common": "alpha", |
require("babel-polyfill"); | |
const request = require("request"); | |
const { listTokens } = require("@ledgerhq/live-common/lib/currencies"); | |
require("@ledgerhq/live-common/lib/load/tokens/ethereum/erc20"); | |
const delay = ms => new Promise(resolve => setTimeout(resolve, ms)); | |
const fetch = url => | |
new Promise((resolve, reject) => | |
request(url, (error, response, body) => { |
// Implementing the publishing Pusher REST API | |
// @see http://pusher.com/docs/rest_api | |
// with Play (scala) Framework | |
// @see http://scala.playframework.org/ | |
class Pusher { | |
val appId = Play.configuration.getProperty("pusher.appId") | |
val key = Play.configuration.getProperty("pusher.key") | |
val secret = Play.configuration.getProperty("pusher.secret") | |
// N.B. this file is used only for the testing version of GLSL.io | |
#ifdef GL_ES | |
precision highp float; | |
#endif | |
uniform sampler2D from, to; | |
uniform float progress; | |
uniform vec2 resolution; | |
uniform float persp; |
/* | |
* I want to trigger something 5s after mount with some props | |
*/ | |
const Thing = ({ a, b }) => { | |
useEffect(() => { | |
const timeout = setTimeout(() => { | |
doTheThing(a, b); | |
}, 5000); |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | |
/* ***** BEGIN LICENSE BLOCK ***** | |
* Version: MPL 1.1/GPL 2.0/LGPL 2.1 | |
* | |
* The contents of this file are subject to the Mozilla Public License Version | |
* 1.1 (the "License"); you may not use this file except in compliance with | |
* the License. You may obtain a copy of the License at | |
* http://www.mozilla.org/MPL/ | |
* | |
* Software distributed under the License is distributed on an "AS IS" basis, |
DWTFYW
Disclaimer:
async function suspenseReadToPromise(read, ...args) { | |
let value; | |
try { | |
value = read(...args); | |
} catch (e) { | |
if (e && typeof e.then === "function") { | |
value = await e; | |
} | |
else { |
I hereby claim:
To claim this, I am signing this object: