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
storage: | |
dbPath: /var/lib/mongodb | |
journal: | |
enabled: true | |
engine: wiredTiger | |
wiredTiger: | |
engineConfig: | |
cacheSizeGB: 0.3 | |
systemLog: | |
destination: file |
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
android_bundle/ | |
dev_bundle/ | |
docs/ | |
examples/ | |
packages/ | |
scripts/ | |
tools/ | |
!tools/*.js | |
!tools/isobuild/*.js | |
!tools/catalog/*.js |
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
#!/bin/bash | |
set -e | |
CONTENTS=$(tesseract -c language_model_penalty_non_dict_word=0.8 --tessdata-dir /usr/local/share/tessdata/ "$1" stdout -l eng | xml esc) | |
hex=$((cat <<EOF | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> |
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
# | |
# FS Collection | |
# | |
profileThumbsStore = new FS.Store.S3('thumb', | |
accessKeyId : 'XXXXXXXXXXXXXXXXXX' | |
secretAccessKey : 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' | |
bucket : 'my-bucket-name' | |
folder : 'thumb' | |
transformWrite : (fileObj, readStream, writeStream) -> | |
gm(readStream, fileObj.name()).resize("100", "100").stream().pipe writeStream |
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
<!-- Context should be the object you are tagging --> | |
<template name="tagInput"> | |
<select class='tag-input' name='tags[]' multiple="multiple"> | |
{{#each tags}} | |
<option value="{{this}}" selected="true">{{this}}</option> | |
{{/each}} | |
</select> | |
</template> |
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
# METEOR CORE: | |
Anywhere: Meteor.isClient | |
Anywhere: Meteor.isServer | |
Anywhere: Meteor.startup(func) | |
Anywhere: Meteor.absoluteUrl([path], [options]) | |
Anywhere: Meteor.settings | |
Anywhere: Meteor.release | |
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
start on filesystem and started networking | |
stop on shutdown | |
author "Mark Lopez" | |
description "Ghost Upstart Job" | |
version "0.2" | |
respawn | |
respawn limit 5 30 |
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
server { | |
listen [::]:80; | |
listen 80; | |
server_name app.example.com; | |
return 301 https://$server_name$request_uri; | |
} | |
server { |
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
<html> | |
<body style="background: #333"> | |
<script > | |
var gui = require('nw.gui'); | |
var win = gui.Window.get(); | |
function takeSnapshot() { | |
win.capturePage(function(img) { | |
var popWindow = gui.Window.open('popup.html', | |
{width: 420, height: 300}); | |
popWindow.on('loaded', function() { |
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
#include <shared/VideoSurface.h> | |
GLuint VideoSurface::prog = 0; | |
GLint VideoSurface::u_pm = 0; | |
GLint VideoSurface::u_mm = 0; | |
GLint VideoSurface::u_tex = 0; | |
GLfloat VideoSurface::pm[16] = {0}; | |
VideoSurface::VideoSurface() | |
:width(0) |
NewerOlder