Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Making things.

Cristina Solana CristinaSolana

💭
Making things.
View GitHub Profile
@CristinaSolana
CristinaSolana / index.html
Created Feb 20, 2013
Simple Responsive Grid - Simple SASS mixin generating a grid with nesting and offseting enabled for super quick prototypes. To do: properly clear first in row A CodePen by Cristina Solana
View index.html
<div class="container">
<header>
<code>
.mod--foo {
@include column-span(6, 3);
}
<br>// $column-count, $offset[optional]
<br>// To do: properly clear first in row
</code>
@CristinaSolana
CristinaSolana / responsive-table.scss
Last active Dec 13, 2015
Simplified responsive table for simple data sets. Wrapped all the unnecessary styling with: // Purely aesthetic ... // end aesthetic
View responsive-table.scss
@import "compass";
@mixin visuallyhidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0 0 0 0);
border: 0;
@CristinaSolana
CristinaSolana / Non-system Python on Mac
Created Nov 23, 2012
Use non system version of Python on Mac
View Non-system Python on Mac
1. Install Python.
2. Change default version of Python:
Add to .bashprofile or whatever file PATH is defined (for me, in: .zshrc) in:
alias python="python3"
@CristinaSolana
CristinaSolana / colorbar.scss
Created Aug 30, 2012
Sass Generated Colorbar
View colorbar.scss
// MARKUP EXAMPLE
// For styleguide use only
// <section class="colorbar-accent">
// <div class="colorbar-range-25"></div>
// <div class="colorbar-range-50"></div>
// <div class="colorbar-range-75"></div>
// <div class="colorbar-range-100"></div>
// </section>
%colorbar-props {
@CristinaSolana
CristinaSolana / gist:1885435
Created Feb 22, 2012
Keeping a fork up to date
View gist:1885435

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@CristinaSolana
CristinaSolana / application.js.coffee
Created Oct 12, 2011 — forked from ddemaree/application.js.coffee
Simple Google Maps API v3 integration in CoffeeScript, with non-JS Static Maps fallback
View application.js.coffee
#= require jquery
#= require jquery_ujs
#= require lib/modernizr
#= require lib/jquery.lettering
#= require_tree .
$ ->
$('*[data-googlemap]').googleMap()
true