2017.05.20 update.
- A File Icon
- AdvancedNewFile
- All Autocomplete
- ApacheConf.tmLanguage
- AutoFileName
- Babel
<!doctype html> | |
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
<html> | |
<head> | |
<title>iOS 8 web app</title> | |
<!-- CONFIGURATION --> | |
<!-- Allow web app to be run in full-screen mode. --> | |
<meta name="apple-mobile-web-app-capable" | |
content="yes"> | |
<!-- Make the app title different than the page title. --> |
<?php | |
// This is sample code to draw some of the charts I blogged about here: | |
// https://medium.com/ios-os-x-development/keeping-your-wits-as-an-indie-app-developer-3b5b14428e1f | |
// | |
// A few disclaimers: | |
// 1. This assumes you have at least 30 days of sales data in order to draw the Trailing 7 Days Chart | |
// 2. This assumes you have over 52 consecutive weeks of data in order to draw the Trailing Year Chart | |
// 3. I don't really know PHP. Everything this does, I had to look it up while writing it. If you actually know PHP, sorry. There are surely better ways. | |
// | |
// the results of this PHP script is intended to be drawn using the Flot library. |
// Originally used on https://nookipedia.com/wiki/Fish/Animal_Crossing:_Wild_World to extract fish data | |
returnedObj = '[\n'; | |
function scrapeFish() { | |
for (var i = 0; i < 56; i++) { | |
fishName = document.body.children[7].children[0].children[0].children[1].children[0].children[1].children[1].children[4].children[3].children[0].children[2].children[0].children[1].children[i].children[1].children[0].innerHTML; | |
returnedObj += `\t{'task_name': '${fishName}', 'task_complete': false},\n`; | |
} | |
returnedObj += '\n]'; | |
return returnedObj; | |
} |
Generates a RFC4122 version 4 compliant UUID which can be used as an API Key. Semantics, heh.
A Pen by Philip Newborough on CodePen.
var express = require('express') | |
, mongoskin = require('mongoskin') | |
var app = express() | |
app.use(express.bodyParser()) | |
var db = mongoskin.db('localhost:27017/test', {safe:true}); | |
app.param('collectionName', function(req, res, next, collectionName){ | |
req.collection = db.collection(collectionName) |
import { | |
Component, | |
OnInit | |
} from '@angular/core'; | |
import { flyInOutTrigger } from './../animations/flyInOutTrigger-animation'; | |
import { hostConfig } from './../animations/flyInOutTrigger-animation'; | |
import { | |
FormGroup, | |
FormControl, | |
Validators, |
From f1bafcca7344c48373b8a2c4efe88ae9cc893eea Mon Sep 17 00:00:00 2001 | |
From: Sedat Dilek <sedat.dilek@gmail.com> | |
Date: Mon, 11 Apr 2011 23:56:10 +0200 | |
Subject: [PATCH 1/2] x86, clang: Remove asmregparm from | |
syscall_trace_{enter,leave}() | |