~/Library/Trine2
~/Library/Application Support/Steam/userdata/[yoursteamID]/35720
Bucket: myffevents ( us-west-1 ) - Fri Oct 24 2014 09:36:46 GMT+0800 (CST) | |
Bucket: myfflogs ( eu-west-1 ) - Fri Oct 24 2014 09:40:17 GMT+0800 (CST) |
{ countries : [ | |
{name: 'Afghanistan', code: 'AF'}, | |
{name: 'Åland Islands', code: 'AX'}, | |
{name: 'Albania', code: 'AL'}, | |
{name: 'Algeria', code: 'DZ'}, | |
{name: 'American Samoa', code: 'AS'}, | |
{name: 'AndorrA', code: 'AD'}, | |
{name: 'Angola', code: 'AO'}, | |
{name: 'Anguilla', code: 'AI'}, | |
{name: 'Antarctica', code: 'AQ'}, |
(function(window) { | |
var url = document.URL; | |
var headers = jQuery("h3,h4","#repo-content"); | |
var result; | |
for (var i = 0; i < headers.length; i++) { | |
var header = headers[i]; | |
var elem = header.nodeName; | |
var link = ['<pre>', elem === 'H3' ? ' * ' : ' * ' ,'[', header.textContent ,'](',url,'#', header.id,')' ,'\n','</pre>' ]; | |
result += link.join(''); |
(function() { | |
if (!window.__fbNative) { | |
var e = { | |
_iframe: null, | |
callNative: function(a, b) { | |
e._iframe && document.body.removeChild(e._iframe); | |
var c = document.createElement("iframe"); | |
c.style.width = c.style.height = "1px"; | |
c.style.position = "absolute"; | |
c.style.borderStyle = "none"; |
String.prototype.endsWith = function(suffix) { | |
return this.indexOf(suffix, this.length - suffix.length) !== -1; | |
}; | |
var gm = require('gm'); | |
var fs = require('fs'); | |
var path = require('path'); | |
function getFiles(dir, files_) { | |
files_ = files_ || []; |
function encodeUriQuery(val, pctEncodeSpaces) { | |
return encodeURIComponent(val). | |
replace(/%40/gi, '@'). | |
replace(/%3A/gi, ':'). | |
replace(/%24/g, '$'). | |
replace(/%2C/gi, ','). | |
replace(/%20/g, (pctEncodeSpaces ? '%20' : '+')); | |
} |
_ = require 'underscore' | |
# Given an array of elements ELEM and a matching KEY value, | |
# will build the apprpriate projection to generate sortable | |
# weights for a mongo aggregator. | |
# | |
# ELEM: An array of values upon which to match against KEY | |
# KEY: The document field key to match against | |
# I: Default 0, index into array at which to begin | |
# |
if(!String.linkify) { | |
String.prototype.linkify = function() { | |
// http://, https://, ftp:// | |
var urlPattern = /\b(?:https?|ftp):\/\/[a-z0-9-+&@#\/%?=~_|!:,.;]*[a-z0-9-+&@#\/%=~_|]/gim; | |
// www. sans http:// or https:// | |
var pseudoUrlPattern = /(^|[^\/])(www\.[\S]+(\b|$))/gim; | |
// Email addresses |
//Do not use docwrite | |
document.write('<script src="' + src + '" type="text/javascript"><\/script>'): | |
//Use Async | |
var newScript = document.createElement("script"); | |
newScript.async = true; | |
newScript.src = "http://xxxxxxxxxxxxxxxxxxxx.js"; | |
var s0 = document.getElementsByTagName('script')[0]; | |
s0.parentNode.insertBefore(newScript, s0); |