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
import styled from '@emotion/styled'
const BackToTopStyle = styled.div`
position: fixed;
bottom: ${tokens['--size-xlarge']};
right: ${tokens['--size-xlarge']};
background-color: #e9be62;
color: #000;
padding: 0.625rem 1.25rem;
border-radius: 0.3125rem;
import { styled } from '@pigment-css/react'
const BackToTopStyle = styled('div')<BackToTopStyleProps>({
position: 'fixed',
bottom: `${Tokens.sizes.xlarge}rem`,
right: `${Tokens.sizes.xlarge}rem`,
backgroundColor: '#e9be62',
color: '#000',
padding: `${10 / 16}rem ${Tokens.sizes.medium}rem`,
borderRadius: `${5 / 16}rem`,

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);