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
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: http://es5.github.io/#x7.6.1
/* Variables */
// Avoid Global Variables
@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 / 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 / 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;
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
View Electron Tracker (Adafruit_GPS.h)
/***********************************
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
@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
@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>
View hero-graphql-query
{
id
name
description
thumbnail
resourceURI
}
You can’t perform that action at this time.