Skip to content

Instantly share code, notes, and snippets.

View kuzetsa's full-sized avatar

CatSwarm (kuza) kuzetsa

View GitHub Profile
@kuzetsa
kuzetsa / gist:8014535
Created December 17, 2013 23:20
README.txt for new minecraft modpack for "forge modloader" for minecraft 1.6.4 (9.11.1) build 953)
1) modpack is GUARANTEED to crash without some of these config files (won't even load / incompatible IDs)
2) configs ARE playable in single player mode (minus serverside features) the pack is NOT multiplayer only
3) configs PROBABLY (block, item, biome IDs, etc.) need to match your multiplayer server
4) location for your config folder(s) WILL vary depending on how you install or launch minecraft modpacks
5) MultiMC version 5.x (for windows) was used for developing this pack. It's an open-source and multi-platforn launcher.
@kuzetsa
kuzetsa / gist:8074134
Last active January 1, 2016 01:39
See first comment for usage info.
#!/bin/bash
# kuzetsa's cross-compiler emerge (xmerge) wrapper
ARCH=x86
CHOST="i686-pc-mingw32"
PORTAGE_TMPDIR="$(portageq envvar PORTAGE_TMPDIR)/${CHOST}"
mkdir -p ${PORTAGE_TMPDIR}/portage/
SYSROOT="/usr/${CHOST}/"
PORTAGE_CONFIGROOT="${SYSROOT}"
ROOT="/balloon/crossdev/BUILD"
CBUILD=$(portageq envvar CHOST)
@kuzetsa
kuzetsa / gist:8199827
Created December 31, 2013 17:20
Testing localDB branch, but don't have any seed data.
2013-12-31 12:17:56 (DEBUG): Fetched 1001 new trades, from 2013-12-31 17:11:59 (UTC) to 2013-12-31 17:17:55 (UTC)
2013-12-31 12:17:56 (INFO): No history found, starting to build one now
2013-12-31 12:17:56 (INFO): Expected to start giving advice in 15 days (2014-01-15 07:12:56 UTC)
2013-12-31 12:17:56 (DEBUG): Creating a new daily database for day 2013-12-31
@kuzetsa
kuzetsa / gist:8199984
Created December 31, 2013 17:32
initial testing with imported database(s) shows partial corruption and attempted to clean it up
2013-12-31 12:29:04 (INFO): I'm gonna make you rich, Bud Fox.
2013-12-31 12:29:05 (INFO): Starting to watch the market: CEX.io BTC/GHS
2013-12-31 12:29:05 (DEBUG): Requested trade data from CEX.io ...
2013-12-31 12:29:05 (INFO): Seting up a new price actor:
2013-12-31 12:29:05 (INFO): Trade advisor
2013-12-31 12:29:05 (INFO): Calculate trading advice based on the Exponential Moving Average Crossovers
@kuzetsa
kuzetsa / gist:8230035
Created January 3, 2014 00:21
proper crash at midnight and corrupted database data files
2014-01-02 18:52:54 (INFO): Processed trades, sleeping for a minute ...
2014-01-02 18:53:54 (DEBUG): Requested trade data from CEX.io ...
2014-01-02 18:53:55 (DEBUG): Fetched 1001 new trades, from 2014-01-02 23:32:0
5 (UTC) to 2014-01-02 23:53:55 (UTC)
2014-01-02 18:53:55 (DEBUG): minimum trade treshold: 2014-01-02 23:52:06 UTC
2014-01-02 18:53:55 (DEBUG): processing 44 trade(s)
2014-01-02 18:53:55 (DEBUG): inserting candle 1432 (2014-01-02 23:52:00 UTC)
volume: 0.48313090999999997
2014-01-02 18:53:55 (DEBUG): Leftovers: 1433
2014-01-02 18:53:55 (INFO): Processed trades, sleeping for a minute ...
@kuzetsa
kuzetsa / gist:8238998
Created January 3, 2014 14:46
is the incomplete file related to the detected database corruption?
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Sarah White>cd \gekko
C:\gekko>cd history
C:\gekko\history>dir
Volume in drive C is OS
Volume Serial Number is CCDA-8865
@kuzetsa
kuzetsa / gist:8655171
Created January 27, 2014 18:58
fatal error relating to GIT_DISCOVERY_ACROSS_FILESYSTEM or something
* Package: net-p2p/bitcoind-0.8.6
* Repository: gentoo
* Maintainer: blueness@gentoo.org luke-jr+gentoobugs@utopios.org,proxy-maint@gentoo.org
* USE: abi_x86_32 elibc_glibc ipv6 kernel_linux userland_GNU x86
* FEATURES: preserve-libs sandbox userpriv usersandbox
>>> cfg-update-1.8.2-r1: Creating checksum index...
>>> Unpacking source...
>>> Unpacking bitcoin-v0.8.6.tgz to /var/tmp/portage/net-p2p/bitcoind-0.8.6/work
>>> Source unpacked in /var/tmp/portage/net-p2p/bitcoind-0.8.6/work
>>> Preparing source in /var/tmp/portage/net-p2p/bitcoind-0.8.6/work/bitcoin-0.8.6 ...
@kuzetsa
kuzetsa / gist:9135845
Created February 21, 2014 15:07
resuming work on cex.io support fo gekko bot (as of aprox 10 AM local NY time, 2014 Feb 21)
[09:57:02] * Now talking in #gekkobot
[09:57:02] * Topic is 'General chat about Gekko, an open source bitcoin trading bot - https://github.com/askmike/gekko - currently discussing the upcoming 0.1.0 release at https://github.com/askmike/gekko/issues/114'
[09:57:02] * Set by morgan.freenode.net on Mon Feb 03 08:09:56
[09:57:02] <kuzetsa> I know askmike isn't here right this minute, but if anyone follows the github code lately (I stopped all work on gekko until I had time to look at the state of things post-LocalDB merge) ... uh...
[09:57:11] <kuzetsa> https://github.com/askmike/gekko/commit/69e2b17bf3a551ce984725317b2120f4746b9818#commitcomment-5450943 <-- I put in a request for comments
[09:57:34] <kuzetsa> https://github.com/askmike/gekko/issues/212 <-- specifically, that
[09:57:59] <kuzetsa> I'll be re-implementing full support for "buy and hold" on cex.io, among other things.
[09:59:12] <kuzetsa> like a re-calculation of the profitability thresholds to attempt to estimate potential ganis from holding GHS a
on 1:JOIN:#irpg: {
if (($nick != $me) && ($nick != "irpg_bot")) {
halt
}
else {
echo -st checking to see if logged in
timersdfirpg off
timersdfirpg 1 90 msg irpg_bot whoami
}
}
@kuzetsa
kuzetsa / gist:9695601
Created March 21, 2014 20:24
quantum thruster
PART
{
name = QuantumThruster
module = Part
author = kuzetsa
mesh = model.mu
scale = 1
rescaleFactor = 1