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

Keybase proof

I hereby claim:

  • I am persand on github.
  • I am per (https://keybase.io/per) on keybase.
  • I have a public key ASASOIDAf4cBCq3v5iElTA31sa2E5w_eyULqAnIfcfMDewo

To claim this, I am signing this object:

@persand
persand / hyperstyle-large-screens.css
Created October 7, 2017 07:53
hyperpixel.io: Better support for large screens
@media (min-width:1400px) {
.container {
width:100%;
}
.col-md-4 {
width:25%
}
}
@media (min-width:1680px) {
@persand
persand / google-analytics-track-external-links-and-files.js
Created April 29, 2015 16:37
Track external file downloads, file downloads and external links in Google Analytics.

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:

@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">
@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 / 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 / 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 / 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 / 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
}