-
Invite the GitHub bot to the channel you want the updates in
/invite @Github
-
Subscribe to the repo you want updates from
/github subscribe owner/repo
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 localFont from 'next/font/local'; | |
const enchantedLandFont = localFont({ src: './enchanted-land.ttf' }); | |
const headerStyle = (colors) => ({ | |
display: 'inline', | |
margin: 0, | |
fontSize: 500, | |
fontWeight: 400, | |
background: `-webkit-linear-gradient(left, ${colors.join(', ')})`, |
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
127.0.0.1 localhost | |
127.0.0.1 twitter.com | |
127.0.0.1 mobile.twitter.com |
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 {Mongo} from 'meteor/mongo'; | |
const StoreCollection = new Mongo.Collection('Store', {connection: null}); | |
const objectPrototypeKeys = Object.getOwnPropertyNames(Object.prototype); | |
const getSubId = (key, subKey) => key + subKey[0].toUpperCase() + subKey.slice(1); | |
const store = new Proxy({}, { | |
get(target, key, receiver) { | |
if (objectPrototypeKeys.includes(key)) { |
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 React from 'react'; | |
import MeteorPackages from './MeteorPackages'; | |
import context from './context'; | |
const Layout = ({content}) => { | |
return ( | |
<div className={`Layout ${themeClass}`}> | |
<MeteorPackages.Provider value={context}> | |
{content} |
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
docs/00-Getting-Started.md:Chart.js provides two different builds that are available for your use. The `Chart.js` and `Chart.min.js` files include Chart.js and the accompanying color parsing library. If this version is used and you require the use of the time axis, [Moment.js](http://momentjs.com/) will need to be included before Chart.js. | |
docs/02-Scales.md:parser | String or Function | - | If defined as a string, it is interpreted as a custom format to be used by moment to parse the date. If this is a function, it must return a moment.js object given the appropriate data value. | |
docs/02-Scales.md:tooltipFormat | String | '' | The moment js format string to use for the tooltip. | |
docs/02-Scales.md:When providing data for the time scale, Chart.js supports all of the formats that Moment.js accepts. See [Moment.js docs](http://momentjs.com/docs/#/parsing/) for details. | |
docs/02-Scales.md:The following display formats are used to configure how different time units are formed into strings for the axis tick marks. See |
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 collections = []; | |
_.each(collections, function (collection) { | |
var helpers = {}; | |
var fields = window[relation].simpleSchema().objectKeys(); | |
_.each(fields, function (field) { | |
var key = field.replace(/Id$/, ''); | |
helpers[key] = function () { | |
var entity = capitalize(key) + 's'; | |
return window[entity].findOne({_id: this[field]}); |
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
# Home | |
section: screens | |
Avalon: | |
Camelot: | |
end | |
section: links | |
Avalon: | |
left = Avalon | |
right = Avalon |
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.vm.provision "node_modules mounting", type: "shell", run: "always" do |shell| | |
shell.privileged = false | |
shell.args = "'#{app_name}'" | |
shell.inline = <<-SHELL | |
echo "Mounting node_modules directories" | |
for directory in /$1/*; do | |
if [ -f $directory/package.json ]; then | |
mkdir -p $directory/node_modules | |
mkdir -p /home/vagrant$directory/node_modules | |
sudo mount --bind /home/vagrant$directory/node_modules $directory/node_modules |
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.vm.provision ".meteor mounting", type: "shell", run: "always" do |shell| | |
shell.privileged = false | |
shell.args = "'#{app_name}'" | |
shell.inline = <<-SHELL | |
echo "Mounting .meteor/local directories" | |
for directory in /$1/*; do | |
if [ -d $directory/.meteor ]; then | |
mkdir -p $directory/.meteor/local | |
mkdir -p /home/vagrant$directory/.meteor/local | |
sudo mount --bind /home/vagrant$directory/.meteor/local $directory/.meteor/local |
NewerOlder