Skip to content

Instantly share code, notes, and snippets.

View jpavon's full-sized avatar

Julio Pavón jpavon

View GitHub Profile
@jpavon
jpavon / gist:5833682
Last active December 18, 2015 19:29
Element query workaround
@mixin elementquery() {
@media (min-width: 32.5em) { .content & { @content; } }
@media (min-width: 90em) { .aside & { @content; } }
}
.schedule-component {
@jpavon
jpavon / gitconfig
Created June 29, 2012 20:16
.gitconfig
[core]
autocrlf = true
safecrlf = true
[alias]
co = checkout
ci = commit
st = status
b = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
@jpavon
jpavon / Monokai Soda
Created June 22, 2012 09:49
Sublime Text 2 Theme modified
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Monokai Soda</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
@jpavon
jpavon / Keymaps Windows
Created June 22, 2012 09:46
Sublime Text 2 Config
[
{ "keys": ["ctrl+b"], "command": "toggle_side_bar" },
// Toggle Comments
{ "keys": ["alt+q"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+alt+q"], "command": "toggle_comment", "args": { "block": true } },
// HTML tag wrap
{ "keys": ["ctrl+q"], "command": "insert_snippet", "args": { "contents": "<${1:p}>${2:$SELECTION}</${1/([^ ]+).*/$1/}>" } },
@jpavon
jpavon / .htaccess
Created April 15, 2012 10:19 — forked from necolas/.htaccess
Simple, quick way to concatenate, minify, and version static files in a Wordpress theme
# Filename-based cache busting
# taken from https://github.com/h5bp/html5-boilerplate/
# This rewrites file names of the form `name.123456.js` to `name.js`
# so that the browser doesn't use the cached version when you have
# updated (but not manually renamed) the file.
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On