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
{ | |
app.beginUndoGroup("Demo Script"); | |
// Creating project | |
var currentProject = (app.project) ? app.project : app.newProject(); | |
// Creating comp | |
var compSettings = cs = [1280, 720, 1, 10, 24]; | |
var defaultCompName = "Demo" | |
var currentComp = (currentProject.activeItem) ? currentProject.activeItem : currentProject.items.addComp(defaultCompName, cs[0], cs[1], cs[2], cs[3], cs[4]); |
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
// Node.js version of the Spotify Token Exchange originally scripted in ruby (based on beta 6 release candidate) | |
// https://github.com/spotify/ios-sdk/blob/master/Demo%20Projects/spotify_token_swap.rb | |
var express = require('express'); | |
var bodyParser = require('body-parser'); | |
var request = require('request'); | |
var app = express(); | |
var http = require('http').Server(app); | |
var config = {} |
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
SUMMARY | |
================================================================================ | |
This dataset was constructed to support participants in the Netflix Prize. See | |
http://www.netflixprize.com for details about the prize. | |
The movie rating files contain over 100 million ratings from 480 thousand | |
randomly-chosen, anonymous Netflix customers over 17 thousand movie titles. The | |
data were collected between October, 1998 and December, 2005 and reflect the | |
distribution of all ratings received during this period. The ratings are on a |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// Simple XMLHttpRequest | |
// based on https://davidwalsh.name/xmlhttprequest | |
var SimpleRequest = { | |
call: function(what, response) { | |
var request; | |
if (window.XMLHttpRequest) { // Mozilla, Safari, ... | |
request = new XMLHttpRequest(); | |
} else if (window.ActiveXObject) { // IE | |
try { | |
request = new ActiveXObject('Msxml2.XMLHTTP'); |
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
/** Fetch user agents by class from http://ua.theafh.net/ */ | |
function UserAgents () { | |
var COL_UA=1; | |
var COL_CLASS=3; | |
this.list=[]; | |
this.Class=''; | |
this.parse = function(Class) { | |
this.list=[]; | |
var self=this; | |
this.Class=Class; |
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
var console = { | |
log: function(s) { | |
document.getElementById("console").innerHTML += s + "<br/>" | |
} | |
} | |
// Simple XMLHttpRequest | |
// based on https://davidwalsh.name/xmlhttprequest | |
SimpleRequest = { | |
call: function(what, response) { | |
var request; |
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
var cp = require('child_process'); | |
var promiseAll = function(items, block, done, fail) { | |
var self = this; | |
var promises = [], | |
index = 0; | |
items.forEach(function(item) { | |
promises.push(function(item, i) { | |
return new Promise(function(resolve, reject) { | |
if (block) { | |
block.apply(this, [item, index, resolve, reject]); |
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
Analyzed 353956 files. | |
Total downloads: 612375 | |
Total installs (IPs): 97052 | |
Unique device installs: 134626 | |
Website visits: 516358 | |
Website IP-unique visits: 233708 | |
Versions installed (unique per identified device): | |
0.1.8.2016-06-19T19:10:28Z 43769 | |
0.1.7.2016-04-01T18:12:56Z 23598 | |
0.1.7.2016-02-24T03:51:21Z 5548 |
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
function deepClone(obj) { | |
var copy; | |
var i; | |
var len; | |
if (!obj || typeof obj !== 'object') { | |
return obj; | |
} | |
if (obj instanceof Array) { |
OlderNewer