To run this,
git clone git://github.com/jashkenas/coffee-script.git
cd coffee-script
Copy test.sh into the coffee-script directory, then
git bisect start
# git checkout 1.3.2
#!/bin/sh | |
# | |
# Copyright (c) 2007 Andy Parkins | |
# | |
# An example hook script to mail out commit update information. This hook | |
# sends emails listing new revisions to the repository introduced by the | |
# change being reported. The rule is that (for branch updates) each commit | |
# will appear on one email and one email only. | |
# | |
# This hook is stored in the contrib/hooks directory. Your distribution |
<!-- Highlight syntax for Mou.app, insert at the bottom of the markdown document --> | |
<script src="http://yandex.st/highlightjs/7.3/highlight.min.js"></script> | |
<link rel="stylesheet" href="http://yandex.st/highlightjs/7.3/styles/github.min.css"> | |
<script> | |
hljs.initHighlightingOnLoad(); | |
</script> |
Add the following to your Gemfile:
gem 'heroku-api'
Put heroku.rb in your jobs folder and add the contents of heroku.html into your layout.
The basic structure of a React+Flux application (see other examples)
- /src/actions/AppActions.js - Action creators (Flux)
- /src/components/Application.js - The top-level React component
- /src/constants/ActionTypes.js - Action types (Flux)
- /src/core/Dispatcher.js - Dispatcher (Flux)
- /src/stores/AppStore.js - The main store (Flux)
# Ensure all foreign key constraints heve 'ON DELETE' clauses | |
grep 'FOREIGN KEY.* REFERENCES .*' db/schema.sql | grep -v ' ON DELETE ' | |
if [ "$?" == "0" ]; then | |
echo "Foreign key constraints without delete instructions - aborting" | |
exit 2; | |
fi; |
module.exports = function PgUpsertPlugin( | |
builder, | |
{ pgDisableDefaultMutations } | |
) { | |
if (pgDisableDefaultMutations) { | |
return; | |
} | |
builder.hook("inflection", (inflection, build) => | |
build.extend(inflection, { |
((suffix) => {let skip = 0; let abort = false; [...$$(`a[title$="${suffix}"]`)].map(el => {const checks = el.parentNode.parentNode.parentNode.querySelectorAll('.js-reviewed-checkbox');if (checks.length !== 1) { throw new Error("Script out of date?");} return checks[0]}).forEach((inpt, i) => inpt.checked ? ++skip : setTimeout(() => {if (abort) return; inpt.click();}, (i - skip) * 1000))})(".mermaid") |
type User { | |
id: ID! | |
username: String* | |
avatarUrl: String | |
bio: String | |
friends: [User*]* | |
} | |
type User { | |
id: ID! | |
username: ~String |