Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View arunoda's full-sized avatar
👨‍🍳
Cooking something new

Arunoda Susiripala arunoda

👨‍🍳
Cooking something new
View GitHub Profile
@rauchg
rauchg / README.md
Last active January 6, 2024 07:19
require-from-twitter
@getnamo
getnamo / Examples.cpp
Last active June 9, 2023 04:52
Long Running Async Lambdas, lock-free (UE4)
//Convenience Wrapper functions
//Using TaskGraph
FGraphEventRef RunLambdaOnGameThread(TFunction< void()> InFunction)
{
return FFunctionGraphTask::CreateAndDispatchWhenReady(InFunction, TStatId(), nullptr, ENamedThreads::GameThread);
}
FGraphEventRef RunLambdaOnAnyThread(TFunction< void()> InFunction)
{
@widged
widged / notes.md
Last active September 12, 2017 19:17
GraphQL links. Articles to read and code to check.
@RazZziel
RazZziel / analyze.sh
Created March 5, 2015 00:08
Setup and run ddp-analyzer-proxy + meteor
#!/bin/bash
# https://meteorhacks.com/introduction-to-ddp.html
# https://meteorhacks.com/discover-meteor-ddp-in-realtime.html
if which ddp-analyzer-proxy 2>/dev/null; then
echo "ddp-analyzer-proxy found in $(which ddp-analyzer-proxy)"
elif [ -f $(npm root)/.bin/ddp-analyzer-proxy ]; then
echo "ddp-analyzer-proxy found in $(npm root)/.bin/ddp-analyzer-proxy"
export PATH="$(npm root)/.bin/:$PATH"
@fightingtheboss
fightingtheboss / nginx.conf
Created June 23, 2013 01:13
Nginx configuration file for private VPN deployment of a Meteor app with HAProxy handling load balancing
upstream haproxy {
server 127.0.0.1:9000;
}
upstream stats {
server 127.0.0.1:9999;
}
server {
listen 80; ## listen for ipv4; this line is default and implied
@tsi
tsi / microTplEngine.js
Last active September 29, 2018 07:37
My micro jQuery templating engine
(function($) {
// My micro jQuery templating engine
// Include this script before your closing </body> tag.
// Usage:
//
// <section data-html="content"></section>
//
// This will load <html/content.html> into <section>
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active April 23, 2024 15:29
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname