<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>localhost.pbcopy</string>
This file contains 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
/* .config/gtk-3.0/gtk.css */ | |
window.ssd headerbar.titlebar { | |
min-height: 0; | |
padding-top: 2px; | |
padding-bottom: 2px; | |
} | |
window.ssd headerbar.titlebar button.titlebutton { | |
min-height: 0; | |
min-width: 0; |
This file contains 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
# ~/.config/i3/config | |
exec --no-startup-id exec mate-settings-daemon | |
exec --no-startup-id exec mate-screensaver | |
exec --no-startup-id exec mate-power-manager | |
exec --no-startup-id exec nm-applet |
This file contains 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 ScratchApp.UserTest do | |
use ExUnit.Case, async: true | |
alias ScratchApp.{Repo,User} | |
setup do | |
:ok = Ecto.Adapters.SQL.Sandbox.checkout(Repo) | |
end | |
test "it should fail and it does indeed" do |
This file contains 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
" vim-test for ember | |
" make sure ember.vim file exists in .vim/autoload/test/ember.vim | |
let test#custom_runners = {'javascript': ['Ember']} |
This file contains 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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
submit(e) { | |
e.preventDefault(); | |
alert("I'm native DOM event"); | |
} | |
}); |
This file contains 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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle' | |
}); |
This file contains 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
<nav className='navbar'> | |
{ | |
userRole === 'admin' && ( | |
<AdminPanel /> | |
) || userRole === 'user' && ( | |
<UserPanel /> | |
) || ( | |
<StatusPanel /> | |
) | |
} |
This file contains 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
Controller.Base = function() { | |
function Controller(options) { | |
options = options || {}; | |
this.region = options.region; | |
Marionette.Controller.call(this, options); | |
} | |
Controller.extend = Marionette.Controller.extend; | |
_.extend(Controller.prototype, Marionette.Controller.prototype); |
This file contains 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
# Navigating | |
visit('/projects') | |
visit(post_comments_path(post)) | |
# Clicking links and buttons | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
NewerOlder