Skip to content

Instantly share code, notes, and snippets.

View furusiyya's full-sized avatar

Muhammad Bilal Arif furusiyya

  • Alphabase | Zaplead
  • Santa Clara, California, 95050
View GitHub Profile

Specifications of a contract

  • A flat pricing with ETH: USD - $0.02 per token (50 tokens to 1 USD)
  • Coin rate should be $0.02 (can just use the live feed from www.oraclize.it or similar)
  • Token supply: 1 billion, selling 150 million e.g. $3M cap.
  • Token: 8 decimals
  • Multisig wallet for the proceeds, as per gnosis (as that doesn't seem to have had any issues vs. parity)
  • Ensure tokens are reserved and allocated by a certain date when they unlock to subscribers
  • No ETH cap: Anyone can buy as many tokens as they like until all tokens are sold
  • Sale ends when 150m tokens (out of 1bn) allocated to contract run out or a certain date is reached
  • Ideally the smart contract should verify in etherscan and fit into the token tracker
@furusiyya
furusiyya / BlockChainHacking.md
Created September 17, 2017 23:59
Getting started with blockchain hacking :)
@furusiyya
furusiyya / Submission.md
Created August 28, 2017 17:04
Project: Glutton (https://github.com/mushorg/glutton) - Google Summer of Code 2017 final submission report

Merged Pull Requests

Issues Resolved: #72, #59
Description Glutton support number of services (protocol handlers) so each service mean number of connection on that service. So It crash after some time with error: [user.tcp] accept tcp [::]:5000: accept4: too many open files, and this error was due to the allowance of limited number of open file descriptors by the operating system. There was no deadline set for opened connections so most of the connections never get closed. In result, the number of opened connections gradually cross the maximum open file descriptors limit and cause panic. So I added connection timeout = 72 second, number of opened connection will never reach the open file descriptor limit. Another reason was Freki; Glutton useses freki as a networking core so frek

0x00 0 STOP
0x01 3 ADD
0x02 5 MUL
0x03 3 SUB
0x04 5 DIV
0x05 5 SDIV
0x06 5 MOD
0x07 5 SMOD
0x08 8 ADDMOD
0x09 8 MULMOD
@furusiyya
furusiyya / gist:43275a21e7075cd8200293a1b4cc92d5
Created April 28, 2017 09:54 — forked from atcuno/gist:3425484ac5cce5298932
HowTo: Privacy & Security Conscious Browsing

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents

@furusiyya
furusiyya / BlockchainResources.md
Last active August 17, 2018 17:26
Collection of blockchain learning resources I used for getting started. Feel free to add yours :)
@furusiyya
furusiyya / id_rsa.pub
Created April 18, 2017 14:25
SSH public key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDg79655A0KOegZ1ohn7IcvkIYFJj4TbWPAHhZivBDbZdVTfI7fSzO32uP0XsibrxNv5054XVEUPYcm8TXIlH9clqippnyjdWM9vAXCfrB7xE7poQ9rz4e7rdIPcU/lMtI4N0iOL3lyawkzHsSHPLAozIr+fHua5Vg+dud1JeUers2EG+kxAnPPK6iPV1vqgIWKoL5nTogLu7iCDoCqY6MIWdz7CSzv9uoyYqqqrVN8sj0wfwJEIsmkR1ep0wlNtMajx2CoA4PvfDsa5ReVTop2vELcoHrrGu0EkbK+4UmcUmvMdCPLAs3SvF5r8k201eTxPw5NIAc5pi5mHAkQBX+H fsociety@fsociety
@raza-basit
raza-basit / keybase.md
Created March 20, 2017 08:32
keybase.md

Keybase proof

I hereby claim:

  • I am geek96 on github.
  • I am geek96 (https://keybase.io/geek96) on keybase.
  • I have a public key whose fingerprint is 58E3 7E8C 7401 723B FE4A 4E31 F0DF 9354 CB39 8BAC

To claim this, I am signing this object:

@furusiyya
furusiyya / dockerClean.sh
Last active May 30, 2017 05:42
Remove stopped containers and untagged images created due to unsuccessful builds (Images with Repository: <none> && Tag: <None>)
#!/bin/bash
docker rmi $(docker images | grep "^<none>" | awk "{print $3}");
docker rm $(docker ps -a -q)
@carnal0wnage
carnal0wnage / DevOOPS: Attacks And Defenses For DevOps Toolchains Talk Links
Last active September 26, 2022 06:00
Links from Chris Gates/Ken Johnson DevOOPS RSA 17 presentation