Skip to content

Instantly share code, notes, and snippets.

View rbreslow's full-sized avatar

Rocky Breslow rbreslow

View GitHub Profile
local cx = 200; // Center X
local cy = 200; // Center Y
local size = 100; // The radius
local spacing = 15; // The angle between each triangle
local count = 360 / spacing;
local points = {}
function rotate(px, py, ax, ay, angle)
local ply = FindMetaTable("Player")
util.AddNetworkString( "users" )
function ply:whitelistCreate()
local PlayerList = {
["id"] = self:SteamID(), ["model"] = ""
var express = require('express')
, multer = require('multer')
, shortid = require('shortid')
, level = require('level')
, fs = require('fs')
, hashFiles = require('hash-files')
, RSVP = require('rsvp')
, app = express()
, db = level(__dirname + '/db/')
// name: TicTacToe
// date: Friday, September 18th, 2015
// desc: CLI TicTacToe game
import java.util.Scanner;
public class TicTacToe {
public static char[][] board;
typedef struct
{
char* singular;
char* plural;
int duration;
} conversion_t;
const conversion_t CONVERSIONS[7] = {
{"year", "years", 31536000},
{"month", "months", 2628000},
setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
EthDcrMiner64.exe -epool eu1.ethermine.org:4444 -ewal 0x66e55a2053a487121B66c47251448A022B1825B4.Duncan -epsw x
var ldap = require('ldapjs'),
server = ldap.createServer(),
addrbooks = {}, userinfo = {
'jamf' : {'pwd': 'password1'}
},
ldap_port = 3899,
basedn = "dc=<domain>, dc=com"
var google = require('googleapis');
var directory = google.admin('directory_v1');
import java.util.*;
public class Mindfuck {
public static void main(String[] args) {
reconstruct("owoztneoer"); //012
reconstruct("fviefuro"); //45
}
public static void reconstruct(String str) {
String[] numbers = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};
---
- hosts: nexus
connection: paramiko
become: True
vars:
nexus_data_bucket: rasterfoundry-development-data-us-east-1
service_definition:
version: "3"
services: