Skip to content

Instantly share code, notes, and snippets.

View treper's full-sized avatar

Maybe treper

  • Shanghai
View GitHub Profile
@treper
treper / OrderFlow.ipynb
Created June 4, 2024 15:50 — forked from sebjai/OrderFlow.ipynb
Optimal trading with order-flow and short-term alpha
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@treper
treper / demo_purgedkfoldcv.ipynb
Created January 14, 2024 08:49 — forked from berendgort/demo_purgedkfoldcv.ipynb
Demo_PurgedKFoldCV.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
git config --global https.proxy http://127.0.0.1:1081
git config --global https.proxy https://127.0.0.1:1081
git config --global http.proxy socks5://127.0.0.1:1081
git config --global https.proxy socks5://127.0.0.1:1081
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy
@treper
treper / spark-defaults.conf
Created January 15, 2016 12:30 — forked from deenar/spark-defaults.conf
CDH 5.4 and Spark 1.5.1
sysJupiterDev@gbrdcr00015n02: /bigdata/projects/MERCURY
$ ls spark-1.5.1-bin-hadoop2.6/conf/yarn-conf/
core-site.xml hadoop-env.sh hdfs-site.xml hive-site.xml mapred-site.xml ssl-client.xml topology.map topology.py yarn-site.xml
@treper
treper / clearRAM.sh
Created November 18, 2015 05:48 — forked from pklaus/clearRAM.sh
A Script to Clear Cached RAM on Linux
#!/bin/bash
## Bash Script to clear cached memory on (Ubuntu/Debian) Linux
## By Philipp Klaus
## see <http://blog.philippklaus.de/2011/02/clear-cached-memory-on-ubuntu/>
if [ "$(whoami)" != "root" ]
then
echo "You have to run this script as Superuser!"
exit 1
fi

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after