Skip to content

Instantly share code, notes, and snippets.

Working from home

Vamshi Vangapally vamshi4001

Working from home
View GitHub Profile
View Promise vs Return
var myFunc = function () {
var myFunc2 = function(){
var deferred = jQuery.Deferred();
var x = myOtherFunc2(deferred);
View Introduction
Front End = User Interface = UI = Web Development
Web Developer = HTML/CSS/Javascript
Graphical User Interface = GUI
Web Developer
UI Developer
Web application
View saleAmountFB.js
var total = 0;
var x = $("._sz6");
for (var i = 0; i < x.length; i++) {
total += parseInt(x[i].textContent.replace(",","").substr(1,x[i].length)) || 0
vamshi4001 / react-blogs.html
Created Feb 13, 2017
List of high quality blogs on react-native
View react-blogs.html
<div class="md"><p>Going alphabetically by blog title through my "high quality blogs" subscriptions:</p>
<li><a href="">Ben McCormick</a>: used to write mostly about Backbone, has now moved to React.</li>
<li><a href="">Christoph Michel</a>: has written a number of good articles about React, React Native, and Redux</li>
<li><a href="">Randy Coulman</a>: excellent, deep, well-written articles about Redux and functional programming techniques</li>
<li><a href="">Dan Abramov</a>: It's Dan Abramov. Possibly the nicest, most helpful guy in the React/Redux community, who also happens to have written some of the most informative and influential articles about using React and Redux.</li>
<li><a href="">David Meents</a>: assorted React and Redux articles</li>
<li><a href="">Philip Davis</a>: Redux and Webpack tutorials</li>
<li><a href="">
View address
View vkc.sol
pragma solidity ^0.4.8;
* Math operations with safety checks
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
View ICO.sol
pragma solidity ^0.4.11;
* @title SafeMath
* @dev Math operations with safety checks that throw on error
library SafeMath {
function mul(uint256 a, uint256 b) internal returns (uint256) {
uint256 c = a * b;
View simpleTokenSale.sol
pragma solidity ^0.4.11;
contract TokenSale{
uint public maxTokens = 100*1000000;
uint public rate = 1000;
uint public fundingGoal = 10000 ether;
uint public minContribution = 0.1 ether;
uint public teamTokensPercent = 20;
uint public crowdsalePercent = 80;
uint public bounty = 10*1000000;
View blockstack.gist
Verifying my Blockstack ID is secured with the address 1GZ8JzHqRLbP7qptPNfhRe3jGrCDdjHTBJ
vamshi4001 / usaCities.js
Created Feb 6, 2018 — forked from Lwdthe1/usaCities.js
JSON of 5,950+ USA Cities and Their States
View usaCities.js
{'city': 'Abbeville', 'state': 'Louisiana'},
{'city': 'Aberdeen', 'state': 'Maryland'},
{'city': 'Aberdeen', 'state': 'Mississippi'},
{'city': 'Aberdeen', 'state': 'South Dakota'},
{'city': 'Aberdeen', 'state': 'Washington'},
{'city': 'Abilene', 'state': 'Texas'},
{'city': 'Abilene', 'state': 'Kansas'},
You can’t perform that action at this time.