I hereby claim:
- I am squarelover on github.
- I am squarelover (https://keybase.io/squarelover) on keybase.
- I have a public key ASDBP8H7Xjhg_7ON3dxUZjfz_bKnt7ElFvQymsGoKUzTCwo
To claim this, I am signing this object:
| from decimal import Decimal | |
| from datetime import datetime | |
| import time | |
| from hummingbot.script.script_base import ScriptBase | |
| from hummingbot.core.event.events import BuyOrderCompletedEvent, SellOrderCompletedEvent | |
| from os.path import realpath, join | |
| s_decimal_1 = Decimal("1") | |
| LOGS_PATH = realpath(join(__file__, "../../logs/")) |
I hereby claim:
To claim this, I am signing this object:
| # | |
| # Will return the current branch name | |
| # Usage example: git pull origin $(current_branch) | |
| # | |
| function current_branch() { | |
| ref=$(git symbolic-ref HEAD 2> /dev/null) || \ | |
| ref=$(git rev-parse --short HEAD 2> /dev/null) || return | |
| echo ${ref#refs/heads/} | |
| } |
| --ignore-dir=log | |
| --ignore-dir=tmp | |
| --ignore-dir=db/* | |
| --ignore-dir=doc/* | |
| --ignore-dir=coverage | |
| --type-add=ruby=.haml,.rake,.rsel,.sass,.thor,.erb,Gemfile | |
| --type-set=cucumber=.feature |
| def reset_attribute!(name) | |
| value = attribute_was(name) | |
| @attributes[name] = value | |
| modifications.delete(name) | |
| end |
| # bash resource script for loading up environment paths. | |
| WANTED_PATHS=( \ | |
| "/Users/seanwolfe/bin" \ | |
| "/Users/seanwolfe/bin/jira" \ | |
| "${EC2_HOME}/bin" \ | |
| "/usr/local/mysql/bin" \ | |
| "/usr/local/bin:/usr/local/sbin" | |
| "/Developer/SDKs/android-sdk-mac/tools" | |
| "/usr/local/cuda/bin" |
| javascript:var%20s=document.createElement('script');s.setAttribute('src',%20'http://jquery.com/src/jquery-latest.js');document.getElementsByTagName('body')[0].appendChild(s);alert('thank%20you%20for%20using%20jquery!');void(s); |
| --- src/jsprf.c 2009-07-26 12:32:01.000000000 -0700 | |
| +++ src/jsprf.c 2009-07-26 12:33:12.000000000 -0700 | |
| @@ -58,6 +58,8 @@ | |
| */ | |
| #ifdef HAVE_VA_COPY | |
| #define VARARGS_ASSIGN(foo, bar) VA_COPY(foo,bar) | |
| +#elif defined(va_copy) | |
| +#define VARARGS_ASSIGN(foo, bar) va_copy(foo,bar) | |
| #elif defined(HAVE_VA_LIST_AS_ARRAY) | |
| #define VARARGS_ASSIGN(foo, bar) foo[0] = bar[0] |
| 1) Install MongoDB and launch it: | |
| 21:44:59 ^ $ /opt/local/bin/mongod --dbpath=/opt/mongo-data/ | |
| Wed Aug 19 21:45:10 Mongo DB : starting : pid = 6578 port = 27017 dbpath = /opt/mongo-data/ master = 0 slave = 0 32-bit | |
| ** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data | |
| ** see http://blog.mongodb.org/post/137788967/32-bit-limitations for more | |
| Wed Aug 19 21:45:10 db version v0.9.8, pdfile version 4.4 | |
| Wed Aug 19 21:45:10 git version: nogitversion |