Skip to content

Instantly share code, notes, and snippets.

@0xdevalias
0xdevalias / algo-quant-systematic-automated-trading-etc.md
Created August 11, 2025 08:32
Some notes, references, and resources on tools, libraries, frameworks, and concepts for building, testing, and running algo / quant / automated trading systems and strategies.

Algorithmic Trading / Quant Trading / Systematic Trading / Automated Trading / etc

Some notes, references, and resources on tools, libraries, frameworks, and concepts for building, testing, and running algo / quant / automated trading systems and strategies.

Table of Contents

@0xdevalias
0xdevalias / reverse-engineering-webpack-apps.md
Last active March 7, 2026 02:53
Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps
@owenconti
owenconti / 10614453-afca-4647-9eda-c1f09aa26717.sh
Last active March 19, 2022 12:10
Replacing Laravel Mix with Vite
// Vue 2
npm install --save-dev vite vite-plugin-vue2 dotenv @vue/compiler-sfc
// Vue 3
npm install --save-dev vite @vitejs/plugin-vue dotenv @vue/compiler-sfc
@pratikbutani
pratikbutani / country-flag.json
Created October 9, 2020 10:05
A JSON for Country List with Flag Image
[
{
"flag": "https://twemoji.maxcdn.com/2/svg/1f1e6-1f1e8.svg",
"country": "Ascension Island",
"code": "ac"
},
{
"flag": "https://twemoji.maxcdn.com/2/svg/1f1e6-1f1e9.svg",
"country": "Andorra",
"code": "ad"
@isluewell
isluewell / AppName.php
Last active October 15, 2024 19:08
[6.0] Command app:name
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Composer;
use Symfony\Component\Finder\Finder;
use Illuminate\Filesystem\Filesystem;
use Symfony\Component\Console\Input\InputArgument;
@mistic100
mistic100 / vimeo-downloader.js
Created September 15, 2018 09:01
Download video from Vimeo (chopped m4s files)
// 1. Open the browser developper console on the network tab
// 2. Start the video
// 3. In the dev tab, locate the load of the "master.json" file, copy its full URL
// 4. Run: node vimeo-downloader.js "<URL>"
// 5. Combine the m4v and m4a files with mkvmerge
const fs = require('fs');
const url = require('url');
const https = require('https');
@iPAS
iPAS / cayennelpp.js
Last active June 20, 2024 16:24
Cayenne Low-power Payload Decoder (javascript / node.js)
/**
* Cayenne Low-power Payload Library
*
* @author Pasakorn Tiwatthanont
* @email ptiwatthanont@gmail.com
*
* @link https://htmlcheatsheet.com/js/
*/
// console.log('Node.js version: ' + process.version)
format = require('string-format')
@calebporzio
calebporzio / SvgIcon.vue
Created February 19, 2018 19:08
SVG Icon Vue Component
<template>
<div class="inline-block" v-html="require('icon-' + this.icon + '.svg')"></div>
</template>
<style module>
.svg {
fill: currentColor;
height: 1em;
margin-top: -4px;
vertical-align: middle;
@nguyenkims
nguyenkims / log.py
Last active February 13, 2024 07:59
Basic example on how setup a Python logger
import logging
import sys
from logging.handlers import TimedRotatingFileHandler
FORMATTER = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
LOG_FILE = "my_app.log"
def get_console_handler():
console_handler = logging.StreamHandler(sys.stdout)
console_handler.setFormatter(FORMATTER)
@vbalexr
vbalexr / apache-thingsboard.conf
Last active January 24, 2022 09:56
Apache proxy ssl thingsboard
<VirtualHost *:443>
ServerAdmin "EMAIL ADMIN"
DocumentRoot /var/www/html
ServerName "SERVERNAME"
ProxyRequests off
ProxyPreserveHost On
#Redireccion de wss a ws
RewriteEngine on
RewriteCond %{HTTP:Upgrade} websocket [NC]