Skip to content

Instantly share code, notes, and snippets.

View CumpsD's full-sized avatar
👻
Polyglot Hacker.

David Cumps CumpsD

👻
Polyglot Hacker.
View GitHub Profile
@CumpsD
CumpsD / dontfeedthebeast.md
Created February 11, 2020 15:55 — forked from anonymous/dontfeedthebeast.md
Don’t Feed the Beast – the Great Recruitment Agency Infestation

Don’t Feed the Beast – the Great Recruitment Agency Infestation

“Don’t move to that London” warned my northern grandfather once. “It’s full of spivs”.

The Oxford Dictionary (somewhat chauvinistically) defines a spiv as:

A man, typically a flashy dresser, who makes a living by disreputable dealings

“But I work in IT” I told him. “engineers aren’t like that”.

@CumpsD
CumpsD / Living.scad
Last active July 6, 2022 12:18
OpenSCAD Stuff
// Living Room
wall_height = 250;
door_to_window = 157;
window_width = 157;
window_height = 220;
window_to_end = 483;
wall_thickness = 10;
room_length = door_to_window + window_width + window_to_end + wall_thickness;
room_width = 320 + 120 + 82;
@CumpsD
CumpsD / skin-care.md
Last active March 31, 2019 22:42
Skincare Guide
@CumpsD
CumpsD / README.md
Last active March 10, 2019 02:59
Bash on Ubuntu on Windows setup

Bash on Windows config

example prompt

Powerline Fonts

git clone https://github.com/powerline/fonts.git  
cd fonts  
./install.sh
@CumpsD
CumpsD / implicitboom.cs
Last active December 5, 2017 13:53
Implicit operator problem
internal class Bla
{
public int Blaat { get; }
public Bla(int blaat) => Blaat = blaat;
public static implicit operator int(Bla x) => x.Blaat;
}
internal class Bleh
@CumpsD
CumpsD / ValueObjects.cs
Created November 21, 2017 19:50
Value Objects Plumbing
namespace ValueObjects
{
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
public abstract class GuidValueObject<T> : DataTypeValueObject<T, Guid> where T : GuidValueObject<T>
{
protected GuidValueObject(Guid id) : base(id) { }
@CumpsD
CumpsD / onename
Created March 27, 2016 17:56
onename verification
Verifying that +cumpsd is my blockchain ID. https://onename.com/cumpsd
@CumpsD
CumpsD / corporate.cmd
Created February 18, 2015 07:16
Corporate Configurator
@ECHO OFF
SET CORPORATENAME=Enterprisey
SET CORPORATEPROXY=http://proxy.corporate.com:80
SET CORPORATEPAC=http://corporate/corporate.pac
SET NL=0
IF "%1"=="setup" (
SET INSTALLOP=1
SET NL=1
GOTO ProcessChoice )
@CumpsD
CumpsD / putty-locator.js
Created January 19, 2015 22:51
Putty interactive session launcher from conemu/cmder
'use strict';
var fs = require('fs'),
path = require('path'),
inquirer = require('inquirer'),
exec = require('child_process').exec,
spawn = require('child_process').spawn;
// puttySessionsPath is where my sessions are stored as files
var puttySessionsPath = process.env.google + 'Tools/Putty/sessions/',
puttySessions = fs.readdirSync(puttySessionsPath),
### Keybase proof
I hereby claim:
* I am cumpsd on github.
* I am cumpsd (https://keybase.io/cumpsd) on keybase.
* I have a public key ASA_ex_C47p8bsmoTaHt5Kyxhf_YONmdG-O8wZtKGteM7Ao
To claim this, I am signing this object: