Skip to content

Instantly share code, notes, and snippets.

View cironunes's full-sized avatar
馃幆
Focusing

Ciro Nunes cironunes

馃幆
Focusing
View GitHub Profile

Ciro, tem 21 anos, e j谩 foi respons谩vel pelo Front-end dos maiores e-commerces da Am茅rica Latina como Americanas, Submarino e Shoptime, enquanto trabalhou na Ideais. Recentemente foi o head do Front-end e Scrum Master da Kanui e hoje faz parte do time do Veduca.

Como palestrante j谩 esteve presente nos encontros locais de desenvolvedores JavaScript do Rio de Janeiro e S茫o Paulo apresentando principalmente sobre o framework AngularJS.

@cironunes
cironunes / angular-loader.js
Created April 21, 2013 23:19
include angular loader, which allows the files to load in any order
// include angular loader, which allows the files to load in any order
/*
AngularJS v1.0.0rc1
(c) 2010-2012 AngularJS http://angularjs.org
License: MIT
*/
'use strict';(function(i){function d(c,a,e){return c[a]||(c[a]=e())}return d(d(i,"angular",Object),"module",function(){var c={};return function(a,e,f){e&&c.hasOwnProperty(a)&&(c[a]=null);return d(c,a,function(){function b(a,b,d){return function(){c[d||"push"]([a,b,arguments]);return g}}if(!e)throw Error("No module: "+a);var c=[],d=[],h=b("$injector","invoke"),g={_invokeQueue:c,_runBlocks:d,requires:e,name:a,provider:b("$provide","provider"),factory:b("$provide","factory"),service:b("$provide","service"),
value:b("$provide","value"),constant:b("$provide","constant","unshift"),filter:b("$filterProvider","register"),directive:b("$compileProvider","directive"),config:h,run:function(a){d.push(a);return this}};f&&h(f);return g})}})})(window);
@cironunes
cironunes / index.html
Created March 24, 2013 00:52
Angular Bootstrap Sample
<!doctype html>
<html>
<body>
{{ 2 + 2 }}
<script src="http://code.angularjs.org/angular.js"></script>
<script>
angular.element(document).ready(function() {
angular.bootstrap(document);
});
</script>
@cironunes
cironunes / index.html
Last active December 15, 2015 08:19
Angular Bootstrap sample
<!doctype html>
<html>
<body ng-app>
{{ 2 + 2}}
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.min.js"></script>
</body>
</html>
@cironunes
cironunes / index.html
Last active December 15, 2015 08:19
Angular Bootstrap sample
<!doctype html>
<html>
<body ng-app="myOptionalModuleName">
{{ 2 + 2}}
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.min.js"></script>
<script>
angular.module('myOptionalModuleName', []);
</script>
</body>
</html>
@cironunes
cironunes / observer-pattern.md
Created March 22, 2013 15:04
Observer Pattern e a hist贸ria do surgimento do fogueteiro nas favelas.

A hist贸ria do fogueteiro (Observer Pattern)

No morro, os cara que tinha conceito, volta e meia acordava com a policia na cara.

O que pensaro: "ai os coxinha ta colano aqui, nor precisa de um jeito de ser avisado quando os eles tiver subindo o morro."

Foi ai que surgiu o fogueteiro, sem perspectiva de vida nenhuma, tinha 5 irm茫s problema nas pernas, o pai morreu e m茫e n茫o pode trabalhar.

Ent茫o o fogueteiro virou o chefe da casa.

@cironunes
cironunes / git-gh-pages.sh
Created September 18, 2012 14:46
Working in git-extras: git gh-pages
#!/bin/sh
echo 'setting up gh-pages'
echo '-------------------'
echo 'Tell me your github account username: '
read username
echo 'Now, tell me your repository name: '
read repository
@cironunes
cironunes / gist:3015471
Created June 29, 2012 03:22 — forked from alexsandro-xpt/gist:3015464
Algoritmo gen茅tico
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AG
{
public class Pais
@cironunes
cironunes / dabblet.css
Created June 25, 2012 15:54
The first commented line is your dabblet鈥檚 title
/**
* The first commented line is your dabblet鈥檚 title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@cironunes
cironunes / Railscast2.tmTheme
Created June 21, 2012 13:36 — forked from smlombardi/Railscast2.tmTheme
Modified version of Railscast theme for Textmate/Sublime Text 2
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Railscasts 2</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>