Skip to content

Instantly share code, notes, and snippets.

[Tue Jul 7 13:11:19 2015] [debug] Mojo::IOLoop {
Parents Mojo::Base
public methods (23) : accept_interval, acceptor, client, DEBUG, delay, is_running, lock, max_accepts, max_connections, multi_accept, next_tick, one_tick, reactor, recurring, remove, reset, server, singleton, start, stop, stream, timer, unlock
private methods (9) : _accepting, _id, _instance, _not_accepting, _recurring, _remove, _stop, _stream, _timer
internals: {
accept "78955751431ea7415817779bd8d3b056",
accept_interval 0.025,
acceptors {
d05fdcc7c32d7c73e0d7cbbc717a708d Mojo::IOLoop::Server
},
#!/usr/bin/env perl
use Toadfarm -init;
mount './users/script/users' => {
mount_point => "/users",
};
mount './communication/script/communication' => {
mount_point => "/communication",
on a specific date
at a specific time
every n months, weeks, days
every n hours, minutes
every nth month, week, day
every nth hour, minute
every nth month of year
@Su-Shee
Su-Shee / gist:450ccbf2f665094aae50
Last active August 29, 2015 14:23
quick & dirty vim syntax highlighting for "bad writing style" in german
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
syn case match
" indication for missing a proper subject or object 'who is doing what?'
syn keyword authorAnonym man
@Su-Shee
Su-Shee / gist:6f17bb5b38c28c101575
Created May 23, 2015 13:39
Königsberger Klopse (Meatballs)
Königsberger Klopse
* 600gr minced meat, pork/beef, rolled as little balls
* half a handful of capers
* 1/2 - 1 lemon (juice)
* anchovis paste or in salt
* heavy cream (1 cup)
* fond or broth (beef,chicken) (1 cup)
gently light brown the meat balls in butter. add some ground nutmeg and pepper on them - but NO SALT!
  1. General Background and Overview
@Su-Shee
Su-Shee / gist:daf445034122d501dbec
Created March 24, 2015 17:20
unclutter vim files
set undofile
set backupdir=~/.vim/backups// " Where backups will go.
set undodir=~/.vim/undos// " Where undofiles will go.
set directory=~/.vim/tmp// " Where temporary files will go.
@Su-Shee
Su-Shee / gist:5d1a417fa9de19c15477
Last active April 12, 2024 11:27
Falsehoods Programmers Believe About "Women In Tech"

Falsehoods Programmers Believe About "Women In Tech"

  • We have absolutely no idea what we're doing in tech. Please explain the utmost basic things to us.

  • We only do web design. Our whole reason of being in tech is to make things pretty. Consider us the doilies of the industry.

  • We're not laughing about your joke, so we clearly need you explain it to us. In great detail.

  • We're only in tech to find a husband, boyfriend or generally to get laid.

#!/bin/bash
# installs plenv, perl, carton, cpanminus, sets up environment in .bash_profile
# from https://github.com/tokuhirom/plenv#readme
PLENV_PERL_VERSION='5.20.2'
if [[ -n "$PERL_MB_OPT" ]]; then
echo "You must unset your local::lib environment variables first"
exit 1
@Su-Shee
Su-Shee / gist:1f89736363ddecb585ce
Created February 9, 2015 19:14
Freestyle "Borschtsch" (somewhere between polish/russian/pomeranian ;)
with meat:
slices of cheap beef with bones AND marrow, don't cut it!
base:
* carrots, celery, parsley, bay leave, onions, lots of garlic in butter/lard
* slowly cook for an hour or so, keep broth, meat, marrow (!)
cut: