Skip to content

Instantly share code, notes, and snippets.

View alexisg's full-sized avatar
🐶
Always a puppy

Alexis Gallisá alexisg

🐶
Always a puppy
View GitHub Profile
@alexisg
alexisg / SassMeister-input.scss
Created March 7, 2016 17:47
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
// color variable map
$colors: (
base: #FFBB00,
light: base (lighten: 15%),
dark: base (darken: 15%),
@alexisg
alexisg / Github3.css
Created July 10, 2015 18:08
Github CSS for MacDown
@font-face {
font-family: octicons-anchor;
src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAYcAA0AAAAACjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAca8vGTk9TLzIAAAFMAAAARAAAAFZG1VHVY21hcAAAAZAAAAA+AAABQgAP9AdjdnQgAAAB0AAAAAQAAAAEACICiGdhc3AAAAHUAAAACAAAAAj//wADZ2x5ZgAAAdwAAADRAAABEKyikaNoZWFkAAACsAAAAC0AAAA2AtXoA2hoZWEAAALgAAAAHAAAACQHngNFaG10eAAAAvwAAAAQAAAAEAwAACJsb2NhAAADDAAAAAoAAAAKALIAVG1heHAAAAMYAAAAHwAAACABEAB2bmFtZQAAAzgAAALBAAAFu3I9x/Nwb3N0AAAF/AAAAB0AAAAvaoFvbwAAAAEAAAAAzBdyYwAAAADP2IQvAAAAAM/bz7t4nGNgZGFgnMDAysDB1Ml0hoGBoR9CM75mMGLkYGBgYmBlZsAKAtJcUxgcPsR8iGF2+O/AEMPsznAYKMwIkgMA5REMOXicY2BgYGaAYBkGRgYQsAHyGMF8FgYFIM0ChED+h5j//yEk/3KoSgZGNgYYk4GRCUgwMaACRoZhDwCs7QgGAAAAIgKIAAAAAf//AAJ4nHWMMQrCQBBF/0zWrCCIKUQsTDCL2EXMohYGSSmorScInsRGL2DOYJe0Ntp7BK+gJ1BxF1stZvjz/v8DRghQzEc4kIgKwiAppcA9LtzKLSkdNhKFY3HF4lK69ExKslx7Xa+vPRVS43G98vG1DnkDMIBUgFN0MDXflU8tbaZOUkXUH0+U27RoRpOIyCKjbMCVejwypzJJG4jIwb43rfl6wbwanocrJm9XFYfskuVC5K/TPyczNU7b84CXcbxks1Un6H6tLH9vf2LRnn8Ax7A5WQAAAHicY2BkYGAA4teL
@alexisg
alexisg / noderemove.sh
Last active August 29, 2015 14:19
Delete all traces of the node.js binary installer so you can properly use brew node
#!/bin/bash
# nodereinstall
# credit:
# http://stackoverflow.com/a/11178106/2083544
# https://gist.github.com/nicerobot/2697848
# Updated to delete systemtap used by node 0.11
# get sudo
sudo -v
@alexisg
alexisg / Gruntfile.js
Last active September 23, 2015 08:05
Webhook.com libsass, autoprefix with css livereload flow.
// This setup will compile sass, run autoprefixer and then launch webhook's default grunt tasks.
// I also uses webhook's build-static task so that it only builds the css and
// allows livereload to refresh the css alone instead of refreshing the entire page.
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
watch: {
sass: {
@alexisg
alexisg / gist:75c300cf36081a9f2b1a
Created January 21, 2015 05:04
Log last week of Git Commits sorted by author across all branches
alias logall="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --date=short --all --since=1.week.ago --stat --author-date-order"
@alexisg
alexisg / gist:4332678
Created December 18, 2012 22:28
Enable HiDPI (retina) mode on non-retina macs. * Credit to whoever I stole this from who I am sure pulled it from the windowserver plist file.
// In Terminal copy paste this command. Reboot and under displays you should find HiDPI modes.
sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool YES;
@alexisg
alexisg / responsive.html
Created April 12, 2012 19:03 — forked from gmodarelli/responsive.html
Simple responsive design test page. More info here: http://bricss.net/post/16538278376/simple-responsive-design-test-page. Forked by alexisg to add 15 pixels of width to frame sizes (for scrollbars) and added mobile landscape/large desktop sizes. Simply a
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Responsive Design Testing</title>
<style type="text/css">
body {
background: url(http://subtlepatterns.com/patterns/whitey.png);
font-family: sans-serif;
margin: 20px;