Skip to content

Instantly share code, notes, and snippets.

View RobertShippey's full-sized avatar

Robert Shippey RobertShippey

View GitHub Profile
<?xml version="1.0"?>
<opml version="1.1">
<head>
<title>Castro 2 Podcast Feeds</title>
</head>
<body>
<outline xmlUrl="https://audioboom.com/channels/4920499.rss" text="Oddity" title="Oddity" type="rss" version="RSS"/>
<outline xmlUrl="http://feeds.soundcloud.com/users/soundcloud:users:206732011/sounds.rss" text="Polite Conversations" title="Polite Conversations" type="rss" version="RSS"/>
<outline xmlUrl="https://audioboom.com/channels/4946439.rss" text="What Am Politics?" title="What Am Politics?" type="rss" version="RSS"/>
<outline xmlUrl="http://rss.acast.com/talkingpolitics" text="TALKING POLITICS" title="TALKING POLITICS" type="rss" version="RSS"/>
@RobertShippey
RobertShippey / woo_customers.sql
Last active November 18, 2022 14:23
Export WooCommerce Products & Customers for Shopify Import
SELECT
`wp_users`.`user_email` AS `Email`,
`T1`.`meta_value` AS `First Name`,
`T2`.`meta_value` AS `Last Name`,
`T3`.`meta_value` AS `Total Spent`,
`T4`.`meta_value` AS `Total Orders`,
`T5`.`meta_value` AS `Country Code`,
`T6`.`meta_value` AS `City`,
`T7`.`meta_value` AS `Address1`,
`T8`.`meta_value` AS `Address2`,

Keybase proof

I hereby claim:

  • I am robertshippey on github.
  • I am robertshippey (https://keybase.io/robertshippey) on keybase.
  • I have a public key whose fingerprint is 9D1F 8CC8 E2AE EC42 2999 6349 553F A72F 02C6 E111

To claim this, I am signing this object:

@RobertShippey
RobertShippey / MCU.csv
Last active July 3, 2022 00:38
Marvel Cinematic Universe - List of all TV shows and movies
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
See https://github.com/RobertShippey/MCU/blob/master/MCU.csv
@RobertShippey
RobertShippey / colours.scss
Last active August 29, 2015 14:16
Batch create colour classes
//map global variables with front end class names
$globals: (
"text" : $text-color,
"bg" : $bg-color,
"pg" : $pg-color,
"primary" : $primary-color,
"secondary" : $secondary-color,
"tertiary" : $tertiary-color);
// for each vairable
<?php
$folder = '/path/to/folder/';
$watermark = '/path/to/Logo.jpg';
$files = scandir($folder);
foreach($files as $file) {
//do your work here
var_dump($folder.$file);
// Load the stamp and the photo to apply the watermark to
<script>
function switchFrame(a) {
f = document.getElementById("preview");
l = document.getElementById("endLink");
if( f.src == a.href ) {
if( f.style.display == "inline" ) {
f.style.display = "none";
l.style.display = "none";
} else {
f.style.display = "inline";
@RobertShippey
RobertShippey / gist:5596872
Created May 17, 2013 04:08
Icky semi-pseudo-code for the pi thing
url = "http://whatever.com/"
reference_page = ""
current_page = ""
wait_time = 5 * 60 #seconds
setup( )
while True:
download_page( )
if not same_as_reference( ):
@RobertShippey
RobertShippey / podio_bigdump.py
Created July 27, 2012 09:52 — forked from gadamc/podio_bigdump.py
podio_bigdump
#!/usr/bin/env python
from pypodio2 import api
import sys, shutil, os, json
c = api.OAuthClient(sys.argv[1],sys.argv[2], sys.argv[3], sys.argv[4])
orginfo = c.transport.get(url = '/org/')
def writerawtext(filename, data):
try:
<script type="text/javascript" src="http://api.geoloqi.com/js/geoloqi.min.js"></script>
<script type="text/javascript">
geoloqi.init();
geoloqi.auth = {'access_token': 'ecfd-02969442b655bda83da16a6abab0fea5b4f44dc3'};
function getLastLocation() {
geoloqi.get('place/nearby', function(result, error) {
document.write(response.places.name);
});