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
| " General Developer Plugins | |
| Plugin 'VundleVim/Vundle.vim' | |
| " plugin manager | |
| Plugin 'Valloric/YouCompleteMe' | |
| " autocomplete 5/5 | |
| Plugin 'scrooloose/nerdtree' |
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
| // Press F12, go to console, paste the following script to delete photos from profile / cover | |
| for(let p of document.querySelectorAll("[data-tooltip='Edit or Remove']")){p.click()};setTimeout(() => {for(let p of document.querySelectorAll("[data-action-type='delete_photo']")){p.click();} setTimeout(() => {for(let p of document.getElementsByClassName('layerConfirm')){p.click();}}, 1000)}, 1000); |
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
| for(let p of document.getElementsByClassName('removePhoto')){p.click(); document.getElementsByName('ok')[0].click();} |
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
| for(let p of document.querySelectorAll("[data-tooltip='Edit or Remove']")){p.click()};setTimeout(() => {for(let p of document.querySelectorAll("[data-action-type='hide_from_timeline']")){p.click();} setTimeout(() => {for(let p of document.getElementsByClassName('layerConfirm')){p.click();}}, 1000)}, 1000); |
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
| for(let p of document.querySelectorAll("[data-tooltip='Edit or Remove']")){p.click()};setTimeout(() => {for(let p of document.querySelectorAll("[data-action-type='delete_video']")){p.click();} setTimeout(() => {for(let p of document.getElementsByClassName('layerConfirm')){p.click();}}, 1000)}, 1000); |
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
| for(let p of document.querySelectorAll("[data-tooltip='Edit or Remove']")){p.click()};setTimeout(() => {for(let p of document.querySelectorAll("[data-action-type='remove_tag']")){p.click();} setTimeout(() => {for(let p of document.getElementsByClassName('layerConfirm')){p.click();}}, 1000)}, 1000); |
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
| function filterObj(toFilter, filterKeys) { | |
| return Object.entries(toFilter) | |
| .filter(([key, value]) => filterKeys.includes(key)) | |
| .reduce((obj, [key, val]) => Object.assign(obj, { [key]: val }), {}); | |
| } |
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
| vim: set ft=solidity: | |
| pragma solidity ^0.4.24; | |
| contract MultiSig { | |
| struct Proposal { | |
| address to; | |
| uint amount; | |
| mapping(address => bool) signers; | |
| bool finalized; |
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.23; | |
| // ---------------------------------------------------------------------------- | |
| // ERC Token Standard #20 Interface | |
| // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md | |
| // ---------------------------------------------------------------------------- | |
| contract ERC20Interface { | |
| function totalSupply() public constant returns (uint); | |
| function balanceOf(address tokenOwner) public constant returns (uint balance); | |
| function allowance(address tokenOwner, address spender) public constant returns (uint remaining); | |
| function transfer(address to, uint tokens) public returns (bool success); |
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
| [{ | |
| "constant": true, | |
| "inputs": [], | |
| "name": "name", | |
| "outputs": [{ | |
| "name": "", | |
| "type": "string" | |
| }], | |
| "payable": false, | |
| "stateMutability": "view", |
OlderNewer