This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
const outside = {weather: FRIGHTFUL} | |
const inside = {fire: DELIGHTFUL} | |
const go = places => places.some(p=>p>outside.weather))) | |
const snow = () => (outside.weather < inside.fire && !go(places)) { | |
let it = snow() | |
} | |
let it = snow() |
Hello there.
So, if you are here you probably saw my previous tweet where I asked for tips & tricks on improving the timing on an iOS/React Native app build time.
What will follow was how I mixed those suggestions + some good old GoogleSearch-fu + me deep diving on this for ~2 days.
import * as admin from 'firebase-admin' | |
import * as functions from 'firebase-functions' | |
admin.initializeApp(functions.config().firebase) | |
const db = admin.firestore() | |
async function writeIntegerVersion(event) { | |
const ref = event.data.ref | |
if (ref.path.indexOf('/_versions/') >= 0) { | |
return false |
const infuraProjectID = "Write your infura projectID here" // https://infura.io/signup | |
const tokenContractAddress = "0xdac17f958d2ee523a2206206994597c13d831ec7" | |
const accountAddress = "0x757d576da3fba018b1bd9cdd05fa4ca0261792c8" | |
// Dependencies | |
const Web3 = require('web3'); | |
const web3 = new Web3() | |
const keccak_256 = require('js-sha3').keccak256 | |
const rp = require('request-promise') | |
const retry = require('async-retry') |