puppet apply -e 'notify { "$::osfamily/$::operatingsystem": }'
Notice: Compiled catalog for bdb33588915b.localdomain in environment production in 0.01 seconds
Notice: Debian/Ubuntu
Notice: /Stage[main]/Main/Notify[Debian/Ubuntu]/message: defined 'message' as 'Debian/Ubuntu'
Notice: Finished catalog run in 0.01 seconds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address | |
171uM27V9Fff4if8xvDeTVUqEVVgo15ZeB | |
https://explorer.blockstack.org/address/171uM27V9Fff4if8xvDeTVUqEVVgo15ZeB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
# | |
# join | |
# Joining pages from a collection of PDF files into a single PDF file. | |
# | |
# join [--pickpage <pagenum>] [--output <file>] [--shuffle] [--verbose]" | |
# | |
# Parameter: | |
# | |
# --pickpage <pagenum> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# vim:set fileencoding=utf-8 sw=2 ai: | |
import sqlite3 | |
import datetime | |
import re | |
SQL = ''' | |
select | |
name, version, time, author, text |
A running example of the code from:
http://marcio.io/2015/07/handling-1-million-requests-per-minute-with-golang http://nesv.github.io/golang/2014/02/25/worker-queues-in-go.html
I made a few adjustments to the code:
Use non-exported private methods Remove global variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
##### | |
# Builds a custom nginx | |
# | |
# RELEASE_TAGS="+your+tags+here" | |
# RELEASE_MAINTAINER="Your Name Here" | |
# RELEASE_MAINTAINER_EMAIL="hi@example.com" | |
# RELEASE_MESSAGE="Some message" | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Custom tmux commands for remote servers | |
# | |
# Copy this to ~/.tmux.conf to enable | |
# | |
# Make splitting and resizing panes, and moving around emulate the vim | |
# directional keys | |
bind | split-window -h | |
bind _ split-window -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import gearman | |
from PIL import Image | |
MINI_SIZE = (50, 50) | |
THUMB_SIZE = (150, 150) | |
MOBILE_SIZE = (600, 600) | |
FULL_SIZE = (1024, 1024) | |
I hereby claim:
- I am roderickm on github.
- I am roderickm (https://keybase.io/roderickm) on keybase.
- I have a public key ASA-v3Y_Otm_22jDZIQdvNO4xw64DVdkP2qR2fgTApwFVQo
To claim this, I am signing this object:
- Plain Strings (207):
foo
- Anchors (208):
k$
- Ranges (202):
[a-f]{4}
- Backrefs (201):
(...).*\1
- Abba (193):
^(?!.*(.)(.)\2\1)
- A man, a plan (176):
^(.)(.).*\2\1$
- Prime (286):
^(?!(..+)\1+$)
- Four (199):
(.)(.\1){3}
- Order (198):
^[^o].....?$
- Triples (589):
^[378][12479]|00($|[369]|1[25])|55|2[347]
NewerOlder