Skip to content

Instantly share code, notes, and snippets.

View jheidt's full-sized avatar
💭
:shipit: 👍

Jake jheidt

💭
:shipit: 👍
View GitHub Profile
@jheidt
jheidt / add-pidgin-smiley.sh
Last active August 29, 2015 14:01
Create a pidgin smily from an image file
#!/bin/bash
#- add-pidgin-smily 0.1
#- Copyright (C) 2014 Jake Heidt [email protected]
##
##
## :D :D :D CREATES PIDGIN SMILIES :D :D :D
##
##
#!/usr/bin/env ruby
require 'uri'
require 'yajl'
require 'json'
require 'json-schema'
require 'net/http'
require 'digest/sha1'
s3_data_transfer_schema = {
@jheidt
jheidt / local.conf
Created July 16, 2013 15:17
Fontconfig local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
save this file as /etc/fonts/local.conf
-->
<match target="font">
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
@jheidt
jheidt / wkb.rb
Last active December 16, 2015 02:39
Messing around with a ruby Well-Known-Binary converter.
module WellKnownBinary
require 'bindata'
TYPE_ID = {
:point => 1,
:linestring => 2,
:polygon => 3,
:multipoint => 4,
:multilinestring => 5,
@jheidt
jheidt / formatsql.ps1
Created April 5, 2013 16:49
Updated version of Arvind Shyamsundar's 'pretty print sql' script. Accepts strings or files from the pipeline and writes to pipeline output.
<#
.SYNOPSIS
'Pretty print' a given T-SQL script
.DESCRIPTION
This script will format T-SQL scripts
.NOTES
Author : Arvind Shyamsundar ([email protected])