Skip to content

Instantly share code, notes, and snippets.

View leocwolter's full-sized avatar

Leonardo Cesar Wolter leocwolter

View GitHub Profile
Copie e cole no console do seu navegador:
(!![]+[])[(!![]+!![])+!![[]]]+(![]+[])[+!![]+!![]]+([]+{})[+!![]]+[(!![]+!![])+!![[]]+(!![]+!![])+!![[]]+!![]]+([[]]+{})[[(!![]+!![])+!![[]]+(!![]+!![])+!![[]]+!![]]]+(![]+[])[+![]]+([]+{}+[])[+!![]]+(!!!![]+[])[+!![]]+(!!![]+[])[+!![]]+({}+[])[(!![]+!![])+!![[]]+(!![]+!![])+!![[]]+!![]]+(((+![])[([]+{})[(!![]+!![])+(!![]+!![])+(!![])]+(([]+{})[+!![]])+(([][+![]])+[])[+!![]]+((![]+[])[!![]+(!![]+!![])])+(!![]+[])[+![]]+(!![]+[])[+!![]]+(!![]+[])[!![]+!![]]+([]+{})[(!![]+!![])+(!![]+!![])+(!![])]+(!![]+[])[+![]]+(([]+{})[+!![]])+(!![]+[])[+!![]]]+[])[(!![]+!![])+!![[]]+(!![]+!![])+!![[]]+!![]+(!![]+!![])+!![[]]+(!![]+!![])+!![[]]+!![]+(!![]+!![])+!![[]]+(!![]+!![])+!![[]]+!![]+(!![]+!![])+!![[]]+(!![]+!![])+!![[]]+!![]+!![]+!![]])+(!![]+[])[(!![]+!![])+!![[]]]+({}+[])[(!![]+!![])+!![[]]+(!![]+!![])+!![[]]+!![]]+(![]+[])[!![]+!![[]]+!!!![]]+(!![]+[])[(!![]+!![])+!![[]]]+(!![]+[])[+!![]]+((+![])[([]+{})[(!![]+!![])+(!![]+!![])+(!![])]+(([]+{})[+!![]])+(([][+![]])+[])[+!
@leocwolter
leocwolter / leofuck-caelum
Last active August 29, 2015 14:12
Leofuck
Cole a string abaixo no console do seu navegador:
([]+{})[(!![]+!![])+(!![]+!![])+(!![])]+(+{}+[])[!![]+![]]+([![]]+[])[(!![]+!![])+(!![]+!![])]+(![]+[])[!![]+!![]]+(([][!![]])+[])[+![]]+((+![])[([]+{})[(!![]+!![])+(!![]+!![])+(!![])]+(([]+{})[+!![]])+(([][+![]])+[])[+!![]]+((![]+[])[!![]+(!![]+!![])])+(!![]+[])[+![]]+(!![]+[])[+!![]]+(!![]+[])[!![]+!![]]+([]+{})[(!![]+!![])+(!![]+!![])+(!![])]+(!![]+[])[+![]]+(([]+{})[+!![]])+(!![]+[])[+!![]]]+[])[+((+!![]+[])+(+!![]+[]))]+([]+{})[!![]+!![]+!![]+!![]+!![]+!![]+!![]]+([![]]+[])[(!![]+!![])+(!![]+!![])]+(([][![]])+[])[+!![]]+((![]+[])[!![]+!![]+!![]])+(([]+[])[([]+{})[(!![]+!![])+(!![]+!![])+(!![])]+(([]+{})[+!![]])+(([][+![]])+[])[+!![]]+((![]+[])[!![]+(!![]+!![])])+(!![]+[])[+![]]+(!![]+[])[+!![]]+(!![]+[])[!![]+!![]]+([]+{})[(!![]+!![])+(!![]+!![])+(!![])]+(!![]+[])[+![]]+(([]+{})[+!![]])+(!![]+[])[+!![]]]+[])[+((+!![]+[])+(!![]+!![]+[]))]+(([][![]])+[])[+!![]]+(({}+{})[+!![]])+([]+{})[!![]+!![]+!![]+!![]+!![]+!![]+!![]]+([![]]+[])[(!![]+!![])+(!![]+!![])]
exercises:
- kind: answer-please
question-phrase:
content: Hi, how are you?
translation: Oi, como vai?
literal-translation: Oi, como está você?
recording-path: /aula1/e1_1.mp3
answer-phrase:
content: I am fine, thanks.
translation: Bem, obrigado.
@leocwolter
leocwolter / gist:5cff810c4abbc9d7f5f8
Created August 18, 2014 19:53
Gerados automaticamente
There are 62 unused properties.
Non-used property: signup.license.agreement.terms.terms16
Non-used property: signup.license.agreement.terms.terms3
Non-used property: gnarus.alert.message6
Non-used property: exercise.MULTIPLE_CHOICE
Non-used property: gnarus.alert.message9
Non-used property: gnarus.alert.message7
Non-used property: signup.license.agreement.terms.terms12
Non-used property: formats.number.two_integers
Non-used property: signup.license.agreement.terms.terms11
@leocwolter
leocwolter / gist:4f7299cfd7e7cb071e01
Created April 30, 2014 20:29
Javascript - Inheritance benchmark
- Instanciar a classe filha 1000 * 1000 vezes
Parasitic: 348ms
Pseudo: 362ms
Functional: 1053ms
- Instanciar a classe pai 1000 * 1000 vezes
Parasitic: 14ms
Pseudo: 16ms
@leocwolter
leocwolter / gist:10874128
Created April 16, 2014 13:22
Criando uma Pessoa utilizando o Object.create
var prototipoDaPessoa = {
init: function(nome, email){
this.nome = nome;
// verifica se o e-mail foi preenchido
if (email) {
this.email = email;
}
},
@leocwolter
leocwolter / gist:10651242
Created April 14, 2014 14:06
Mamute exception with exclusion of vraptors guava
org.jboss.weld.exceptions.DeploymentException: java.lang.InternalError: Enclosing method not found
at org.jboss.weld.executor.AbstractExecutorServices.checkForExceptions(AbstractExecutorServices.java:66)
at org.jboss.weld.executor.AbstractExecutorServices.invokeAllAndCheckForExceptions(AbstractExecutorServices.java:43)
at org.jboss.weld.executor.AbstractExecutorServices.invokeAllAndCheckForExceptions(AbstractExecutorServices.java:51)
at org.jboss.weld.bootstrap.ConcurrentBeanDeployer.addClasses(ConcurrentBeanDeployer.java:60)
at org.jboss.weld.bootstrap.BeanDeployment.createClasses(BeanDeployment.java:209)
at org.jboss.weld.bootstrap.WeldStartup.startInitialization(WeldStartup.java:328)
at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:73)
at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:140)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764)
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);