I hereby claim:
- I am lenada on github.
- I am lenada (https://keybase.io/lenada) on keybase.
- I have a public key ASBIaUtVN87EczGI78X6xCRpnrZ0aym2177JE0W3CNvRywo
To claim this, I am signing this object:
# basic pfctl control | |
# == | |
# Related: http://www.OpenBSD.org | |
# Last update: Tue Dec 28, 2004 | |
# == | |
# Note: | |
# this document is only provided as a basic overview | |
# for some common pfctl commands and is by no means | |
# a replacement for the pfctl and pf manual pages. |
<script type="application/ld+json"> | |
{ | |
"@context" : "http://schema.org", | |
"@type" : "Event", | |
"name" : "Typhoon with Radiation City", | |
"startDate" : "2013-09-14T21:30", | |
"location" : { | |
"@type" : "Place", | |
"sameAs" : "http://www.hi-dive.com", | |
"name" : "The Hi-Dive", |
curl -XPOST 'localhost:9200/logstash*/_update_by_query?conflicts=proceed&pretty' -d' | |
{ | |
"script": { | |
"inline": "if(ctx._source.host instanceof String) {ctx._source.host = ctx._source.host.replace( \".domain.com\", \"\" )} else if (ctx._source.host instanceof ArrayList) { ctx._source.host = ctx._source.host[0] }" | |
}, | |
"query": { | |
"match": { | |
"host": { | |
"query": "*.domain.com", | |
"type": "phrase" |
I hereby claim:
To claim this, I am signing this object:
class Znapzend < Formula | |
homepage "http://www.znapzend.org/" | |
url "https://github.com/oetiker/znapzend/releases/download/v0.14.0/znapzend-prebuilt-0.14.0.tar.gz" | |
version "0.14.0" | |
sha1 "a83ff783f2e01a663f3487eb91ace4a80807e279" | |
def install | |
bin.install Dir['bin/*'] | |
lib.install Dir['lib/*'] | |
share.install Dir['share/*'] |
#!/bin/bash | |
echo "Generating an SSL private key to sign your certificate..." | |
openssl genrsa -des3 -out myssl.key 1024 | |
echo "Generating a Certificate Signing Request..." | |
openssl req -new -key myssl.key -out myssl.csr | |
echo "Removing passphrase from key (for nginx)..." | |
cp myssl.key myssl.key.org | |
openssl rsa -in myssl.key.org -out myssl.key |
# A hackish inline Guardfile for php-tricorder | |
# More info at https://github.com/guard/guard#readme | |
# https://github.com/chartjes/php-tricorder/#readme | |
# watching certain files in a directory, the tricorder 'fires' on change | |
# running php-tricorder continously is probably not that useful | |
# still using this file as a Guardfile `guard -G ThisGuardfile` | |
# is a shortcut to easily run tricorder and get hints for testing approaches instantly |
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d |
see http://doc.freenas.org/index.php/Plugins get pluginjail running
create a folder / zfs filesystem on a device with sufficient storage space.
mount_nullfs
created directory to /plugin-jail-path/usr/ports
portsnap fetch
portsnap extract
# A sample Guardfile | |
# More info at https://github.com/guard/guard#readme | |
require 'guard/guard' | |
module ::Guard | |
class Phpcs < Guard | |
def run_on_change(paths) | |
puts phpcs_command(paths) |