Skip to content

Instantly share code, notes, and snippets.

View connorshea's full-sized avatar
:shipit:
Shipping

Connor Shea connorshea

:shipit:
Shipping
View GitHub Profile
@connorshea
connorshea / web-game-development.md
Last active August 29, 2015 14:21
Web Game Development notes
@connorshea
connorshea / markdown.md
Created July 22, 2015 18:20
Markdown Help
@connorshea
connorshea / updatesite
Created September 23, 2015 14:15
Mirroring my website
#!/bin/bash
mkdir ~/public_html
cd ~/public_html
wget -nH --mirror --adjust-extension --convert-links https://connorshea.github.io
find ~/public_html/ -type f -exec chmod 644 {} \;
find ~/public_html/ -type d -exec chmod 755 {} \;
chmod 755 ~/public_html/
@connorshea
connorshea / pythondev.md
Last active November 24, 2015 23:23
Python Development Environment for OS X

Installing Python

Install Homebrew.

  • xcode-select –install
  • Install Homebrew itself ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

To install Python 2.7: brew install python

@connorshea
connorshea / index.html.erb
Last active November 30, 2015 02:12
apipony HAML ~> HTML
<header>
<div class="container">
<%= link_to @documentation.title, root_path, class: 'title' %>
<% if main_app.root_path %>
<%= link_to 'Back to site', main_app.root_path, class: 'back' %>
<% end %>
</div>
</header>
<main>
@connorshea
connorshea / .gitignore
Last active December 19, 2015 19:24 — forked from octocat/.gitignore
Global `.gitignore` file
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@connorshea
connorshea / bundler-output
Last active April 14, 2016 04:07
Output from `bundle outdated --patch`
gitlab connor$ bundle outdated --patch
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Resolving dependencies..............
Outdated gems included in the bundle:
* asciidoctor (newest 1.5.4, installed 1.5.3, requested ~> 1.5.2) in group "default"
* byebug (newest 8.2.4, installed 8.2.1) in groups "development, test"
* d3_rails (newest 3.5.16, installed 3.5.11, requested ~> 3.5.0) in group "default"
@connorshea
connorshea / Gemfile.lock
Created April 14, 2016 04:08
Gemfile.lock for GitLab CE
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (2.3.2)
RedCloth (4.2.9)
ace-rails-ap (2.0.1)
actionmailer (4.2.6)
actionpack (= 4.2.6)
actionview (= 4.2.6)
activejob (= 4.2.6)
@connorshea
connorshea / markdown_3_spaces.txt
Created October 17, 2016 23:15
Kramdown example code with 3 and 4 spaces of indentation for code blocks.
1. Lorem ipsum dolor sit amet.
````ruby
ruby code
````
1. Lorem ipsum dolor sit amet.
````ruby
ruby code

Keybase proof

I hereby claim:

  • I am connorshea on github.
  • I am connorshea (https://keybase.io/connorshea) on keybase.
  • I have a public key ASA0zAEVnRLgW29IsXcr2dTw7YKpRN1yiJU9NBspacJlvwo

To claim this, I am signing this object: