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
/** | |
* Modify the parts you need to get it working. | |
*/ | |
var should = require('should'); | |
var request = require('../node_modules/request'); | |
var io = require('socket.io-client'); | |
var serverUrl = 'http://localhost'; |
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
;;; dayone.el --- Utility script for Day One | |
;; Copyright (C) 2013 by mori-dev | |
;; Author: mori-dev <mori.dev.asdf@gmail.com> | |
;; URL: https://github.com/mori-dev | |
;; Version: 20131101.1951 todo | |
;; X-Original-Version: todo | |
;; Package-Requires: ((uuid "0.0.3") (mustache "0.22")) todo |
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
class @MyMap extends GMaps | |
constructor: (params) -> | |
super(params) | |
AddMakerByDataAttr: (selector)-> | |
$selector = $(selector) | |
@addMarker | |
lat: $selector.attr 'data-lat' | |
lng: $selector.attr 'data-lng' |
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
var local = {}; | |
local["^https://www.pivotaltracker.com/projects"] = [ | |
style.register(<><![CDATA[ | |
#main { | |
min-width: 1600px; | |
} | |
]]></>, style.XHTML) | |
]; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>CoffeeScript - Backbone.js rollover</title> | |
<link rel="stylesheet" type="text/css" href="styles.css" /> | |
<script src="../libs/jquery.min.js"></script> | |
<script src="../libs/underscore.js"></script> | |
<script src="../libs/backbone.js"></script> | |
<script src="scripts.js"></script> |
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
Commits in HEAD | |
7bfce6fe * origin/master origin/HEAD master Merge pull request #1658 from braddunbar/history-window | |
|\ | |
a4243413 | * Fix #1653 - Ensure that `History` can be used outside of the browser. | |
|/ | |
da18e002 * Merge branch 'master' of github.com:documentcloud/backbone | |
|\ | |
161c3a21 | * Merge pull request #1656 from braddunbar/sortby-groupby | |
| |\ | |
c344201f | | * Fix #1655 - sortBy & groupBy use attributes. |
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
#!/usr/bin/env ruby | |
# -*- encoding: utf-8 -*- | |
# ■要件 | |
# | |
# emacs で f12 キー押下で編集中のファイルをディレクトリ構造ごとバックアップしたい | |
# ターミナルから引数で指定したファイル/ディレクトリをディレクトリ構造ごとバックアップしたい | |
# | |
# ■使い方 | |
# |
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
*~ | |
vendor/bundle | |
.DS_Store | |
config/initializers/clear_logs.rb | |
Gemfile.lock | |
Gemfile.local.rb | |
lib/tasks/myseed.rake | |
db/my_seeds.rb | |
coverage/ | |
a.diff |
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
resources :products, only: [:index, :show] | |
namespace :products do | |
resources :registrations, only: [:new, :create, :edit, :update] | |
resources :confirmations, only: [:show, :update] do | |
get :completion, on: :collection | |
end | |
end | |
namespace :admin 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
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com | |
# defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below) | |
module Player | |
describe MovieList, "with optional description" do | |
it "is pending example, so that you can write ones quickly" | |
it "is already working example that we want to suspend from failing temporarily" do | |
pending("working on another feature that temporarily breaks this one") |