This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDG2rplA3T9TVHpHzjfEGSwHLrpPS6qNPBXQGKgDKabIBcW7TLkRddTY3gKKt73YCwd5/MYPL/9k6XoB9XdSAYrWtQaAtNZVGg3xZ52/FGqVELjrktnPHxfuqE9eAGGcsmOtI8MVG0xoAlznObJZFKkBEsP5KOY+56nIYvaV9Oaiq1gqiVLthMvboZf7+KY+N0Blrc7Lr6Yjq8prwCSYZGt2tHp8QSe3TM21t3cMlmIIiDCBorFPwO0Vo3fUjntcn43i+XiSjuGuoRK+RnIw36mA+eq7/le+UHSduXl2pZJyMIkiA0ShBHm6l9lwYop4CJ8EVpx5P7KSMQ+wMBbo9Qj |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"github.com/ethereum/go-ethereum/common" | |
"github.com/ethereum/go-ethereum/ethclient" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 constant returns (uint256) { | |
uint256 c = a * b; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xAAde9D8a682Bd7e3b1d1403dF0087bD4a8a1043F |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xF278298F27a75c3c6ce93b838C2deF511968DD14 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'tpope/vim-vinegar' | |
Plugin 'tpope/vim-fugitive' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"-------------Visuals--------------" | |
set macligatures | |
set guifont=Fira\ Code:h16 | |
set guioptions-=m " Removes menubar | |
set guioptions-=T " Removes top toolbar | |
set guioptions-=r " Removes right hand scroll bar | |
set guioptions-=e " Remove gui tabs | |
set go-=L " Removes left hand scroll bar | |
set linespace=15 | |
hi LineNr guibg=bg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Mailcatcher & zsh | |
yum -y install zsh | |
yum -y install centos-release-SCL | |
yum -y install ruby193 | |
yum -y install ruby193-ruby-devel | |
scl enable ruby193 "gem install mailcatcher" | |
sed -i 's/sendmail_path = \/usr\/sbin\/sendmail -t -i/sendmail_path = "scl enable ruby193 \/opt\/rh\/ruby193\/root\/usr\/local\/bin\/catchmail"/g' /etc/php.ini | |
echo "scl enable ruby193 \"/opt/rh/ruby193/root/usr/local/bin/mailcatcher --ip=0.0.0.0\"" >> /etc/rc.local |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by iptables-save v1.4.12 on Mon Jan 13 21:10:32 2014 | |
-F | |
*filter | |
:INPUT DROP [1:40] | |
:FORWARD DROP [0:0] | |
:OUTPUT ACCEPT [16:3248] | |
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT | |
-A INPUT -i lo -j ACCEPT | |
-A INPUT -i docker0 -j ACCEPT | |
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
snippet <? | |
<?php | |
${0} | |
snippet ec | |
echo ${0}; | |
snippet <?e | |
<?php echo ${0} ?> | |
# this one is for php5.4 | |
snippet <?= |