Skip to content

Instantly share code, notes, and snippets.

View RangerRick's full-sized avatar

Benjamin Reed RangerRick

View GitHub Profile
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew
HEAD: bf9f480dd879daf4269dbb3ebb4c6c53cf7245af
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.9-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1382131676
Clang: 5.0 build 500
@RangerRick
RangerRick / keybase.md
Created May 26, 2014 15:22
keybase.md

Keybase proof

I hereby claim:

  • I am rangerrick on github.
  • I am rangerrick (https://keybase.io/rangerrick) on keybase.
  • I have a public key whose fingerprint is 6401 D02A A35F 55E9 D7DD 71C5 52EF A366 D3F6 65FE

To claim this, I am signing this object:

@RangerRick
RangerRick / gist:475493dff4a5c89824b0
Last active August 29, 2015 14:08
Come Follow Me...

Rules: Read the whole thing
While listening to the music from http://www.infinitelooper.com/?v=JNJJ-QkZ8cM&p=n
On repeat
If you don't get scared, you have no emotions.

Come Follow Me...

During the first few days of the release of Pokemon Red and Green in Japan, back in February 27, 1996, a peak of deaths appeared in the age group of 10-15.

Sin:~/git/CruiseMonkey ranger$ curl --silent --insecure -L -o - https://jccc5.rylath.net/api/v2/stream
{"stream_posts":[{"id":"54b1ab35dd8fc4fa74000067","author":"pneumatic","display_name":"pneumatic","text":"Most of the reviews I've read recently talk about a long, steep set of stairs from the parking lot to the visitor's center.","timestamp":"2015-01-10T22:44:05.919Z","likes":null,"mentions":[],"entities":[],"hash_tags":[],"parent_chain":[]},{"id":"54b1a6dbdd8fc444d1000066","author":"glenraphael","display_name":"glenraphael","text":"And just as I was trying to post \u0026quot;hey, this all seems to work fine on an iPhone6!\u0026quot; the app hung and I had to reload. Let's see if it takes this update now...","timestamp":"2015-01-10T22:25:31.109Z","likes":null,"mentions":[],"entities":[],"hash_tags":[],"parent_chain":[]},{"id":"54b1a5b4dd8fc4d42d000065","author":"glenraphael","display_name":"glenraphael","text":"The Glen Raphael concert is tentatively scheduled for Thursday 5-6pm in Labyrinth. Since this is
<ion-content scroll="true" padding="false">
<ion-refresher pulling-text="Pull to refresh..." on-refresh="doRefresh()"></ion-refresher>
<ion-list>
<a ng-repeat="entry in entries" class="item item-avatar item-text-wrap" href="#">
<img ng-src="{{twitarrRoot}}api/v2/user/photo/{{entry.author}}" />
<h2 ng-bind-html="users[entry.author]? users[entry.author].display_name : entry.author"></h2>
<p ng-bind-html="entry.text"></p>
</a>
</ion-list>
<ion-infinite-scroll on-infinite="loadMore()" ng-if="entries.length < 500 &amp;&amp; nextPage !== 0" distance="5%"></ion-infinite-scroll>
@RangerRick
RangerRick / gist:1b860ab27daee708697a
Created January 15, 2015 21:49
angular autocomplete
<div class="tags-wrapper">
<div id="tagsList" class="tags-cloud">
<span ng-repeat="selectedUser in selectedUsers" class="tag" style="padding: 4px 6px; display: inline">
<div class="navy" style="display:inline">{{selectedUser}} <i class="icon ion-close-circled" ng-click="removeTag($index)"></i></div>
</span>
<input type="text" placeholder="User(s)" id="searchInput" ng-keydown="checkKeyDown($event)" class="form-control" ng-model="searchText" ng-change="search()"/>
</div>
<div id="suggestions" class="suggestions-list">
<a ng-repeat="suggestion in suggestions" class="blockSpan" ng-mouseover="$parent.selectedIndex=$index" ng-class="{active : selectedIndex===$index}" ng-click="addToSelectedUsers($index)">{{suggestion}}</a>
</div>
@RangerRick
RangerRick / gist:7546b11c3b467883bcc7
Created November 3, 2015 14:17
.rpmmacros for building RHEL5-compatible RPMs on RHEL6 and up
%_source_filedigest_algorithm 0
%_binary_filedigest_algorithm 0
%_source_payload w0.bzdio
%_binary_payload w0.bzdio
%__gpg_sign_cmd %{__gpg} gpg --batch --no-verbose --force-v3-sigs --no-armor --passphrase-fd 3 --no-secmem-warning -u "%{_gpg_name}" -sbo %{__signature_filename} %{__plaintext_filename}
{
"presets": [
["@babel/preset-env", {
"targets": {
"node": "current",
"browsers": [ "last 2 versions", "safari >= 7", "> 5%" ]
},
"modules": "umd",
"useBuiltIns": "usage",
"corejs": 2
@RangerRick
RangerRick / git-gone
Last active June 6, 2024 16:59
`git gone`
#!/bin/bash
usage() {
cat <<EOF
usage: git gone [-pldD] [<branch>=origin]
OPTIONS
-p prune remote branch
-n dry run: list the gone branches
-d delete the gone branches
-D delete the gone branches forcefully
@RangerRick
RangerRick / detroit-pizza.md
Last active August 5, 2021 18:10
Ranger Rick's Detroit Style Pizza (Jet's Clone)

About This Recipe

Detroit style is a lot like a Sicilian, with a foccacia-like chewy dough and extremely crispy crust which fries in the liberal amount of oil put in the pan for baking.

This recipe is made for this Detroit-style 10x14 pan from LloydPan but should scale easily to other sizes if you adjust the water and flour. The important thing is that the pan needs to be totally flat, so that the crust fries evenly.

Ingredients