Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am tonyedwardspz on github.
  • I am tonyedwardspz ( on keybase.
  • I have a public key ASA0_Z0UN9j4cIb-2UDxcXqwljwT8CMYeePthl0YcQPc0Qo

To claim this, I am signing this object:

View serviceWorkerClient.js
'use strict';
var CACHE_NAME = 'psw-cache-v1';
var urlsToCache = [
self.addEventListener('install', function(event) {
View Helpers.swift
extension UITextField {
func underlined(){
let border = CALayer()
let width = CGFloat(1.0)
border.borderColor = UIColor.lightGrayColor().CGColor
border.frame = CGRect(x: 0, y: self.frame.size.height - width, width: self.frame.size.width, height: self.frame.size.height)
border.borderWidth = width
self.layer.masksToBounds = true
View FlipAhead.php
$single = (is_single() ? TRUE : FALSE);
if ($single){
$prevPost = get_previous_post();
if (!empty( $prevPost )){ ?>
<link rel="prev" href="<?php echo get_permalink($prevPost->ID); ?>"/>
<?php }
$nextPost = get_next_post();
if (!empty( $nextPost )) { ?>
<link rel="next" href="<?php echo get_permalink($nextPost->ID); ?>"/>
View grid-list.html
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
The complete set of authors may be found at
The complete set of contributors may be found at
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at
tonyedwardspz / daily-dilbert.html
Created Sep 26, 2015
A intermediate step from the daily Dilbert polymer element tutorial
View daily-dilbert.html
<link rel="import" href="../polymer/polymer.html">
An element for displaying the Deilbert Cartoon of the day.
@group Seed Elements
tonyedwardspz / javascriptDateFormatting.html
Created Sep 15, 2015
A way method to format a date in javascript
View javascriptDateFormatting.html
<!DOCTYPE html>
<p id="demo"></p>
<p id="format"></p>
var date = new Date("2015-03-25T12:00:00");
tonyedwardspz /
Last active Sep 9, 2015 — forked from mordonez/
Trello Job for Dashing
tonyedwardspz /
Last active Dec 22, 2015 — forked from camillebaldock/
Dashing Trello widget


A Dashing widget for displaying the number of items of lists on a Trello board.

screen shot

See a live demo here.


You can’t perform that action at this time.