Skip to content

Instantly share code, notes, and snippets.

Crypto Eraser cryptoeraser

View GitHub Profile
View coinigyMarketFilterV1.js
// Get the parent DOM
x = document.getElementById('marketWatch');
xChildrenLength = x.children.length; // 187
// Structure:
// 0,2,4,6...186 are all even elements and we are not interested in these (these are the folded charts).
// 1,3,6,7...185 are all the odd elements and we nee these (these are the actual rows).
// id="watch_BTRX_ARK_BTC" (n) - even
// id="xchart_BTRX_ARK_BTC" (n+1) - next odd
cryptoeraser / filter_tickerV2.js
Last active Dec 29, 2018
Improved and more advanced version of the initial filter_ticker. Credit goes to @m59.
View filter_tickerV2.js
/* DOM Filtering Script
Author: @m59
Community: Bitcoin Trading Challenge
Notes: Improved and optimised version by @m59.
const pairs = ['EOS', 'XMR', 'ZEC']
const zip = ([ a, b ]) =>, index) => [ v, b[index] ])
Array.prototype.flat = function () { return this.reduce((acc, v) => acc.concat(v), []) }
zip([ ...document.querySelectorAll('.dataTable tbody') ].map(node => [ ...node.children ]))
View filter_tickers.js
/* DOM Filtering Script
Author: @cryptoeraser
Community: Bitcoin Trading Challenge
var x = document.getElementsByClassName("table dataTable");
tableOne_tbody = x[0].childNodes[2]
tableTwo_tbody = x[1].childNodes[2]
var select = ['EOS', 'XMR', 'ZEC']
for (let index = 0; index < tableOne_tbody.rows.length; ++index) {
View homebrew.log OK, linking works, let's try omitting a few libraries. See auto/link.log for details. Trying to omit the iconv library... Vim DOES need the iconv library. Trying to omit the perl library... Vim doesn't need the perl library!
creating auto/pathdef.c
clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe -DMACOS_X -DMACOS_X_DARWIN -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/pathdef.o auto/pathdef.c Using auto/link.sed file to omit a few libraries
env LD_RUN_PATH=/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE clang -L. -L /BuildRoot/Applications/ -L/BuildRoot/Applications/ -L. -L /BuildRoot/Applications/
You can’t perform that action at this time.