Skip to content

Instantly share code, notes, and snippets.

View CristinaSolana's full-sized avatar
💭
Making things.

Cristina Solana CristinaSolana

💭
Making things.
View GitHub Profile
@CristinaSolana
CristinaSolana / gist:1885435
Created February 22, 2012 14:56
Keeping a fork up to date

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 / colorbar.scss
Created August 30, 2012 18:31
Sass Generated Colorbar
// 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 / Non-system Python on Mac
Created November 23, 2012 02:58
Use non system version of 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 / responsive-table.scss
Last active December 13, 2015 17:19
Simplified responsive table for simple data sets. Wrapped all the unnecessary styling with: // Purely aesthetic ... // end aesthetic
@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 / index.html
Created February 20, 2013 17:24
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
<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 / SCSS Mixin for rem + px fallback on multiple properties and property lists
Last active March 11, 2020 13:54
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) {
// 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
/***********************************
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
/***********************************
This is the Adafruit GPS library - the ultimate GPS library
for the ultimate GPS module!
Tested and works great with the Adafruit Ultimate GPS module
using MTK33x9 chipset
------> http://www.adafruit.com/products/746
Pick one up today at the Adafruit electronics shop
and help support open source hardware & software! -ada
[
{
"id": 1009189,
"name": "Black Widow",
"description": "",
"modified": "2016-01-04T18:09:26-0500",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/f/30/50fecad1f395b",
"extension": "jpg"
},