Skip to content

Instantly share code, notes, and snippets.

View mogigoma's full-sized avatar

Mak Kolybabi mogigoma

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="demo.js"></script>
<title>WebSockets Demo</title>
</head>
<body>
<div id="wrapper">
<h1>WebSockets Demo</h1>
@mogigoma
mogigoma / client::client.conf
Created January 16, 2015 02:24
OpenVPN configuration files
client
dev tun
proto udp
nobind
remote hostname-of-vpn-server 1194
resolv-retry infinite
user nobody
@mogigoma
mogigoma / qnx4-panic.c
Created September 25, 2009 15:03
Exploit to kernel panic QNX.
/******************************************************************************
* Copyright (c) 2009 Telenium Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
@mogigoma
mogigoma / gist:199438
Created October 2, 2009 03:16
Urban Terror Config
// #############################################################################
// # Key & Mouse Bindings
// #############################################################################
unbindall
// Weapons
bind 1 "ut_weaptoggle knife"
bind 2 "ut_weaptoggle grenade"
bind 3 "ut_weaptoggle sidearm"
###############################################################################
# Environment Variables
###############################################################################
# Programs
SetEnv fvwm_terminal uxterm
SetEnv fvwm_monitor "gkrellm --geometry +1612+0"
SetEnv fvwm_web firefox
###############################################################################
Section "Files"
# Critical Fonts.
FontPath "/usr/share/fonts/misc:unscaled"
# Personal Fonts.
FontPath "/usr/share/fonts/local/"
# System Fonts.
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
commit e61166ccab783dfdefc4a33c8239f926a48ea544
Author: Russ
Date: Wed Mar 24 09:32:23 2010 -0500
JSON changes:
- mak's segment squashing code
- refpts merged into segment structure
- rmnames structure changed to simple dict
- activity{delays, schedules, types} changed to simple list
- mak wanted a pony:
/*
* [opaque]
*
* Tokens
* ------
* AUT_OPAQUE
*
* The body of this element contains hex data.
*/
/*
#!/bin/sh
# Standard Nagios plugin return codes.
STATUS_OK=0
STATUS_WARNING=1
STATUS_CRITICAL=2
STATUS_UNKNOWN=3
# Query pending updates.
updates=$(/usr/lib/update-notifier/apt-check 2>&1)
KMOD= badgermonkey
SRCS= syscall.c
.include <bsd.kmod.mk>