-
quit Safari
-
go to Keyboard System Preferences and click on the Keyboard Shortcuts tab
-
select Application Shortcuts, click on + to add a new one:
- Application: Safari
- Menu Title: Back
- Keyboard shortcut: type ⌘$
-
open ~/Library/Preferences/com.apple.Safari.plist with a plist editor (i.e.: XCode)
-
look for "NSUserKeyEquivalents" dictionary
-
open it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Online.DiscussionMessage exposing (receiveCollection) | |
import Dict exposing (Dict) | |
import Json.Decode as JD | |
import Json.Encode as JE | |
import JsonApi | |
import JsonApi.Documents | |
import JsonApi.Decode | |
import JsonApi.Resources | |
import Online.Types exposing (Model, Msg, DiscussionMessage, Chatter) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... | |
var app = new EmberApp(defaults, { | |
hinting: false, | |
babel: { | |
includePolyfill: true, | |
optional: [ | |
"es7.decorators", | |
"es7.classProperties", | |
"es7.asyncFunctions" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule ApplicationRouter do | |
use Dynamo.Router | |
prepare do | |
conn.fetch([:params]) | |
end | |
post "/publish" do | |
room_id = conn.params[:room_id] | |
data = conn.params[:data] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AssertFortyTwo | |
include SystemStateAssertion | |
describe "the Answer to the Ultimate Question of Life, the Universe, and Everything to be 42" | |
expect 42 | |
def actual | |
2 | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# app/forms/lead_form.rb | |
class LeadForm < CaringForm::Model | |
protect_from_bots | |
index_on :form_location | |
metadata :resource_type, :ancillary => true | |
metadata :inquiry_key | |
full_name :name | |
tel :phone_number | |
email :email_address |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Don't change this file! | |
# Configure your app in config/environment.rb and config/environments/*.rb | |
RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT) | |
module Rails | |
class << self | |
def boot! | |
unless booted? | |
preinitialize |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* jasmine.requirejs() returns a function that will load the file(s) required | |
* and will wait until it's done before proceeding with running specs. | |
* The function returned is intended to be passed to beforeEach() so the file(s) | |
* is(are) loaded before running each spec. | |
* | |
* Syntax: | |
* | |
* jasmine.requirejs(options, files) | |
* or |