Skip to content

Instantly share code, notes, and snippets.

View darkguy2008's full-sized avatar

Alemar darkguy2008

View GitHub Profile
@McFunkypants
McFunkypants / FlyCamera.cs
Created November 7, 2014 21:59
New Script FlyCamera add to any camera obj: instant unity editor style wasd rightclick debug cam
using UnityEngine;
using System.Collections;
public class FlyCamera : MonoBehaviour {
/*
Writen by Windexglow 11-13-10. Use it, edit it, steal it I don't care.
Converted to C# 27-02-13 - no credit wanted.
Simple flycam I made, since I couldn't find any others made public.
Made simple to use (drag and drop, done) for regular keyboard layout
using System;
using System.Globalization;
using System.Net;
using System.Security.Cryptography;
using System.Text;
public class GoogleAuthenticator
{
const int IntervalLength = 30;
const int PinLength = 6;
@yosefd
yosefd / httpoverpipe
Created June 27, 2012 11:49
http over named pipe sample
var http = require('http');
var port = '\\\\.\\pipe\\nameofthepipe';
http.createServer(function (req, res) {
console.info('request received');
res.end('gotyou');
}).listen(port);
console.info('listening on:', port);