Skip to content

Instantly share code, notes, and snippets.

View TS000's full-sized avatar

TylerS TS000

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ts000 on github.
  • I am ts000 (https://keybase.io/ts000) on keybase.
  • I have a public key ASDiNaGPNmlsBQXTyfyVopAufTwQNje2kyQtPK1vhuyrvAo

To claim this, I am signing this object:

@TS000
TS000 / index.html
Last active February 8, 2017 16:26
JSON from an API to Handlebars.js
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>API + Handlebars.js</title>
<!-- CSS -->
<link rel="stylesheet" href="style.css">
<!-- JS -->
<script src="//code.jquery.com/jquery-2.0.3.min.js"></script>
@TS000
TS000 / discogs-oauth.php
Created December 10, 2016 17:15 — forked from morecchia/discogs-oauth.php
Example OAuth access to the Discogs API
<?php
// This example uses a fork of the OAuthSimple library for PHP
// found here: https://github.com/tonefolder/oauthsimple/tree/master/php
//
// For more information about the OAuth process for applications
// accessing Discogs API, read:
// http://www.discogs.com/developers
require 'oauth.php';
$oauthObject = new OAuthSimple();
$scope = 'http://api.discogs.com';
@TS000
TS000 / title_changing_stuff.js
Created February 28, 2016 08:52 — forked from molovo/title_changing_stuff.js
Quick bit of JS to change page title when the user navigates away from the tab
( function () {
// This function does the dirty work of finding the event type and setting the appropriate title
var updatePageTitle = function ( evt ) {
var v = "This text should match your <title> element", // The title when tab is visible
h = "I Miss You! ❤", // The title when tab is hidden
evtMap = {
focus: v,
focusin: v,
pageshow: v,