- Apiary
- Yaml
- Scss
- nginx
- less
- SublimeLinter
- SideBarEnhancements
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: nginx | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the nginx web server | |
# Description: starts nginx using start-stop-daemon |
I hereby claim:
To claim this, I am signing this object:
bind '"\M-[A":history-search-backward' | |
bind '"\M-[B":history-search-forward' |
angular.module('restmod').factory('RootlessAMSApi', ['restmod', 'inflector', function(restmod, inflector) { | |
return restmod.mixin({ // include default packer extension | |
$config: { | |
style: 'AMS', | |
primaryKey: 'id', | |
jsonMeta: 'meta', | |
jsonLinks: 'links' | |
}, |
//Requires underscore, jquery | |
$(document).on('submit', 'selector.to.the.form.element', function(e){ | |
// The the data from the form | |
var formData = _.reduce($(e.currentTarget).serializeArray(), function(memo, val){ | |
memo[val.name] = val.value; | |
return memo; | |
},{}); | |
// Django template | |
(function(){ | |
var _date = new Date(); | |
date = { | |
gmtOffset: {% now "Z" %}, | |
offset: {% now "U" %} - Math.round(_date.getTime() / 1000), | |
now: function(unix){ | |
if(unix) | |
return Math.round(_date.getTime() / 1000) + this.offset + _date.getTimezoneOffset()*60*1000 + this.gmtOffset*1000; | |
return new Date(((Math.round(_date.getTime() / 1000) + this.offset)*1000) + _date.getTimezoneOffset()*60*1000 + this.gmtOffset*1000); |
app: | |
image: platanus/hound | |
ports: | |
- 3000 | |
volumes: | |
- /usr/src/app | |
links: | |
- db | |
- redis | |
env_file: .env.production |
app: | |
ports: | |
- 3000/tcp | |
environment: | |
CHANGED_FILES_THRESHOLD: '300' | |
ENABLE_HTTPS: 'no' | |
EXEMPT_ORGS: platanus | |
GITHUB_CLIENT_ID: <GITHUB_CLIENT_ID> | |
GITHUB_CLIENT_SECRET: <GITHUB_CLIENT_SECRET> | |
HOST: monkeyci.platan.us |
A Dashing widget for displaying the number of attendees for a specific calendar event on Google Calendar
It's specially designed to be used against a recursive event. For example, we use it at platanus to show how many people and who is going to have lunch in the office.
Made by platanus in Chile