Skip to content

Instantly share code, notes, and snippets.

@pcflmb
pcflmb / dinners.md
Last active August 29, 2015 14:00
Dinner Choices

#Home Cooked Dinners

###Pastas

  1. Spaghetti
  2. Pasta Bolognese
  3. Pesto Pasta
  4. Ravioli / Tortellini / Stuffed Shells
  5. Kugel
  6. Pierrogies
  7. Tortellini Salad (Broccoli & dressing)
@pallas
pallas / intrusive_tree.hh
Last active October 29, 2022 18:26
C++ intrusive red-black tree
// All rights reserved,
// Derrick Pallas
// License: zlib
#ifndef INTRUSIVE_TREE_H
#define INTRUSIVE_TREE_H
#include <cassert>
#include <cstddef>
#include <algorithm>
@jlecour
jlecour / post_to_slack.rb
Last active May 22, 2022 17:43
How to post alerts from Monit to Slack
# encoding: UTF-8
require 'optparse'
require 'net/http'
require 'json'
def parse_options(argv)
opts = {}
@parser = OptionParser.new do |o|
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active June 16, 2024 19:37
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname