Skip to content

Instantly share code, notes, and snippets.

View 0xGREG's full-sized avatar
🥇
default branch: master

0xGREG

🥇
default branch: master
View GitHub Profile
@mikermcneil
mikermcneil / using-raw-socket-io-in-sails.js
Created September 17, 2013 18:32
Using raw socket.io functionality in a Sails.js controller
module.exports = {
/**
*
* Using raw socket.io functionality from a Sails.js controller
*
*/
index: function (req,res) {
@nzhul
nzhul / WebSocketsWithFleck.cs
Last active March 23, 2022 04:35
Example of simple WebSockets server using Fleck
// Javascript example
$(function(){
var webSocket = window.WebSocket || window.MozWebSocket,
ws = new webSocket('ws://localhost:8181');
ws.onopen = function(e){
console.log('Connection opened');
}
@lennyRBLX
lennyRBLX / seh_via_veh.cpp
Last active May 15, 2022 08:22
Full SEH with VEH
// deprecated for manual_exception_handling repo
#pragma once
#include <Windows.h>
#include <cstdint>
#include <memory>
#include <iostream>
#include <vector>
#include <cassert>