Skip to content

Instantly share code, notes, and snippets.

View michaelbartnett's full-sized avatar

Michael Bartnett michaelbartnett

View GitHub Profile
@mubix
mubix / infosec_newbie.md
Last active November 7, 2024 19:11
How to start in Infosec
@nlguillemot
nlguillemot / main.cpp
Created August 30, 2015 02:22
BasicGL
#include <Windows.h>
#include <GL/gl.h>
#pragma comment(lib, "OpenGL32.lib")
LRESULT CALLBACK MyWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message)
{
case WM_CLOSE:
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active November 20, 2024 12:53
A badass list of frontend development resources I collected over time.
anonymous
anonymous / gist:4350301
Created December 21, 2012 02:31
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Camera spline. Naming it "CSpline" over something like "Path" or "Spline" to avoid potential conflicts
[System.Serializable] // Allow Unity-serialization
public class CSpline {
[HideInInspector]
public Vector3[] _points; // Serialized but unlisted
@wcharczuk
wcharczuk / gist:1855878
Created February 17, 2012 22:38
sample nginx config
worker_processes 1;
#pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
upstream myapp {
server www.bing.com weight=2;