Skip to content

Instantly share code, notes, and snippets.

@chrissimpkins
chrissimpkins / Dot-loading.markdown
Last active Aug 29, 2015
A Pen by Chris Simpkins.
View Dot-loading.markdown
@chrissimpkins
chrissimpkins / gist:2b467ba623cb8dc9170b
Created Jul 14, 2015
Tweetledee userrss.php - no author account in text
View gist:2b467ba623cb8dc9170b
<?php
/***********************************************************************************************
* Tweetledee - Incredibly easy access to Twitter data
* userrss.php -- User timeline results formatted as a RSS feed
* Version: 0.4.1
* Copyright 2014 Christopher Simpkins
* MIT License
************************************************************************************************/
/*-----------------------------------------------------------------------------------------------
==> Instructions:
View Basic UFO Master Comparison in RoboFont DrawBot extension
# design settings
gutter = 60
radius = 6
pageW = 1600
# draw filled outline or contours
contour = False
# draw nodes and bluezones and vertical metrics?
@chrissimpkins
chrissimpkins / glue-man.json
Created Apr 7, 2014
Glue Extension - Man Pages
View glue-man.json
{
"man": "man {{args}} | col -bx"
}
View sublime-text-keyboard-shortcuts.md

Editing

Command

Mac OSX

Windows

Linux

Delete Line ⌘ + X Ctrl + X Ctrl + X
Insert Line After ⌘ + Ctrl + Ctrl +
Insert Line Before ⌘ + ⇧ + Ctrl + ⇧ + Ctrl + ⇧ +
Move Line Up ⌘ + ⌃ + ↑ Ctrl + ⇧ + ↑ Ctrl + ⇧ + ↑
Move Line Down ⌘ + ⌃ + ↓ Ctrl + ⇧ + ↓ Ctrl + ⇧ + ↓
Select Line ⌘ + L Ctrl + L Ctrl + L
Select Word ⌘ + D Ctrl + D Ctrl + D
@chrissimpkins
chrissimpkins / FontPreview.swift
Created Dec 24, 2015 — forked from leonbreedt/FontPreview.swift
Render font from command line on OS X without requiring font to be installed.
View FontPreview.swift
//
// FontPreview
// Copyright © 2015 Leon Breedt
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
@chrissimpkins
chrissimpkins / gemify.sh
Created Nov 10, 2013
Automated Ruby gem build and distribution to rubygems.org
View gemify.sh
#!/bin/sh
# gemify.sh
# Create a Ruby gem and push it to rubygems.org
# Copyright 2013 Christopher Simpkins
# MIT License
# Enter your gem name below (do not enter version number or .gemspec suffix)
# or pass it as the first argument to the shell script
GEM_NAME=""
@chrissimpkins
chrissimpkins / octopress_pagination
Created Dec 6, 2013
Octopress pagination example
View octopress_pagination
<footer>
<p class="meta">
{% include post/author.html %}
{% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %}
{% include post/categories.html %}
</p>
{% unless page.sharing == false %}
{% include post/sharing.html %}
{% endunless %}
<p class="meta">
@chrissimpkins
chrissimpkins / fontsmoothie.js
Created Jan 26, 2016 — forked from letorbi/fontsmoothie.js
This code enforces font-smothing for web fonts even if it's not enabled in the system settings. More info: http://pixelsvsbytes.com/blog/2013/02/nice-web-fonts-for-every-browser
View fontsmoothie.js
// Font Smoothie copyright 2013,14,15 Torben Haase <http://pixelsvsbytes.com>
// Source-URL <https://gist.github.com/letorbi/5177771>
//
// Font Smoothie is free software: you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option) any
// later version.
//
// Font Smoothie is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
View iconconv.sh
#!/bin/bash
# icoconv.sh
# Copyright 2016 Christopher Simpkins
# Adapted from shell script by Denilson Sá at https://superuser.com/questions/40623/icons-command-line-generator#40629
# MIT License
# Dependencies:
# 1. imagemagick (http://www.imagemagick.org/)
# 2. icoutils (http://www.nongnu.org/icoutils/)
You can’t perform that action at this time.