I hereby claim:
- I am akatz on github.
- I am akatz (https://keybase.io/akatz) on keybase.
- I have a public key whose fingerprint is 38EC 9A73 2ADC 22B1 888D 3C8E DA08 F4AE 8CA1 68DB
To claim this, I am signing this object:
| #!/bin/bash | |
| interfaces=( $(netstat -in | egrep 'utun\d .*\d+\.\d+\.\d+\.\d+' | cut -d ' ' -f 1) ) | |
| rulefile="rules.tmp" | |
| echo "" > $rulefile | |
| sudo pfctl -a com.apple/tun -F nat | |
| for i in "${interfaces[@]}" | |
| do | |
| RULE="nat on ${i} proto {tcp, udp, icmp} from 192.168.64.0/24 to any -> ${i}" | |
| echo $RULE >> $rulefile | |
| done |
| declare interface ObjectConstructor { | |
| entries<T>(o: { [s: string]: T } | ArrayLike<T>): [string, T][]; | |
| entries(o: {}): [string, any][]; | |
| } |
| FROM alpine:3.3 | |
| COPY Gemfile /usr |
I hereby claim:
To claim this, I am signing this object:
| NSString * quantityValueWithoutX = [self.quantityLabel.text stringByReplacingOccurrencesOfString:@"x" withString:@""]; |
| <!--/*****************************************************************************/ | |
| /*** Blog 1.0 by Byron Wade */ | |
| /*** www.thorbis.com | [email protected] */ | |
| /*** Follow Me On Twitter At @Thorbis */ | |
| /*** NO modifications of this script can be done without consulting me first! */ | |
| /*******************************************************************************--> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> |
| production: | |
| adapter: mysql2 | |
| encoding: utf8 | |
| database: shopkeepapp_production | |
| pool: 5 | |
| username: user | |
| password: pass | |
| require 'set' | |
| module Dependencies | |
| class Dependencies | |
| def initialize | |
| @graph = Hash.new([]) | |
| end | |
| def add_direct(dependent, dependencies) | |
| @graph[dependent] += dependencies |
| #!/usr/bin/env ruby | |
| require 'net/http' | |
| require 'json' | |
| require "highline/import" | |
| trap("INT") do | |
| system "stty echo" | |
| exit |