Skip to content

Instantly share code, notes, and snippets.

View nncl's full-sized avatar

Cauê Almeida nncl

View GitHub Profile
@nncl
nncl / index.html
Created February 22, 2014 12:25
Página Inicial do App
<!-- Página HOME -->
<div class="layout-pagina-home" data-role="page" id="home">
<div id="home">
<div align="center">
<img src="images/logo-app.png" width="100" alt="logoapp">
</div>
<div align="center">
<img src="images/logo.png" alt="logo">
<h2>Reunindo pessoas diferentes<br/> com mesmos interesses em<br/> lugares legais.</h2>
<div class="rodapehome">
@nncl
nncl / style-index.css
Created February 22, 2014 12:28
CSS Página Inicial do App
#home{background:#FFF;}
#home h2{font: 18px arial; margin-top:50px; color:gray;}
#home a{text-decoration:none;}
#home .rodapehome{margin-top:100px;}
#home .facebook{float:left; margin-top:-25px; margin-left:13%;}
@nncl
nncl / entrar.html
Created February 22, 2014 13:49
Página Entrar com campos
<!-- entrar -->
<div class="layout-pagina-entrar" data-role="page" id="entrar">
<div align="center">
<div align="center">
<img src="images/logo-app.png" width="100" alt="logoapp">
</div>
<div class="cadastrar">
<form>
<input type="text" name="text" id="txt-nome" placeholder="Usuário">
<input type="password" name="text" id="txt-email" placeholder="Senha">
@nncl
nncl / gist:9156497
Created February 22, 2014 15:23
Página inicial depois do login
<!-- Página Inicial -->
<div class="layout-pagina-inicial" data-role="page" data-fullscreen="true"id="index">
<div data-role="header" class="header">
<!-- novo menu -->
<a id="simple-menu" href="#sidr">Menu</a>
<div id="sidr">
<ul>
<li class="active"><a href="#formulario-cadastro-evento">Cadastrar Eventos</a></li>
<li><a href="#">List 3</a></li>
@nncl
nncl / Din Stuff.md
Last active August 14, 2017 22:04
How to create virtual machines, import/export databases, make a deploy on server and much more.

Din Stuff

This file is based on doubts that I had/have when I got in at Din Digital and when I forget some stuff.

Note: some paths depend of your own enviroment.

What you'll find here

This:

<?php for($i=0;$i<12;$i++) : ?>
/*code here*/
<?php endfor; ?>
For each:
$colors = array("red", "green", "blue", "yellow");
foreach ($colors as $cor) {
echo "$cor <br/>";
http://www.bjornblog.com/web/jquery-store-locator-plugin
@nncl
nncl / Google Maps JS.md
Last active September 3, 2015 14:35
Multiple Markers w/ Google Maps API

Google Maps API

Multiple Markers

This is an example of how we can build with Google API a map that contains more than one simple marker.

Check the result [here] (http://codepen.io/nncl/pen/QjwKYL).

The HTML

@nncl
nncl / Diary JSON.md
Last active October 9, 2015 20:37
Diary
[
  {
    "id": "001",
    "title": "All Day Event", 
    "url": "http://google.com/",
    "start": "2015-04-01", 
    "end": null,
    "color": "#fec32b"
  },
@nncl
nncl / gist:4a7e62278cf6dca812b9
Last active October 9, 2015 20:37
Calc CSS3
.my-class {   
    width: calc(100% - 4px);
    width: -webkit-calc(100% - 4px);
    width: -moz-calc(100% - 4px);
}