Skip to content

Instantly share code, notes, and snippets.

View 0xferit's full-sized avatar
:shipit:
Marinating code...

Ferit 0xferit

:shipit:
Marinating code...
View GitHub Profile
@0xferit
0xferit / ballot.sol
Created May 7, 2019 11:30
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.5.1+commit.c8a2cb62.js&optimize=false&gist=
pragma solidity >=0.4.22 <0.6.0;
contract Ballot {
struct Voter {
uint weight;
bool voted;
uint8 vote;
address delegate;
}
struct Proposal {

Keybase proof

I hereby claim:

  • I am ferittuncer on github.
  • I am ferit (https://keybase.io/ferit) on keybase.
  • I have a public key ASC3gRctSVMYQgPPXZpu4i8oKeZndYvKGW-5DAVxtDNcMwo

To claim this, I am signing this object:

#!/bin/bash
for rev in $(git rev-list --reverse origin/master..HEAD);
do
git push -f origin ${rev}:master
done
@0xferit
0xferit / commands_for_ror_install
Last active April 14, 2017 10:00
How To Install RoR With All Dependencies
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev libpq-dev nodejs
sudo apt-get install ruby-full
gem install rails