This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ply = FindMetaTable("Player") | |
util.AddNetworkString( "users" ) | |
function ply:whitelistCreate() | |
local PlayerList = { | |
["id"] = self:SteamID(), ["model"] = "" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lmao;lmao;okay |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// name: TicTacToe | |
// date: Friday, September 18th, 2015 | |
// desc: CLI TicTacToe game | |
import java.util.Scanner; | |
public class TicTacToe { | |
public static char[][] board; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct | |
{ | |
char* singular; | |
char* plural; | |
int duration; | |
} conversion_t; | |
const conversion_t CONVERSIONS[7] = { | |
{"year", "years", 31536000}, | |
{"month", "months", 2628000}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: nexus | |
connection: paramiko | |
become: True | |
vars: | |
nexus_data_bucket: rasterfoundry-development-data-us-east-1 | |
service_definition: | |
version: "3" | |
services: |
OlderNewer