Skip to content

Instantly share code, notes, and snippets.

View s3cur3's full-sized avatar

Tyler A. Young s3cur3

View GitHub Profile
@s3cur3
s3cur3 / create_git_repo.sh
Last active May 29, 2019 20:54
Create a repo on the X-Plane dev server
#!/bin/bash
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "This script must be run with sudo"
exit
fi
if [ $# -lt 2 ]; then
echo 1>&2 "Usage: \$ ./$0 name_of_repo_to_create group_to_own_it"
exit 2
@s3cur3
s3cur3 / get_canonical_taxi_sign.cpp
Created February 6, 2017 22:35
Transforms a user-input taxi sign into a canonical string representation
#include <iostream>
#include "WED_Sign_Parser.h"
using namespace std;
int main(int argc, const char * argv[])
{
if(argc >= 2)
{
string sign_text;