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 ftrack_api | |
import os | |
import requests | |
import logging | |
import mimetypes | |
class DownloadAnyVersion(object): | |
label = "Download MP4 and Image Reviews" | |
identifier = "download.mp4.and.image.reviews" |
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 os | |
import argparse | |
import fnmatch | |
import time | |
from datetime import timedelta | |
from pathlib import Path | |
import logging | |
def delete_files(root_dir: Path, extension: str, dry_run=True): | |
files_processed = 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
=> 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 } |
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
------------------------------------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 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 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 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 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 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 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 | |
NewerOlder