Skip to content

Instantly share code, notes, and snippets.

View letanure's full-sized avatar
🏠
Working from home

luiz tanure letanure

🏠
Working from home
View GitHub Profile
(function($) {
// Used by dateinput
$.expr = {':': {}};
// Used by bootstrap
$.support = {};
// Used by dateinput
$.fn.clone = function(){
var ret = $();
@letanure
letanure / README.md
Created June 11, 2012 19:12 — forked from necolas/README.md
Experimenting with component-based HTML/CSS naming and patterns

Template Components

Used to provide structural templates.

Pattern

t-template-name
t-template-name--modifier-name
t-template-name__subcomponent-name--subcomponent-modifier-name
@letanure
letanure / estados-cidades.json
Last active May 27, 2024 17:15
JSON estados cidades do brasil, dividido por estados. segunda lista atualizada em 2020, dados do IBGE
{
"estados": [
{
"sigla": "AC",
"nome": "Acre",
"cidades": [
"Acrelândia",
"Assis Brasil",
"Brasiléia",
"Bujari",
@letanure
letanure / LICENSE
Created August 20, 2012 19:29 — forked from irae/LICENSE
Auto-growing textareas with jQuery — The perfectionist way
MIT License
===========
Copyright (c) 2009–2011
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@letanure
letanure / style_scoped_shim.js
Created November 8, 2012 15:51 — forked from richtr/style_scoped_shim.js
<style scoped> polyfill
/*!
* <style scoped> shim
* http://github.com/richtr
*
* Copyright 2012 Rich Tibbett
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
* Date: 8th November 2012
*/
@letanure
letanure / gist:4112494
Created November 19, 2012 18:22 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@letanure
letanure / demo eco
Created December 21, 2012 20:16 — forked from anonymous/demo eco
// app/views/libary/book.coffee
class App.BookView extends Backbone.View
tagName: 'li'
className: 'book'
template: JST['app/templates/library/book']
events:
'click a': 'addToReadingList'
render: ->
@mixin size($height: auto, $width: auto, $display: block )
display: $display
height: $height
width: $width
@mixin square($size: auto, $display: block )
+size($size, $size, $display)
@mixin absLT($left: 0, $top: 0 )
left: $left
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<title>P&B</title>
<style>
.imageWrap {
width: 500px;
margin: 100px auto;
position: relative;
<html>
<head>
<title></title>
</head>
<body>
<style type="text/css">
*{
margin: 0;
padding: 0;