Skip to content

Instantly share code, notes, and snippets.

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files (x86)\\nodejs\\\\node.exe',
1 verbose cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'levelup' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink C:\Program Files (x86)\nodejs\\node.exe
5 verbose read json C:\Users\Alan Hoffmeistert\Projetos\levelup\package.json
6 verbose read json C:\Users\Alan Hoffmeistert\Projetos\levelup\package.json
2012-11-17 23:21:36 [SEVERE] Could not pass event InventoryClickEvent to DtlCitizensTrader v2.0RC v0.72
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1215)
at net.minecraftserverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:190)
at net.minecraft.server.Packet102WindowClick.handle(SourceFile:31)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:290)
2012-11-21 02:54:56 [SEVERE] Could not pass event NPCRightClickEvent to DtlCitizensTrader v2.0RC v0.75
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.citizensnpcs.EventListen.onPlayerInteractEntity(EventListen.java:233)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- CHAT "Por favor <PLAYER>, ajude a achar meu pai Otamar. Ele saiu ontem para pegar algumas pedras e terminar nossa casa, mas ainda não voltou!"
- CHAT "Ele falou que ficaria pelas redondezas da Capital, não deve ter ido muito longe da entrada. Por favor, me ajude!"
- NARRATE "Nova Quest: Otamar desaparecido!"
2012-11-22 12:13:14 [INFO] Starting minecraft server version 1.4.5
2012-11-22 12:13:14 [INFO] Loading properties
2012-11-22 12:13:14 [INFO] Default game type: SURVIVAL
2012-11-22 12:13:14 [INFO] Generating keypair
2012-11-22 12:13:15 [INFO] Starting Minecraft server on *:25565
2012-11-22 12:13:15 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2012-11-22 12:13:15 [WARNING] The server will make no attempt to authenticate usernames. Beware.
2012-11-22 12:13:15 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
2012-11-22 12:13:15 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
2012-11-22 12:13:15 [INFO] This server is running CraftBukkit version git-Spigot-1.2.5-R3.0-276-g093ef21 (MC: 1.4.5) (Implementing API version 1.4.5-R0.3-SNAPSHOT)
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke
var mongoose = require('mongoose');
var Agenda = function(usuario){
var schema = new mongoose.Schema({
nome: 'string',
sobrenome: 'string'
});
// O terceiro argumento serve para especificar o nome da collection
return mongoose.model('agenda_' + usuario, schema, 'agenda_' + usuario);
[1, 2, 3, 4, 5, 6, 7].indexOf(5)
// 4
[1, 2, 3, 4, 5, 6, 7].indexOf(1)
// 0
[1, 2, 3, 4, 5, 6, 7].indexOf("a")
// -1
[1, 2, 3, 4, 5, 6, 7].indexOf(1.2)
moment('08:32', 'HH:mm').isValid()
@cranic
cranic / gist:7214904
Last active December 26, 2015 21:19 — forked from brianc/gist:7214887
describe('something that should not exit', function() {
it('sets a really long timeout', function(done) { // callback missing here
setTimeout(function() { console.log('Im still running'); done()}, 1000000)
});
after(function(done) {
setTimeout(done, 1000);
});
});