Skip to content

Instantly share code, notes, and snippets.

View suderman's full-sized avatar

Jon Suderman suderman

View GitHub Profile

Keybase proof

I hereby claim:

  • I am suderman on github.
  • I am suderman (https://keybase.io/suderman) on keybase.
  • I have a public key whose fingerprint is 7543 51D9 DC56 BDB1 545A FD22 537B 2F61 0C17 61A6

To claim this, I am signing this object:

#!/bin/sh
echo "goodnight everybody!"
{
"name": "ead",
"version": "1.0.0",
"dependencies": {
"uglifyjs": "~2.3.6",
"less": "~1.7.0"
},
"scripts": {
"server": "cd public_html && php -S localhost:8000 index.php",
"compile-less": "node_modules/less/bin/lessc --include-path=./vendor/components:./vendor/nterchange --source-map-less-inline app/assets/stylesheets/all.less public_html/assets/stylesheets/all.css",
Verifying that +suderman is my openname (Bitcoin username). https://onename.io/suderman
@suderman
suderman / octohost-output
Created January 19, 2015 18:16
git push octohost master
macbook :: code/nonfiction/nonfiction.ca ‹master› % git push octohost master
Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 530 bytes | 0 bytes/s, done.
Total 6 (delta 4), reused 0 (delta 0)
remote: Put repo in src format somewhere.
remote: Building Docker image.
remote: Base: nonfiction
remote: Sending build context to Docker daemon 35.71 MB
@suderman
suderman / nterchange-setup
Created January 29, 2015 19:56
nterchange-setup
# Setting up nterchange
#
# Assumptions:
# - PHP, Apache and MySQL are installed
# - Site will live at /var/www/touchstone
# - Apache user is www-data
# - MySQL username and password are "root" and "rootpass"
#
# If anything of these are different, make adjustments to the commands below,
# and adjust conf/conf.php to match.
@suderman
suderman / gist:d5bd435564ae5a806840
Created March 3, 2015 23:25
fairway old sitemap
/about-us
/about-us/testimonials
/about-us/our-founder
/about-us/our-corporate-team-2
/about-us/the-book
/about-us/mission-and-values
/about-us/social-responsibility
/about-us/careers
/about-us/videos
/services
<script type="text/javascript">
(function() {
if (document.location.hostname !== 'www.talisman-energy.com') {
var p = document.createElement('script');
p.type = 'text/javascript';
p.async = true;
p.src = 'http://www.talisman-energy.com/ping.php?hostname=' + document.location.hostname;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(p, s);
}
<?php
require_once 'n_model.php';
class PhotoLibraryImage extends NModel {
function __construct() {
$this->__table = 'photo_library_image';
$this->form_ignore_fields = array('image_web_170', 'image_web_400', 'image_web_960');
$this->form_elements['image_full'] = array('cms_file', 'image_full', 'High Res Image');
$this->form_required_fields = array('photo_title', 'image_full');
$this->_order_by = 'cms_headline';
@suderman
suderman / appimages.txt
Created April 17, 2015 18:17
App Images
http://corporate.calgarystampede.com/assets/appimages/AdultPowwow.jpg.jpg
http://corporate.calgarystampede.com/assets/appimages/akells.jpg.tif
http://corporate.calgarystampede.com/assets/appimages/ArtsandCrafts.jpg.jpg
http://corporate.calgarystampede.com/assets/appimages/bannockbooth.jpg.jpg
http://corporate.calgarystampede.com/assets/appimages/beatdrop.jpg.jpg
http://corporate.calgarystampede.com/assets/appimages/BJ%20Thomas%202015.tif
http://corporate.calgarystampede.com/assets/appimages/Bobby%20Wills%202015.tif
http://corporate.calgarystampede.com/assets/appimages/Boom%20Chucka%20Boys%202015.tif
http://corporate.calgarystampede.com/assets/appimages/brett.jpg.tif
http://corporate.calgarystampede.com/assets/appimages/Chad%20Brownlee%202015.tif