Skip to content

Instantly share code, notes, and snippets.

View ryanjm's full-sized avatar

Ryan Mathews ryanjm

View GitHub Profile
@ryanjm
ryanjm / gist:4279976
Created December 13, 2012 21:16
For lightening talk
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Evented Programming</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
@ryanjm
ryanjm / application.controller.js
Created October 14, 2015 03:05
Testing Sorted Properties
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle',
sortProperties: ['position'],
sorted: Ember.computed.sort('model', 'sortProperties'),
actions: {
upPosition(m) {
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>KML Test</title>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script type="text/javascript" charset="utf-8">
// this is a function to be called when the page has loaded. In Rails we'll be using jQuery and this will be a little different
@ryanjm
ryanjm / Extra info
Created February 24, 2010 16:55
Issues with bad interpreter
Something else I found helpful along the way (as I had old stuff installed):
gem uninstall --install-dir /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8 rails