Skip to content

Instantly share code, notes, and snippets.

View jasonrundell's full-sized avatar
:octocat:
Open to work! Hybrid or remote doing full stack, front end, or leading a team.

Jason Rundell jasonrundell

:octocat:
Open to work! Hybrid or remote doing full stack, front end, or leading a team.
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jasonrundell on github.
  • I am jasonrundell (https://keybase.io/jasonrundell) on keybase.
  • I have a public key ASBXjb6C2ICWYgXQqjOhos-_q39exxjBbK7I1NTHb4ukggo

To claim this, I am signing this object:

<html lang="en">
<head>
<meta charset="UTF-8" />
<link
rel="apple-touch-icon"
type="image/png"
href="https://static.codepen.io/assets/favicon/apple-touch-icon-5ae1a0698dcc2402e9712f7d01ed509a57814f994c660df9f7a952f3060705ee.png"
/>
<meta name="apple-mobile-web-app-title" content="CodePen" />
<link
<?php
$datestamp = date("Y-m-d"); // used with file naming
$domain = "domain.com"; // change to the domain name of your client
$email = "[email protected]"; // change to your contact email
$db_host = "YOUR_DB_HOST";
$db_user = "YOUR_DB_USERNAME";
$db_pass = "YOUR_DB_PASSWORD";
$db_name = "YOUR_DB_NAME";
$csv_file_path = "$domain-$datestamp.csv";
$s3_bucket = "your_s3_bucket_name"; // the name of your root backup folder on S3
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@jasonrundell
jasonrundell / Loader-Love-css3.markdown
Created February 14, 2014 21:12
A Pen by Jason Rundell.
@jasonrundell
jasonrundell / birdnapper-1-1-widget.php
Created June 25, 2012 02:15
Birdnapper- 1.1 (Widget)
<ul>
<li>
<div class="sidebarbox">
<h2 class="widgettitle">Twitter Feed</h2>
<?php include($_SERVER['DOCUMENT_ROOT']."/wp-content/plugins/birdnapper/birdnapper.php"); ?>
<?php echo birdnapping("TwitterUserName",5); ?>
</div></li>
</ul>
<?php
function birdnapping($strUsername,$intShowTweets) {
$html_url="http://twitter.com/$strUsername";
$handle = @fopen($html_url, "r");
if ($handle) {
@jasonrundell
jasonrundell / simple-unicode-decoder-for-php.php
Created June 22, 2012 15:08
Simple Unicode Decoder for PHP
<?php
function simple_unicode_decode($str) {
$str=str_ireplace("u0001","?",$str);
$str=str_ireplace("u0002","?",$str);
$str=str_ireplace("u0003","?",$str);
$str=str_ireplace("u0004","?",$str);
$str=str_ireplace("u0005","?",$str);
$str=str_ireplace("u0006","?",$str);
$str=str_ireplace("u0007","•",$str);
@jasonrundell
jasonrundell / php-akamai-purge.php
Created December 21, 2011 03:53
A simple function to include into your own project for sending a purge request via PHP SOAP. Follow/Fork me at https://github.com/jasonrundell/PHP-Akamai-Purge.
<?php
/*************************
*
PHP Akamai Purge
*
By: Jason Rundell <jason dot rundell (at) gmail dot com> http://jasonrundell.com @jasonrundell
Started: December 20th 2011
Fork me: https://github.com/jasonrundell/PHP-Akamai-Purge
Cudos: https://github.com/hradtke http://hermanradtke.com @hermanradtke
I came across https://bugs.php.net/bug.php?id=43910 while doing a Google search for