Skip to content

Instantly share code, notes, and snippets.

View Snipey's full-sized avatar
🧭
Building Great Things

Stephen F Snipey

🧭
Building Great Things
View GitHub Profile
ersion: "3.7"
services:
postgres:
container_name: postgres_container
image: postgres
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-password}
PGDATA: /data/postgres
volumes:

Keybase proof

I hereby claim:

  • I am snipey on github.
  • I am snipey (https://keybase.io/snipey) on keybase.
  • I have a public key ASCsmz0aaJMaFILpeulhEx5nhyPUcb6JyjJCrSx0zji9dgo

To claim this, I am signing this object:

@Snipey
Snipey / Readme.md
Last active April 8, 2016 20:36
Snipey's CSGO DOUBLE Bot Not a scam

This is a legit bot i edited and removed any scams for all you awesome people :D You can donate coins to me here if you want. /send 76561197986481631

How to use:

  1. Open up chrome
  2. Press Shift + Ctrl + J
  3. Paste into the window
  4. Press enter
@Snipey
Snipey / screeps.py
Created October 23, 2015 09:36 — forked from dzhu/screeps.py
description of the HTTP endpoints available from Screeps and Python wrapper to access them (requires requests library)
from collections import OrderedDict
import json
import requests
## Python before 2.7.10 or so has somewhat broken SSL support that throws a warning; suppress it
import warnings; warnings.filterwarnings('ignore', message='.*true sslcontext object.*')
PREFIX = 'https://screeps.com/api/'
@Snipey
Snipey / countCreeps.js
Last active October 12, 2015 03:07
creep counter
module.exports = function (p_rooms) {
var util = require('util');
var globals = require('globals');
for(var p_room in p_rooms){
var creeps = globals.getCreepsInRoom(p_room);
if(creeps.memory.role == 'harvester'){
Memory.creep_count.harvesters += 1;
}
/**
* Created by Snipey on 10/5/2015.
*/
var bodies = {
turretBody: {
300: [MOVE, RANGED_ATTACK],
550: [MOVE, MOVE, RANGED_ATTACK, RANGED_ATTACK],
700: [MOVE, RANGED_ATTACK, RANGED_ATTACK, RANGED_ATTACK],
1000: [MOVE, MOVE, RANGED_ATTACK, RANGED_ATTACK, RANGED_ATTACK, RANGED_ATTACK]
},
StudentName = ""
grade = ""
grades = ""
TextWindow.Write("Enter student name: ")
StudentName = TextWindow.Read()
gradeCount = 0
While StudentName <> ""
@Snipey
Snipey / main.js
Created October 5, 2015 05:59
Screeps
var harvester = require('harvester');
var spawn = require('spawn');
var lca = require('logCreepActions');
var processHarvester = require('processHarvester');
var numberWithCommas = require('numbersWithCommas');
var p_rooms = [];
p_rooms[0] = Game.rooms['W11S29'];
//p_rooms[1] = '';
module.exports.loop = function () {