Skip to content

Instantly share code, notes, and snippets.

Ulises Vázquez Espinoza espinozaulises

View GitHub Profile
View OpenSans.css
/*==========================================================
Open Sans
==========================================================*/
@fontPath: '../fonts'; /* LESS Syntaxis. Replace this in CSS */
@font-face {
font-family: 'OpenSansLight';
src: url('@{fontPath}/OpenSans-Light-webfont.eot');
src: url('@{fontPath}/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
url('@{fontPath}/OpenSans-Light-webfont.woff') format('woff'),
url('@{fontPath}/OpenSans-Light-webfont.ttf') format('truetype'),
@espinozaulises
espinozaulises / csv_to_array.php
Created Sep 20, 2012 — forked from jaywilliams/csv_to_array.php
Convert a comma separated file into an associated array.
View csv_to_array.php
<?php
/**
* Convert a comma separated file into an associated array.
* The first row should contain the array keys.
*
* Example:
*
* @param string $filename Path to the CSV file
* @param string $delimiter The separator used in the file
* @return array
@espinozaulises
espinozaulises / fonts.css
Created Sep 9, 2012
Style Sheet Open Sans @font-face kit
View fonts.css
/*==========================================================
Open Sans
==========================================================*/
@font-face {
font-family: 'Open Sans';
src: url('fontPath/OpenSans-Light-webfont.eot');
src: url('fontPath/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
url('fontPath/OpenSans-Light-webfont.woff') format('woff'),
url('fontPath/OpenSans-Light-webfont.ttf') format('truetype'),
url('fontPath/OpenSans-Light-webfont.svg#OpenSansLight') format('svg');
You can’t perform that action at this time.