This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run in console | |
var imgs = Array.from(document.querySelectorAll('._53s')) | |
var ids = imgs.map(img => img.dataset.fbid) | |
var time = 0; | |
ids.forEach(function(id){ | |
setTimeout(function(){ | |
console.log(id) | |
document.location.assign('https://www.facebook.com/photo/download/?fbid=' + id); | |
}, time); | |
time += 3000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
""" Convert sketch files to open with older versions of Sketch. | |
Based on https://sketchtalk.io/discussion/2546/file-backwards-compatibility | |
""" | |
__author__ = "David Mihal" | |
__license__ = "GPL" | |
import zipfile | |
import sys | |
import json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('shelljs/global'); | |
require('dotenv').config(); | |
const fs = require('fs'); | |
const archiver = require('archiver'); | |
const webstore = require('chrome-webstore-upload'); | |
const fetch = require('isomorphic-fetch'); | |
function createZip(path) { | |
return new Promise((resolve, reject) => { | |
var output = fs.createWriteStream(path); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.18; | |
import "../../math/SafeMath.sol"; | |
/** | |
* @title Basic token | |
* @dev Basic version of StandardToken, with no allowances. | |
*/ | |
contract BasicToken { | |
using SafeMath for uint256; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import { xdai, dai, eth } from '@burner-wallet/assets'; | |
import BurnerCore from '@burner-wallet/core'; | |
import { InjectedSigner, LocalSigner } from '@burner-wallet/core/signers'; | |
import { InfuraGateway, InjectedGateway, XDaiGateway } from '@burner-wallet/core/gateways'; | |
import Exchange, { Uniswap, XDaiBridge } from '@burner-wallet/exchange'; | |
import ModernUI from '@burner-wallet/modern-ui'; | |
const core = new BurnerCore({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { xdai, dai, sai, eth, keth, kdai } from '@burner-wallet/assets'; | |
//... | |
const core = new BurnerCore({ | |
assets: [xdai, dai, sai, eth, keth, kdai], | |
// ... | |
}); | |
//... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { xdai, dai, eth, ERC777Asset, ERC20Asset, NativeAsset } from '@burner-wallet/assets'; | |
// ... | |
const goerlieth = new NativeAsset({ | |
id: 'geth', | |
name: 'gETH', | |
network: '4', | |
}); | |
const buffidai = new ERC777Asset({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ENSPlugin from '@burner-wallet/ens-plugin'; | |
import ERC681Plugin from '@burner-wallet/erc681-plugin'; | |
import RecentAccountsPlugin from '@burner-wallet/recent-accounts-plugin'; | |
import MetamaskPlugin from '@burner-wallet/metamask-plugin'; | |
//... | |
const BurnerWallet = () => | |
<ModernUI | |
title="Basic Wallet" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { xdai, dai, eth, ERC20Asset } from '@burner-wallet/assets'; | |
import Exchange, { Uniswap, XDaiBridge } from '@burner-wallet/exchange'; | |
//... | |
const mkr = new ERC20Asset({ | |
id: 'mkr', | |
name: 'Maker', | |
address: '0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2', | |
network: '100', | |
priceSymbol: 'MKR', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { xdai, dai, eth, ERC20Asset } from '@burner-wallet/assets'; | |
import Exchange, { Uniswap, XDaiBridge } from '@burner-wallet/exchange'; | |
//... | |
const mkr = new ERC20Asset({ | |
id: 'mkr', | |
name: 'Maker', | |
address: '0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2', | |
network: '100', | |
priceSymbol: 'MKR', |
OlderNewer