Skip to content

Instantly share code, notes, and snippets.

View persand's full-sized avatar
🙈
Being patched by monkeys

Per Sandström persand

🙈
Being patched by monkeys
View GitHub Profile
@persand
persand / install.log.textile
Created May 29, 2010 16:12 — forked from hugowetterberg/install.log.textile
List of stuff to install on a new dev machine

Apps

@persand
persand / Drupal Pathauto i18n-ascii.txt – extended version
Created July 4, 2010 15:50
Modified i18n-ascii.txt for Drupal Pathauto module
; More thorough than the original. Use this with Pathauto 6.x-1.x.
; Here are the modifications:
; 1. Ü, Ä and Ö characters converted to u, a and o instead of ue, ae and oe.
; 2. Common typographic punctation (dashes, quotation marks and more) added at the bottom.
; global transliteration
[default]
À = "A"
Á = "A"
 = "A"
@persand
persand / Questions
Created September 10, 2011 15:08
GOTO Amsterdam
Day job: Designer/Developer and partner at http://github.com/kollegorna
What is your language of choice: English (although my mother tongue is swedish)
Open Source contributions: http://github.com/persand and http://drupal.org/project/user/224831
How do you use GitHub: For personal stuff, open source projects as well as client work.
@persand
persand / gist:1355589
Created November 10, 2011 18:01
Bash script for github.com/x URL:s -> git.io
function shit() {
if [ -n "$2" ]; then
curl -i http://git.io -F url=https://github.com/"$1" -F code="$2";
else
curl -i http://git.io -F url=https://github.com/"$1";
fi
}
@persand
persand / gist:1355592
Created November 10, 2011 18:02
Bash script for gist.github.com/x URL:s -> git.io
function shist() {
if [ -n "$2" ]; then
curl -i http://git.io -F url=https://gist.github.com/"$1" -F code="$2";
else
curl -i http://git.io -F url=https://gist.github.com/"$1";
fi
}
@persand
persand / niice_alfred
Last active December 15, 2015 02:09
Niice.co custom search for Alfred App
alfred://customsearch/Search%20Niice/niice/utf8/noplus/http://www.niice.co/?search={query}
@persand
persand / Preferences.sublime-settings
Created November 28, 2013 16:41
My Sublime Text 3 preferences
{
"auto_indent": true,
"bold_folder_labels": true,
"caret_style": "wide",
"color_scheme": "Packages/Theme - Flatland/Flatland Dark.tmTheme",
"detect_indentation": true,
"ensure_newline_at_eof_on_save": true,
"fade_fold_buttons": false,
"fallback_encoding": "UTF-8",
"fold_buttons": true,
@persand
persand / Preferences.sublime-settings
Created September 27, 2014 17:57
My Sublime Text default settings
{
"auto_indent": true,
"bold_folder_labels": false,
"caret_style": "wide",
"color_scheme": "Packages/Theme - Spacegray/base16-eighties.dark.tmTheme",
"detect_indentation": true,
"ensure_newline_at_eof_on_save": true,
"fade_fold_buttons": false,
"fallback_encoding": "UTF-8",
"fold_buttons": true,
@persand
persand / better-skitch-svg-export.html
Last active November 23, 2016 19:26
Better Sketch SVG export with: defaults write com.bohemiancoding.sketch3 exportCompactSVG -bool yes
<!--
Example with:
defaults write com.bohemiancoding.sketch3 exportCompactSVG -bool yes
via: http://robots.thoughtbot.com/organized-workflow-for-svg
-->
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">

Keybase proof

I hereby claim:

  • I am persand on github.
  • I am per (https://keybase.io/per) on keybase.
  • I have a public key whose fingerprint is F47B 8F26 6897 8A95 057C 96FB E142 0B0C 37D7 7136

To claim this, I am signing this object: