I hereby claim:
- I am gabetax on github.
- I am gabetax (https://keybase.io/gabetax) on keybase.
- I have a public key whose fingerprint is 1EFD 47AF EC3D 547B A20D 9E55 BF32 3A32 8D07 3EFA
To claim this, I am signing this object:
<html> | |
<body> | |
<h1>Our Navigation</h1> | |
<p>I'm writing an example xhtml document to get converted into markdown!</p> | |
<h2>Examples</h2> | |
<h3>Text formatting</h3> | |
<p>Sometimes with longer <em>paragraphs</em><br/>we just want a new line <strong>immediately</strong>.</p> | |
<div>Divs are block elements too, and people don't always put their text in p tags.</div> | |
class String | |
# 'hello' ^ ' ' => 'HELLO' | |
def ^ s2 | |
to_byte_array.zip(s2.to_byte_array).map { |s| s[0] ^ s[1] if s[1] }.reject(&:nil?).pack('C*') | |
end | |
# '68656c6c6f20776f726c64' => 'hello world' | |
def hex_string_to_binary_string | |
[self].pack 'H*' | |
end |
" lowers | |
noremap n j | |
noremap e k | |
noremap i l | |
noremap j e | |
noremap l u | |
noremap u i | |
noremap k n |
#!/bin/sh | |
# MIS Firewall Script v1.0 | |
# | |
# Author: gabe@mudbuginfo.com | |
# Based on O'reilly Linux Server Hacks, #45 | |
# | |
# Documentation forthcoming | |
# This script must be run after a boot, as iptables does not save its state | |
# | |
#< I. Configuration Options >################################################### |
// data from https://www.reddit.com/r/MapPorn/comments/eq52ce/every_states_least_favorite_state_according_to_my/ | |
digraph G { | |
"Alabama" -> "Florida" | |
"Alaska" -> "Texas" | |
"Arizona" -> "California" | |
"Arkansas" -> "Alabama" | |
"California" -> "Texas" | |
"Colorado" -> "California" | |
"Connecticut" -> "New Jersey" |
I hereby claim:
To claim this, I am signing this object:
sudo: false | |
env: | |
global: | |
- CONSUL_VERSION=0.5.0 | |
- CONSUL_DC=dev1 | |
- CONSUL_DIR=$HOME/consul_$CONSUL_VERSION | |
before_script: | |
- 'if [[ ! -f $CONSUL_DIR/consul ]]; then (mkdir -p $CONSUL_DIR && cd $CONSUL_DIR && wget https://dl.bintray.com/mitchellh/consul/${CONSUL_VERSION}_linux_amd64.zip && unzip ${CONSUL_VERSION}_linux_amd64.zip); fi' | |
- $CONSUL_DIR/consul --version | |
- $CONSUL_DIR/consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul -dc=$CONSUL_DC & |
-----BEGIN GEEK CODE BLOCK----- | |
Version: 3.1 | |
GCS/S/M d--(!) s:>:+++ a--- C++++>$ UBL++++ P+>++ L++++ E--- W++ N+ o? | |
K++ w@ !O M !V PS+++ PE@ Y(+) PGP(+)>+++ t+@ 5 X++ R>+ tv++>! b DI+ D++ | |
G+ e>++ h- r*>+ y?>$ | |
------END GEEK CODE BLOCK------ |
resque:workers
=> SET of "host:pid:raw,queue,list" stringsresque:worker:host:pid:raw,queue,list
=> STRING JSON of job payload for a running worker. Set by #working_on
.resque:worker:host:pid:raw,queue,list:started
=> STRING timestamp when worker booted. Static.resque:stat:failed:host:pid:raw,queue,list
=> STRING count of failed jobsresque:stat:processed:host:pid:raw,queue,list
=> STRING count of successful? jobsActiveSupport::Callbacks::Callback | |
class ActiveSupport::Callbacks::Callback | |
def start(key=nil, object=nil) | |
return if key && !object.send("_one_time_conditions_valid_#{@callback_id}?") | |
# options[0] is the compiled form of supplied conditions | |
# options[1] is the "end" for the conditional | |
# | |
case @kind | |
when :before |