Skip to content

Instantly share code, notes, and snippets.

@sokol815
sokol815 / code.gs
Last active Apr 15, 2020
QA GSheets API
View code.gs
// Usage
// code and directions from: https://gist.github.com/sokol815/139ebf969d32100428c4cd4161204615
// created by @sokol#6328 on discord.
var SCRIPT_PROP = PropertiesService.getScriptProperties(); // new property service
//function doGet(e){
// return handleResponse(e);
//}
@sokol815
sokol815 / ECS.js
Last active Apr 4, 2020
Entity Component System in javascript
View ECS.js
var App = App || {};
if( !Acc ) {
console.warn('Acc is required for App.ECS to function');
}
App.ECS = function( parent ) {
this.parent = parent;
this.systems = {};
this.components = {};
View makiki99.github.io.prestige3.js
// ==UserScript==
// @name Tower of Prestige 3 automation
// @namespace http://tampermonkey.net/*
// @version 1.0.0
// @description Automates "playing" Tower of Prestige 3
// @author sokol815
// @match https://makiki99.github.io/prestige3/
// @grant none
// ==/UserScript==
@sokol815
sokol815 / alertLogExport.js
Created Jan 10, 2019
Tradingview Script to download Alert log
View alertLogExport.js
(function() {
var rows = $($(".alert-list")[1]).find('tr');
var csv = '';
var headers = $(rows[0]).find('th');
for( var i = 0; i < headers.length; i++ ) {
csv += (i > 0 ? ',' : '' ) + $(headers[i]).text().trim().split(',').join(' ');
}
@sokol815
sokol815 / tampermonkey_export_alert_log.js
Created Nov 1, 2018
A Tampermonkey script to export the TradingView Alert log. Requires the Quickalerts extension (quickalerts.us)
View tampermonkey_export_alert_log.js
// ==UserScript==
// @name QA Alert List Export addon
// @namespace http://tampermonkey.net/*
// @version 1.0.0
// @description Export csv of Alerts that have fired.
// @author sokol815 LTC: LNpicahdGTFpuXNEhTVoUErPb6EEjBdmwg
// @match https://www.tradingview.com/*
// @grant none
// ==/UserScript==
@sokol815
sokol815 / Domain_Notes_Bookmarklet.js
Created Jul 31, 2018
A bookmarklet to let you write notes stored in your localstorage for the domain you're currently on.
View Domain_Notes_Bookmarklet.js
javascript:(function(){
var parentID = 'a3q_parent';
var dID = 'a3q_customNotes';
var buttonID = 'a3q_close_button';
var saveThrottleSpeed = 100;
var lastSave = Date.now();
var waitCallback;
function a3q_Save(force){
force = force || false;
@sokol815
sokol815 / quickalerts.md
Last active Mar 20, 2020
QuickAlerts Extension for Tradingview
View quickalerts.md
You can’t perform that action at this time.