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
/* | |
This is my hacked up copy of Marked.app/Contents/Resources/gridless.css | |
Changes: | |
1. Smaller headings | |
2. ~~No scrollbars~~ (I now prefer the Lion default behavior) | |
3. Styling of definition lists ala LaTeX description lists. | |
4. Centering h1.title, h3.author, h4.date (pandoc's title/author/date block). | |
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 | |
# use with 'fswatch . ./compressandupload.sh' | |
# https://github.com/alandipert/fswatch | |
# moves compressed files to a sub dir called "handbraked", which you need to create first | |
echo "---------- starting" | |
OUTPUTDIR="/your/path/here" | |
FILES=* | |
for f in $FILES |
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 | |
# Assumptions! | |
# - Current directory is the same as the one AE renders to | |
# - Inside this directory is a directory called 'handbraked', | |
# where we move the files which already have been compressed to | |
OUTPUTDIR="" # where should handbrake move the files to when done | |
AEPROJECT='' # where is your project, full path | |
AERENDERER='' # where is AERENDER executable, for example /Applications/Adobe After Effects CS6/AErender | |
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
curl -ig "http://dev.thomastraum.com/wp-json/posts?type=tt_news&filter[posts_per_page]=20" | prettyjson | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 45456 0 45456 0 0 190k 0 --:--:-- --:--:-- --:--:-- 191k | |
HTTP/1.1 200 OK | |
Date: Tue, 17 Nov 2015 14:42:08 GMT | |
Server: Apache/2.4.16 (Unix) PHP/5.5.29 | |
X-Powered-By: PHP/5.5.29 | |
X-Pingback: http://dev.thomastraum.com/xmlrpc.php | |
X-Content-Type-Options: nosniff |
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
status_code: OK | |
status_msg: All images in request have completed successfully. | |
meta: | |
tag: | |
timestamp: 1457610016.89178 | |
model: general-v1.3 | |
config: 34fb1111b4d5f67cf1b8665ebc603704 | |
results: | |
- | |
docid: 15512461224882630000 |
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
import { Meteor } from 'meteor/meteor'; | |
import { Mongo } from 'meteor/mongo'; | |
import { check } from 'meteor/check'; | |
import SimpleSchema from 'simpl-schema'; | |
// import Collections2 from 'collection2'; | |
export const Things = new Mongo.Collection('things'); | |
const schema = new SimpleSchema({ | |
owner: {type: String, regEx: SimpleSchema.RegEx.Id, optional: false}, | |
name:{type:String}, |
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
'use strict'; | |
const puppeteer = require('puppeteer'); | |
const Push = require( 'pushover-notifications' ); | |
const p = new Push( { | |
user: '', | |
token: '', | |
}); | |
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
Started TaskList: Pushing Meteor App | |
[178.79.140.209] - Pushing Meteor App Bundle to the Server | |
[178.79.140.209] - Pushing Meteor App Bundle to the Server: SUCCESS | |
[178.79.140.209] - Prepare Bundle | |
[178.79.140.209] - Prepare Bundle: SUCCESS | |
Started TaskList: Configuring App | |
[178.79.140.209] - Pushing the Startup Script | |
[178.79.140.209] - Pushing the Startup Script: SUCCESS | |
[178.79.140.209] - Sending Environment Variables |
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
------------------------------------STDERR------------------------------------ | |
Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to 172.17.0.8 port 3000: Connection refused | |
=> Logs: | |
{ removed: 0, updated: 76 } | |
{ removed: 0, updated: 76 } | |
{ removed: 0, updated: 76 } | |
{ removed: 0, updated: 79 } | |
{ removed: 0, updated: 79 } | |
{ removed: 0, updated: 84 } |
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
=> Logs: | |
{ removed: 103, updated: 1228 } | |
{ removed: 103, updated: 1228 } | |
{ removed: 103, updated: 1228 } | |
{ removed: 103, updated: 1228 } | |
{ removed: 103, updated: 1228 } | |
{ removed: 103, updated: 1228 } | |
{ removed: 103, updated: 1240 } | |
{ removed: 103, updated: 1240 } | |
{ removed: 103, updated: 1240 } |