Skip to content

Instantly share code, notes, and snippets.

View atorralb's full-sized avatar
🎯
Focusing

Angel T. Durán atorralb

🎯
Focusing
View GitHub Profile
Como saltarse el bloqueo de Megacable (TM) para acceder PASTEBIN.COM
Megacable bloquea por default en su DNS PASTEBIN.COM
puedes saltarlo usando el DNS de google por default que se encuentr en la configuarcion del adaptador.
1) Control Panel\Network and Internet\Network and Sharing Center
2) Control Panel\Network and Internet\Network Connections
3) TCP/IPv4 settings
Preferred DNS server: 8.8.8.8
@atorralb
atorralb / gist:8986799
Last active August 29, 2015 13:56
emit a message to a different namespace in socket.io... useful when you want to update different namespaces with different data
var chat = io
.of('/chat')
.on('connection', function (socket) {
//warn the admin that somebody visit the site
io.of('/admins').emit('message', { message: "Hello admins! im a different namespace phocker" });
});