Skip to content

Instantly share code, notes, and snippets.

Avatar

Will Koffel wkoffel

View GitHub Profile
@wkoffel
wkoffel / Podfile,AppDelegate.swift,ViewController.swift
Last active Nov 30, 2018
Relevant Diffs from GCP Migration of Janus iOS
View Podfile,AppDelegate.swift,ViewController.swift
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
target 'Janus' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
platform :ios, '9.3'
# Pods for Janus
@wkoffel
wkoffel / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@wkoffel
wkoffel / gist:af26290e58613e025dd9
Created Oct 29, 2014
w͢͢͝h͡o͢͡ ̸͢k̵͟n̴͘ǫw̸̛s͘ ̀́w͘͢ḩ̵a҉̡͢t ̧̕h́o̵r͏̵rors̡ ̶͡͠lį̶e͟͟ ̶͝in͢ ͏t̕h̷̡͟e ͟͟d̛a͜r̕͡k̢̨ ͡h̴e͏a̷̢̡rt́͏ ̴̷͠ò̵̶f̸ u̧͘ní̛͜c͢͏o̷͏d̸͢e̡͝')
View gist:af26290e58613e025dd9
w͢͢͝h͡o͢͡ ̸͢k̵͟n̴͘ǫw̸̛s͘ ̀́w͘͢ḩ̵a҉̡͢t ̧̕h́o̵r͏̵rors̡ ̶͡͠lį̶e͟͟ ̶͝in͢ ͏t̕h̷̡͟e ͟͟d̛a͜r̕͡k̢̨ ͡h̴e͏a̷̢̡rt́͏ ̴̷͠ò̵̶f̸ u̧͘ní̛͜c͢͏o̷͏d̸͢e̡͝')
View keybase.md

Keybase proof

I hereby claim:

  • I am wkoffel on github.
  • I am wkoffel (https://keybase.io/wkoffel) on keybase.
  • I have a public key whose fingerprint is 6726 34EA 063C 5A52 6EFB 198B 5A74 69FB 954B B523

To claim this, I am signing this object:

@wkoffel
wkoffel / gist:9202324
Created Feb 25, 2014
Olympic Medals API from Javascript (with Access-Control-Allow-Origin: *)
View gist:9202324
$(document).ready(function() {
var URL = "http://olympics.clearlytech.com/api/v1/medals/"
$.ajax({
url: URL,
success: function(data) { console.log((data)); },
});
});
View print_date.php
php -r 'date_default_timezone_set("America/New_York"); print date("Y-m-d H:i:s\n", time());'
@wkoffel
wkoffel / simple-timestamp.html
Created May 25, 2013
Results of simple-timestamp.php
View simple-timestamp.html
<html>
<h3>Favorite Quotes</h3>
<strong>Seymour Cray</strong> famously said:
<blockquote>"The trouble with programmers is that you can never tell what a programmer is doing until it's too late."</blockquote>
I was reading this page on
2013-05-25 12:42:47
</html>
@wkoffel
wkoffel / simple-timestamp.php
Created May 25, 2013
Simple timestamp in PHP
View simple-timestamp.php
<html>
<h3>Favorite Quotes</h3>
<strong>Seymour Cray</strong> famously said:
<blockquote>"The trouble with programmers is that you can never tell what a programmer is doing until it's too late."</blockquote>
I was reading this page on
<?php
echo date("Y-m-d H:i:s", time());
?>
</html>
@wkoffel
wkoffel / full-favorite-quotes-example.html
Last active Dec 17, 2015
Example with full XHTML valid syntax
View full-favorite-quotes-example.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Favorite Quotes</title>
</head>
<body>
<h3>Favorite Quotes</h3>
<p><strong>Seymour Cray</strong> famously said:</p>
<blockquote>
View favorite-quotes-example.html
<html>
<h3>Favorite Quotes</h3>
<strong>Seymour Cray</strong> famously said:
<blockquote>"The trouble with programmers is that you can never tell what a programmer is doing until it's too late."</blockquote>
That is <em>so true</em>, don't you think?
</html>
You can’t perform that action at this time.