Skip to content

Instantly share code, notes, and snippets.

View octavioamu's full-sized avatar
:octocat:
Working from home

Octavio Amuchástegui octavioamu

:octocat:
Working from home
View GitHub Profile
@octavioamu
octavioamu / clear files
Created March 17, 2015 19:00
clear trash files
find . -name '*.DS_Store' -type f -delete
<input type="url" id="cadastro-site" placeholder="http://www.site.com" pattern="^(http://|https://)(www\.)?([a-zA-Z0-9]+)(\.)([a-zA-Z0-9]+)(\.[a-z]{2})?">
<input type="text" pattern="\d{2}.?\d{3}.?\d{3}/?\d{4}-?\d{2}|(^\d{3}\.\d{3}\.\d{3}-\d{2})|(^\d{3}\d{3}\d{3}\d{2})$" id="cadastro-cnpj" placeholder="00.000.000/0000-00" required><!-- 00.000.000/0000-00 ou 000.000.000-00 ou 00000000000 -->
<div class="controls">
<input type="tel" id="cadastro-tel" maxlength="2" class="" placeholder="00" pattern="^([0-9]{2})$" required>
<input type="tel" maxlength="10" class="span2" placeholder="0000-0000" required pattern="^([9]{1})?([0-9]{4})-([0-9]{4})|^([9]{1})?([0-9]{4})([0-9]{4})$">
</div>
@octavioamu
octavioamu / Preferences.sublime-settings
Created January 15, 2015 18:11
Preferences.sublime-settings
{
"bold_folder_labels": true,
"color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme",
"dictionary": "Packages/Language - English/en_US.dic",
"font_face": "Source Code Pro",
"font_options":
[
"subpixel_antialias"
],
"font_size": 12,
@octavioamu
octavioamu / conditional.html
Created December 16, 2014 01:55
conditional ie
<!--[if lt IE 7 ]> <html class="ie6" lang="pt-br"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7" lang="pt-br"> <![endif]-->
<!--[if IE 8 ]> <html class="ie8" lang="pt-br"> <![endif]-->
<!--[if IE 9 ]> <html class="ie9" lang="pt-br"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="pt-br"> <!--<![endif]-->
@octavioamu
octavioamu / icon.svg
Created March 26, 2014 16:59
change icon color with hash
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// Sample grunt-jekyll grunt.js file
// https://github.com/dannygarcia/grunt-jekyll
/*global module:false*/
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jekyll: {
@octavioamu
octavioamu / GrunFile.js
Created January 11, 2014 16:43
Grunt configuration w/ commands execs
/*!
* Project Gruntfile
*/
'use strict';
module.exports = function( grunt ) {
// Dynamically load npm tasks