Skip to content

Instantly share code, notes, and snippets.

View Crizzooo's full-sized avatar

Christopher Rizzo Crizzooo

  • Titanvest
  • New York, NY
View GitHub Profile
@tomw1808
tomw1808 / send_transfer_call.sol
Last active December 6, 2018 08:46
This is an example of the difference between "address.send()", "address.call.value()()" and "address.transfer()" in Solidity. If you like this example, then checkout my courses I do on Udemy (https://vomtom.at/tag/course/)
pragma solidity ^0.4.13;
contract someContract {
mapping(address => uint) balances;
function deposit() payable {
balances[msg.sender] += msg.value;
}
Hi Fullstack Friends!
This gist will walk you through installing snippets I have created to help you work faster and more efficiently in Express!
This gist is specifically for Visual Studio Code Users
--- Installation Instructions ---
1. Go to Code -> Preferences -> User Snippets
2. Select JavaScript
2. Copy all the code below the {COPY CODE BELOW HERE} line
3. Paste it below the final comment
Hi Fullstack Friends!
This gist will walk you through installing snippets I have created to help you work faster and more efficiently in Express!
This gist is specifically for Sublime Users.
--- INSTALLATION INSTRUCTIONS ---
Each Snippet must be installed individually using the following steps:
Hi Fullstack Friends!
This gist will walk you through installing snippets I have created to help you work faster and more efficiently in Express!
--- Installation Instructions ---
1. Open ~/.atom/snippets.cson
2. Copy all the code below the {COPY CODE BELOW HERE} line
3. Paste it below the final default comment
4. Open a .js file and test the snippets using something like aget and then cycling through tab!