Skip to content

Instantly share code, notes, and snippets.

View rocky1138's full-sized avatar

John Rockefeller rocky1138

View GitHub Profile
I was drawn to programming, science, technology and science fiction
ever since I was a little kid. I can't say it's because I wanted to
make the world a better place. Not really. I was simply drawn to it
because I was drawn to it. Writing programs was fun. Figuring out how
nature works was fascinating. Science fiction felt like a grand
adventure.
Then I started a software company and poured every ounce of energy
into it. It failed. That hurt, but that part is ok. I made a lot of
mistakes and learned from them. This experience made me much, much
using UnityEngine;
using System.Collections.Generic;
public class LineOfSight : MonoBehaviour
{
public float apertureAngle;
public float maxSightDistance;
public int iterations;
private GameObject _lineOfSightGo;
@binarycrusader
binarycrusader / gzdoom_win81_compile.txt
Last active August 29, 2015 14:01
How to compile gzdoom on Windows 8.1 Pro with Visual Studio 2013
(These notes are written assuming I've forgotten everything and are intended for
those not used to Windows development, so please don't take offence at the
seemingly obvious.)
Steps I used to compile gzdoom (current master branch) on Windows 8.1 Pro (this
assumes you've already downloaded and installed Visual Studio; I used Visual
Studio 2013 Express Desktop):
1) Download and install DirectX June 2010 SDK (use your own version at your
own risk, it may cause build failures) to default location:
@zmpeg
zmpeg / README.md
Last active August 12, 2019 20:15
go.sh

go.sh

A simple script to open a dynamic ssh tunnel to your server and connect a fresh chrome browser to it via the socks5 proxy.

Installation

Clone the repo and maybe symlink/shortcut the version you need to somewhere convenient.

git clone https://gist.github.com/8911e3b78a8873612e17.git $HOME/opt/go.sh

@robflaherty
robflaherty / csv-to-json.php
Created September 1, 2011 02:26
Convert CSV to JSON
<?php
/*
* Converts CSV to JSON
* Example uses Google Spreadsheet CSV feed
* csvToArray function I think I found on php.net
*/
header('Content-type: application/json');
// Set your CSV feed