Skip to content

Instantly share code, notes, and snippets.

Tom Stoecklein bluestrike2

Block or report user

Report or block bluestrike2

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bluestrike2
bluestrike2 / discoverdev.css
Last active May 12, 2018
discoverdev.io user style
View discoverdev.css
@-moz-document domain("discoverdev.io") {
body {
background-color: #192834;
font-size: calc( 20px + ( ( 20 - 16) * (100vw - 400px) / (1200 - 400)));
}
header>nav,
main>.intro,
.tag-list li,
.post-link>.title,
.post-item .title,
View keybase.md

Keybase proof

I hereby claim:

  • I am bluestrike2 on github.
  • I am bluestrike2 (https://keybase.io/bluestrike2) on keybase.
  • I have a public key ASAKLofeb0h_FMGwuvsbGn-Nj0j4J1fNSAdT6dZ5xsp-wQo

To claim this, I am signing this object:

@bluestrike2
bluestrike2 / android_instructions.md
Created Aug 3, 2016 — forked from patrickhammond/android_instructions.md
Easily setup an Android development environment on a Mac
View android_instructions.md

Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.

Prerequisites (for Homebrew at a minimum, lots of other tools need these too):

  • XCode is installed (via the App Store)
  • XCode command line tools are installed (xcode-select --install will prompt up a dialog)
  • Java

Install Homebrew:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
View git.nanorc
# This code is free software; you can redistribute it and/or modify it under
# the terms of the new BSD License.
#
# Copyright (c) 2010, Sebastian Staudt
# A nano configuration file to enable syntax highlighting of some Git specific
# files with the GNU nano text editor (http://www.nano-editor.org)
#
# Save this file to a directory of your choice and add it to your nanorc using
# include ${PATH_TO_THE_FILE}/git.nanorc
View application_controller.rb
#app/controllers/application_controller.rb
class ApplicationController < ActionController::Base
def opensearch
response.headers['Content-Type'] = 'application/opensearchdescription+xml; charset=utf-8'
end
@bluestrike2
bluestrike2 / 0-readme.md
Created Dec 10, 2012 — forked from burke/0-readme.md
ruby-1.9.3-p327 cumulative performance patch for rbenv
View 0-readme.md

ruby-1.9.3-p327 cumulative performance patch for rbenv

This installs a patched ruby 1.9.3-p327 with various performance improvements and a backported COW-friendly GC, all courtesy of funny-falcon.

Requirements

You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf using homebrew.

@bluestrike2
bluestrike2 / bookmarklet.js
Created Sep 28, 2012
turbolinks bookmarklet
View bookmarklet.js
javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('src','https://raw.github.com/gist/3802463/fa48c9302283a13e83a9f04c19022c66170aa3db/turbolinks.js');document.body.appendChild(e)%7D)());
@bluestrike2
bluestrike2 / boilerplate.slim
Created Aug 18, 2012
html5boilerplate meets slim. falls in love, builds stuff together.
View boilerplate.slim
doctype 5
/[if lte IE 7]
html.no-js.wf-loading.ie.ie-old lang='en'
/[if IE 8]
html.no-js.wf-loading.ie.ie8 lang='en'
/[if IE 9]
html.no-js.wf-loading.ie.ie9 lang='en'
| <!--[if (gte IE 9)|!(IE)]<!--> <html class='no-js' lang='en'> <!--<![endif]-->
head
meta charset='utf-8'
@bluestrike2
bluestrike2 / symbolset.styl
Created Aug 4, 2012
Stylus stylesheet for symbolset icons
View symbolset.styl
@charset "UTF-8";
@font-face
font-family: 'SS-Standard'
src: url("<%= asset_path('/assets/ss-standard.eot') %>")
src: url("<%= asset_path('/assets/ss-standard.eot?#iefix') %>") format('embedded-opentype'),
url("<%= asset_path('/assets/ss-standard.woff') %>") format('woff'),
url("<%= asset_path('/assets/ss-standard.ttf') %>") format('truetype'),
url("<%= asset_path('/assets/ss-standard.svg#SSStandard') %>") format('svg')
@font-face
font-family: 'SS-Social'
@bluestrike2
bluestrike2 / Gemfile
Created Jul 25, 2012
Statamic via pow.cx & rack-legacy
View Gemfile
gem 'rack-legacy'
gem 'rack-rewrite'
You can’t perform that action at this time.