Skip to content

Instantly share code, notes, and snippets.

View timia2109's full-sized avatar
👋

Tim Ittermann timia2109

👋
View GitHub Profile
@tuogex
tuogex / gist.lua
Last active June 18, 2022 18:04
Gist client for ComputerCraft. Uses JSON library from http://regex.info/blog/lua/json
-- --
-- gist client - tuogex
-- --
JSON = (loadfile "json.lua")()
--helper functions
function printHelp()
print("Gist client by tuogex")
print("-i <gistId> - Gets information about a gist")
print("-if <gistId> <gistFileName> - Gets information about a single file in the gist")
@kasparsd
kasparsd / custom-post-taxonomy-permalinks.php
Created June 13, 2012 15:47
Create permalink structure URLs for custom post types that include all parent terms from a custom taxonomy
<?php
/*
Term Archive Pages:
- http://example.com/recipes/dinner/
- http://example.com/recipes/breakfast,brunch/
Single Recipe Pages:
- http://example.com/recipes/dinner/soup-title/
@theconektd
theconektd / github.css
Created April 30, 2012 02:11
Github Markdown CSS - for Markdown Editor Preview
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {
@michaelfox
michaelfox / Plist_parser.php
Created March 26, 2011 19:30
A PHP Class for Parsing OS X Plist files
<?php
/**
* Plist Parser Class
*
* Usage:
* ======
* $plist = Plist::from_file("~/Music/iTunes/iTunes Music Library.xml");
* print_r($plist->as_array());
*/