Skip to content

Instantly share code, notes, and snippets.

View eshiota's full-sized avatar

Eduardo Shiota Yasuda eshiota

View GitHub Profile
@eshiota
eshiota / gist:1b999fa206f086458df3
Created May 9, 2015 20:11
Books about Typography
The Elements of Typographic Style
Robert Bringhurst
EN: http://www.amazon.com/Elements-Typographic-Style-Robert-Bringhurst/dp/0881791326
PT-BR: http://editora.cosacnaify.com.br/ObraSinopse/11584/Elementos-do-estilo-tipogr%C3%A1fico---vers%C3%A3o-30.aspx
Thinking with Type
Ellen Lupton
EN: http://www.amazon.com/Thinking-Type-2nd-revised-expanded/dp/1568989695
PT-BR: http://editora.cosacnaify.com.br/ObraSinopse/1875/Pensar-com-tipos---2%C2%BA-edi%C3%A7%C3%A3o-%28Previs%C3%A3o-de-envio-a-partir-de-200415%29.aspx
Module("MYAPP.modules.MyModule", function (MyModule) {
MyModule.fn.initialize = function (el) {
this.element = $(el);
this.select = this.element.find("[data-foo-select]");
}
});
var mymodule = new MYAPP.modules.MyModule($("#mymodule"));
@eshiota
eshiota / gist:4130937
Created November 22, 2012 12:28
Testing form submission with jQuery and Jasmine
// sizeSelectionModule and addToCartModule are local variables that
// act as shortcuts to their namespaces
describe("when add to cart form is submitted", function () {
var $form;
beforeEach(function () {
// We use div instead of form so we can just mock the submit behavior
$form = $("<div />");
});
No HTML:
<div id="#my-cool-content">
<ul class="tabbed-content" data-name="[NOME EM DA FEATURE]" data-scope="[ID DO CONTAINER COM OS CONTEUDOS]">
<li><a href="#[NOME DA FEATURE]/[NOME DO CONTEUDO]" data-content="[TAB DO CONTEUDO]" data-url="[NOME DO CONTEUDO]">Lorem ipsum</a></li>
<li><a href="#[NOME DA FEATURE]/[NOME DO CONTEUDO]" data-content="[TAB DO CONTEUDO]" data-url="[NOME DO CONTEUDO]">Lorem ipsum</a></li>
</ul>
<div id="[ID DO CONTAINER COM OS CONTEUDOS]">
<div class="tab-content" data-tab="[TAB DO CONTEUDO]">

Shiota vende tudo (de Xbox 360)

Decidi que é hora de me desfazer do meu bom e velho Xbox 360. Estou listando aqui tudo o que tenho à venda.

Todos os preços são à vista, e quaisquer custos pra eventuais transportes serão pagos pelo comprador.

Quem se interessar pode mandar email para [email protected].

Games

@eshiota
eshiota / ux_referencias
Created November 5, 2011 15:58
UX para Developers - Referências
# UX para Developers - Referências
## Soluções prontas
- jQuery Mobile (http://www.jquerymobile.com)
- HTML 5 Boilerplate (http://html5boilerplate.com)
## Ferramentas
- Spin.js (http://fgnass.github.com/spin.js)