Skip to content

Instantly share code, notes, and snippets.

View Alexintosh's full-sized avatar
🧑‍🍳
Baking

Alessio Delmonti Alexintosh

🧑‍🍳
Baking
View GitHub Profile
@Morabaraba
Morabaraba / qici-projects.md
Last active March 10, 2017 09:30
List of QICI Projects with source

Firstly I want to thank the QICI team for their extensive list of demos. If you want to know how to do something you will most probably find a example there.

This list is more of projects I found scattered on github, self promotion, etc. If you want something added please let me know!

note atm most projects is just prototypes, toys or just someone checking the env and sharing their knowledge.

@EQuimper
EQuimper / vsc.txt
Created April 20, 2017 19:55
Visual Studio Code shortcuts
Shortcuts
- shift+cmd+d -> create same line below
- shift+cmd+f -> open search in project
- cmd+d -> select full word
- cmd+d + shift-cmd-g -> search word in file
- shift+cmd+enter -> new line before
- cmd+enter -> new line after
- cmd+arrow -> go the end
- ctrl-tab -> go back to the recent file
@raineorshine
raineorshine / sendRawTransaction.js
Last active December 3, 2022 18:02
Sends a raw transaction with web3 v1.2.2, ethereumjs-tx v2.1.1, and Infura
const Web3 = require('web3')
const Tx = require('ethereumjs-tx').Transaction
// connect to Infura node
const web3 = new Web3(new Web3.providers.HttpProvider('https://mainnet.infura.io/INFURA_KEY'))
// the address that will send the test transaction
const addressFrom = '0x1889EF49cDBaad420EB4D6f04066CA4093088Bbd'
const privateKey = new Buffer('PRIVATE_KEY', 'hex')
@alecchampaign
alecchampaign / vault.sol
Last active December 3, 2017 11:32
Simple contract to store Ether.
pragma solidity ^0.4.18;
/** Simple contract to store Ether */
contract Vault
{
address owner;
uint balance;
// Modifier for authenticating owner
modifier ownerOnly(address _owner) {
@erikyuntantyo
erikyuntantyo / react-native-offline-bundling-android
Last active October 29, 2023 06:36
Build react-native offline bundling into android
# create assets folder in the current project
$ mkdir android/app/src/main/assets
# create bundle script
$ react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
# execute command to run android to create debug apk
$ react-native run-android
# Or change to android folder
@dominiek
dominiek / IDEX.sol
Created February 8, 2018 07:36
IDEX Smart Contract
pragma solidity ^0.4.16;
contract Token {
bytes32 public standard;
bytes32 public name;
bytes32 public symbol;
uint256 public totalSupply;
uint8 public decimals;
bool public allowTransactions;
mapping (address => uint256) public balanceOf;
@dappvolume
dappvolume / submit-dapp.md
Last active May 3, 2019 14:58
Submit Dapps to these sites for huge exposure!

Submit A Dapp

Once you create a dapp its important the dapp gets exposure. Here is a list of 20 places you can submit your Dapp.

Dapp Websites

The following websites showcases dapps ( decentralized applications ).

Name URL Platform
@tschubotz
tschubotz / gnosis_safe_developer_resources.md
Last active January 15, 2021 16:11
Gnosis Safe - Developer Resources and links
@mikhaildobs
mikhaildobs / InviteLink.sol
Last active January 22, 2019 10:44
InviteLink module for ERC-1077
@sarthology
sarthology / regexCheatsheet.js
Created January 10, 2019 07:54
A regex cheatsheet 👩🏻‍💻 (by Catherine)
let regex;
/* matching a specific string */
regex = /hello/; // looks for the string between the forward slashes (case-sensitive)... matches "hello", "hello123", "123hello123", "123hello"; doesn't match for "hell0", "Hello"
regex = /hello/i; // looks for the string between the forward slashes (case-insensitive)... matches "hello", "HelLo", "123HelLO"
regex = /hello/g; // looks for multiple occurrences of string between the forward slashes...
/* wildcards */
regex = /h.llo/; // the "." matches any one character other than a new line character... matches "hello", "hallo" but not "h\nllo"
regex = /h.*llo/; // the "*" matches any character(s) zero or more times... matches "hello", "heeeeeello", "hllo", "hwarwareallo"