This file contains hidden or 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
| #!/bin/bash | |
| CLEAR='\033[0m' | |
| RED='\033[0;31m' | |
| function usage() { | |
| if [ -n "$1" ]; then | |
| echo -e "${RED}👉 $1${CLEAR}\n"; | |
| fi | |
| echo "Usage: $0 [-n number-of-people] [-s section-id] [-c cache-file]" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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/ruby | |
| # Create display override file to force Mac OS X to use RGB mode for Display | |
| # see http://embdev.net/topic/284710 | |
| require 'base64' | |
| data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
| edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
| vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
by Murilo Gun
- Abundancia - O futuro é melhor do que você imagina | Steven Kotler e Peter H. Diamandis
- VLEF - Vai lá e faz
- A Startup Enxuta - Como Os Empreendedores Atuais Utilizam a Inovação
- Marketing e Comunicação da Era Pós-Digital - As Regras Mudaram | Walter Longo
- De Onde Vem as Boas Ideias | Steven Johnson
- Steve Jobs - A Biografia | Walter Isaacson
This file contains hidden or 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
| { | |
| "name": "my-app", | |
| "version": "1.0.0", | |
| "description": "My test app", | |
| "main": "src/js/index.js", | |
| "scripts": { | |
| "jshint:dist": "jshint src/js/*.js'", | |
| "jshint": "npm run jshint:dist", | |
| "jscs": "jscs src/*.js", | |
| "browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", |
This file contains hidden or 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
| find . -type d -empty -exec touch {}/.gitkeep \; |
This file contains hidden or 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
| BIN = ./node_modules/.bin | |
| SRC = $(wildcard src/*.coffee) | |
| LIB = $(SRC:src/%.coffee=lib/%.js) | |
| build: $(LIB) | |
| lib/%.js: src/%.coffee | |
| @mkdir -p $(@D) | |
| @$(BIN)/coffee -bcp $< > $@ |
This file contains hidden or 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 express = require('express') | |
| , gracefulExit = require('express-graceful-exit') | |
| , domainError = require('express-domain-errors') | |
| , domain = require('domain') | |
| , serverDomain = domain.create() | |
| , app | |
| , server | |
| function sendOfflineMessage() { | |
| if (process.send) process.send('offline') |

