I hereby claim:
- I am mitchellhislop on github.
- I am mitchellhislop (https://keybase.io/mitchellhislop) on keybase.
- I have a public key whose fingerprint is 1A71 0D09 7372 B9FD 7F50 48CF 0741 52EC FE83 1DCB
To claim this, I am signing this object:
| const GhostAdminAPI = require('@tryghost/admin-api'); | |
| const fs = require('fs'); | |
| const xml2js = require('xml2js'); | |
| const path = require('path'); | |
| const os = require('os'); | |
| const api = new GhostAdminAPI({ | |
| url: '<YOUR-GHOST-API-URL>', | |
| key: '<YOUR-GHOST-ADMIN-API-KEY>', | |
| version: 'v5.0' |
| <link rel="alternate" href="https://tensewatch.com" hreflang="en-us" /> | |
| <link rel="alternate" href="https://tensewatch.ca" hreflang="en-ca" /> | |
| <link rel="alternate" href="https://www.tensewatch.de" hreflang="de-de" /> | |
| <link rel="alternate" href="https://tensewatch.com" hreflang="en" /> |
| document.addEventListener('DOMContentLoaded', init, false) | |
| var videoId = document.getElementById('video') | |
| //var videoTitle = videoId.getAttribute('data-description') | |
| var videoTitle = '宝宝身边有怪物' | |
| function init () { | |
| videoId.addEventListener('ended', videoEnd, false) | |
| videoId.addEventListener('timeupdate', videoTimeUpdate, false) | |
| videoId.addEventListener('play', videoPlay, false) |
I hereby claim:
To claim this, I am signing this object:
| package controllers | |
| import play.api.Play.current | |
| import play.api.libs.oauth.{RequestToken, ServiceInfo, ConsumerKey, OAuth} | |
| import play.api.mvc.{RequestHeader, Action, Controller} | |
| import play.api.Play | |
| object Twitter extends Controller { | |
| val cfg = Play.application.configuration |
| $('#school .typeahead').typeahead({ | |
| name: 'schools', | |
| prefetch: { | |
| url: '/schoolsforstate/'+ state | |
| filter: (data)-> | |
| $.each data, ()-> | |
| datumAdd = { | |
| value: this.school_name | |
| id: this.id | |
| tokens:[ |
| echo "main(i){for(i=0;;i++)putchar(((i*(i>>8|i>>9)&46&i>>8))^(i&i>>13|i>>6));}" | gcc -x c - && ./a.out | aplay |
| db.default.logStatements=true | |
| //Add that to the application.conf, and comment out the Logger lines (~50 - ~60). Restart the play app, and you are now logging with gas! |
| # set the command prefix to match gnuscreen (i.e. CTRL+a) | |
| set -g prefix C-a | |
| bind-key C-a last-window | |
| # utf8 | |
| set-window-option -g utf8 on | |
| # statusbar background to black, foreground to white | |
| set-option -g status-fg white | |
| set-option -g status-bg black |
| <script> | |
| var BrowserDetect = { | |
| init: function() { | |
| this.browser = this.searchString(this.dataBrowser) || "An unknown browser"; | |
| this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "an unknown version"; | |
| this.OS = this.searchString(this.dataOS) || "an unknown OS"; | |
| }, | |
| searchString: function(data) { | |
| for (var i = 0; i < data.length; i++) { | |
| var dataString = data[i].string; |