Skip to content

Instantly share code, notes, and snippets.

View pono's full-sized avatar

Daniel Pono Takamori pono

View GitHub Profile
@pono
pono / gist:4350182
Last active December 10, 2015 00:19 — forked from gumayunov/gist:2158147
Pair programming with screen with .screenrc and suid permissions.

User john (on host):

john $ cat > ~/.screenrc <<EOF
    multiuser on
    acladd mike
    EOF

john $ sudo chmod u+s /usr/bin/screen 
john $ sudo chmod 755 /var/run/screen
@pono
pono / gist:6380892
Created August 29, 2013 17:20
OSL Student Library Potentials
Vagrant - http://shop.oreilly.com/product/0636920026358.do
Mastering nginx - http://shop.oreilly.com/product/9781849517447.do
Microsoft Sharepoint 2013 - http://shop.oreilly.com/product/0790145368348.do
Learning Python - http://shop.oreilly.com/product/0636920028154.do
Metasploit Startguide - http://shop.oreilly.com/product/9781849694483.do
Accessibility Handbook - http://shop.oreilly.com/product/0636920024514.do
Liars and Outliers - http://shop.oreilly.com/product/9781118143308.do
Cryptography Engineering - http://shop.oreilly.com/product/9780470474242.do
Good Math - http://shop.oreilly.com/product/9781937785338.do
@pono
pono / .bashrc
Created July 31, 2014 16:24
.bashrc for blog post
box="${HOSTNAME#*.}"
D=$'\[\e[0m\]'
case "$box" in
aqua) COLOR=$'\e[1;34m\]'
;;
cyan) COLOR=$'\e[1;36m\]'
;;
diamond) COLOR=$'\e[0;37m\]'
@pono
pono / gist:548a90c4a30542d3a7b7
Created April 14, 2015 03:53
Almost No Knead Bread
ALMOST NO-KNEAD BREAD
Published January 1, 2008. From Cook's Illustrated.
WHY THIS RECIPE WORKS:
For a no-knead bread recipe that would produce a loaf with a consistent shape, we strengthened the dough by lowering the hydration and giving it the bare minimum of kneading time (15 seconds). To give the bread more flavor than the standard no-knead recipe, we added acidic tang with vinegar, and a shot of yeasty flavor with mild-flavored lager. When we started the baking process in an covered pot, the lid trapped released steam, creating a springy loaf. By finishing the baking with the loaf uncovered, we created a beautifully browned crust.
MAKES 1 LARGE ROUND LOAF
Use a mild-flavored lager, such as Budweiser (mild nonalcoholic lager also works). In step 3, start the 30-minute timer as soon as you put the bread in the cold oven. Do not wait until the oven has preheated to start your timer or the bread will burn. The bread is best eaten the day it is baked, but it can be wrapped in aluminum foil and stored in a
1 medium onion, diced (hella)
½ cup minced ginger
2 to 3 pounds winter squash (butternut or acorn), peeled, cubed
1 quart tomato juice
1 can (20 ounces) diced tomatoes
@pono
pono / README.md
Last active September 16, 2015 20:52 — forked from pop/README.md
A *very* simple flask app script for DevOps DayCamp 2015

Python Flask App

Thiiiis far above hello world.

Installation/Usage

$ sudo apt install git 
$ git clone $THISURL 

Keybase proof

I hereby claim:

@pono
pono / kitchen.yml
Created February 10, 2016 01:35
using kitchen-sync sftp for transport
driver:
name: vagrant
customize:
ioapic: 'on' # this should be on if you want multiple cores
cpus: '2'
memory: '2048'
transport:
name: sftp
@pono
pono / Dockerfile
Last active March 4, 2016 00:02 — forked from borcean/Dockerfile
Lots of containers for DOBC
FROM centos:latest
MAINTAINER jeffrey@borcean.xyz
RUN yum upgrade -y
RUN yum install -y \
man \
openssh-server \
screen \
vim \
Dear Carlos Santana,
This is the real Pono.
From,
-Pono