Skip to content

Instantly share code, notes, and snippets.

Making things.

Cristina Solana CristinaSolana

Making things.
Block or report user

Report or block CristinaSolana

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
CristinaSolana /
Created Oct 12, 2011 — forked from ddemaree/
Simple Google Maps API v3 integration in CoffeeScript, with non-JS Static Maps fallback
#= require jquery
#= require jquery_ujs
#= require lib/modernizr
#= require lib/jquery.lettering
#= require_tree .
$ ->
CristinaSolana / gist:1885435
Created Feb 22, 2012
Keeping a fork up to date
View gist:1885435

1. Clone your fork:

git clone

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

cd into/cloned/fork-repo
git remote add upstream git://
git fetch upstream
CristinaSolana / colorbar.scss
Created Aug 30, 2012
Sass Generated Colorbar
View colorbar.scss
// 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 / 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 / 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 / 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">
.mod--foo {
@include column-span(6, 3);
<br>// $column-count, $offset[optional]
<br>// To do: properly clear first in row
CristinaSolana / SCSS Mixin for rem + px fallback on multiple properties and property lists
Last active Jan 9, 2019
SCSS Mixin for rem + px fallback on multiple properties and property lists
View SCSS Mixin for rem + px fallback on multiple properties and property lists
// Global Vars
$basefontsize: 16 !default;
// Mixins
// input pixel value unitless: 8 vs 8px
// ex. @include rem(padding, 8 12 16 24)
@mixin rem($property, $px: $basefontsize) {
View Joomla-JS-Styleguide
// We hesitate to use the words 'good' or 'bad', since this is a contributor's guide for our code base and not a critique of techniques. We've replaced them with:
// No (as in, not our way) and Yes (this is what we expect from contributions)
/* Reserved Words */
// Do not use reserved words for anything other than the language intended use. A list of these words can be found at:
/* Variables */
// Avoid Global Variables
View Electron tracker (parse.ino)
// This #include statement was automatically added by the Spark IDE.
#include "Adafruit_GPS.h"
#include <math.h>
#define mySerial Serial1
Adafruit_GPS GPS(&mySerial);
// Set GPSECHO to 'false' to turn off echoing the GPS data to the Serial console
View Electron tracker (Adafruit_GPS.cpp)
This is our GPS library
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries.
BSD license, check license.txt for more information
All text above must be included in any redistribution
You can’t perform that action at this time.