Skip to content

Instantly share code, notes, and snippets.

View Jack-Valentine's full-sized avatar

Jack Valentine Jack-Valentine

  • Jack's Archive
  • Sydney, Australia
View GitHub Profile
@Jack-Valentine
Jack-Valentine / babelInterpreter.sh
Created April 23, 2020 23:56 — forked from cagataycali/babelInterpreter.sh
Start pm2 process with babel-node interpreter
pm2 start app.js --interpreter ./node_modules/.bin/babel-node
-server
-Xms2g
-Xmx4g
-XX:NewSize=512m
-XX:MaxNewSize=512m
-XX:PermSize=512m
-XX:MaxPermSize=512m
-XX:+UseParNewGC
-XX:ParallelGCThreads=4
-XX:MaxTenuringThreshold=1
@Jack-Valentine
Jack-Valentine / gist:6331f4630a13daef9ebde3902cff8ce7
Created December 21, 2016 00:40
JetBrains IDEs default vmoptions
-Xms128m
-Xmx750m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
@Jack-Valentine
Jack-Valentine / RunMorning.py
Last active January 5, 2016 06:16
Send to "Morning Mornig" message in your slack channel.
import time
from slackclient import SlackClient
Token = 'token' #You must input your token key.
Chan = "C0XXXXXX" #You must input your slack channel code.
Text = "Test" #Input your text.
sc = SlackClient(Token)
if sc.rtm_connect():
while True: