Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael Guterl mguterl

View GitHub Profile
@mguterl
mguterl / cloudSettings
Last active May 17, 2019
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2019-05-17T05:44:27.760Z","extensionVersion":"v3.2.9"}
View gist:308216
#!/bin/sh
set -u
set -e
# Example init script, this can be used with nginx, too,
# since nginx and unicorn accept the same signals
# Feel free to change any of the following variables for your app:
APP_ROOT=/home/deploy/public_html/rm/current
PID=$APP_ROOT/tmp/pids/unicorn.pid
ENV=production
@mguterl
mguterl / canon sdk openframeworks
Created Dec 19, 2016 — forked from wouterverweirder/canon sdk openframeworks
step-by-step how to get canon eos sdk working with openframeworks / C++ on OSX
View canon sdk openframeworks
get canon sdk working with openframeworks
1. Register as canon developer & download canon sdk
2. EDSDK.framework in canon sdk download doesn't seem to be working. Download the latest EOS Utility from http://usa.canon.com/cusa/support/consumer/eos_slr_camera_systems/eos_digital_slr_cameras/ for you camera. You might not have a previous EOS Utility install or a CD. You can force the installer to install EOS utility:
1/ Copy the updater app from the dmg to your desktop
2/ Right click and choose Show Package Contents…
3/ Delete the file Contents/Resources/Info.datx
4/ After that run the updater app again. You should be able to install the EOS Utility
View stuff.md

Restaurants

Sotto

Amazing Italian. Romantic atomosphere. Make reservations in advance.

Bakersfield

Tacos, tequila, and whiskey. Expect a long wait.

View components.my-component.js
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'a',
attributeBindings: ['download', 'href', 'target'],
download: Ember.computed('isPDF', function() {
if (this.get('isPDF')) {
return null;
} else {
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
count: 0,
next: Ember.computed(function() {
return this.incrementProperty('count');
}).volatile()
});
@mguterl
mguterl / gist:6000062
Created Jul 15, 2013
Error when installing REE via RVM
View gist:6000062
$ cat /Users/michaelguterl/.rvm/log/ree-1.8.7-2012.02/1373895115_package_install_openssl098.log
[2013-07-15 09:31:55] requirements_osx_brew_libs_install
Error: No such keg: /usr/local/Cellar/openssl098
Error: No available formula for openssl098
There were package installation errors, make sure to read the log.
Check Homebrew requirements https://github.com/mxcl/homebrew/wiki/Installation
$ rvm --debug requirements ree
rvm_autolibs_flag=4
Installing requirements for osx, might require sudo password.
View tumblr-author.rb
require 'mechanize'
module TumblrGateway
class Blog
def initialize(base_url)
@base_url = base_url
end
def author_for(post_id)
PostPage.new(post_url_for(post_id)).author_name
View gist:5627778
class Enumerator
def end?
peek
false
rescue StopIteration
true
end
end
enum = Enumerator.new { |yielder| yielder.yield 1; yielder.yield 2 }
View agenda.md

#Council of Chiefs

9:00PM November 3, 2012

Camp Lazarus
4422 Columbus Pike
Delaware, OH 43015

Goal of the Meeting: To make decisions regarding the specifics of Conclave 2013