Skip to content

Instantly share code, notes, and snippets.

View haziqAhmed7's full-sized avatar

Haziq Ahmed haziqAhmed7

  • RemoteBase
  • KARACHI, PAKISTAN
View GitHub Profile
@haziqAhmed7
haziqAhmed7 / README.txt
Created March 27, 2021 19:55
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.1+commit.df193b15.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@haziqAhmed7
haziqAhmed7 / README.txt
Created March 27, 2021 19:28
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.1+commit.df193b15.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@haziqAhmed7
haziqAhmed7 / README.txt
Created March 27, 2021 19:28
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.1+commit.df193b15.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@haziqAhmed7
haziqAhmed7 / Playlist.js
Last active October 10, 2015 23:31
Play multiple videos without playlist in Youtube Iframe Api v3
/**
* The Functionality would be to Fetch the Playlist from the registered user
* then wrap the data into the Youtube Player and bind the event so that
* it can play the playlist according to the videos offset which are essential for this
* application
* Created by Haziq on 9/27/2015.
*/
//Variables to remember states
var data;
@haziqAhmed7
haziqAhmed7 / Basic_Cocomo.js
Last active September 26, 2015 13:23
COCOMO
//define arrays
var array_modes = ['Organic', 'Semi-Detached', 'Embeded'];
//save states
var size, efforts ,time_development, staff_size, productivity;
var EFFORT, TIME_DEVELOPMENT;
/*
We define array of effort constant values.