Skip to content

Instantly share code, notes, and snippets.

View cryptoeraser's full-sized avatar

Crypto Eraser cryptoeraser

View GitHub Profile
@cryptoeraser
cryptoeraser / coinigyMarketFilterV1.js
Created January 2, 2019 15:49
coinigyMarketFilterV1
// 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
cryptoeraser / filter_tickerV2.js
Last active December 29, 2018 16:18
Improved and more advanced version of the initial filter_ticker. Credit goes to @m59.
/*
https://vcdepth.io 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 ]) => a.map((v, 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 ]))
/*
https://vcdepth.io 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) {
link.sh: OK, linking works, let's try omitting a few libraries.
link.sh: See auto/link.log for details.
link.sh: Trying to omit the iconv library...
link.sh: Vim DOES need the iconv library.
link.sh: Trying to omit the perl library...
link.sh: 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
link.sh: 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/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.Internal.sdk/usr/local/libressl/lib -L/BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.Internal.sdk/usr/local/lib -L. -L /BuildRoot/Applications/Xcode.app/Contents/Developer/Platfor