Skip to content

Instantly share code, notes, and snippets.

View denzuko's full-sized avatar
💬
twitter.com/denzuko

Dwight Spencer (denzuko@mastodon.social) denzuko

💬
twitter.com/denzuko
View GitHub Profile

Mr & Mrs Dupond
4 Ddres St
0110 Whangarei

20th August 2013

Dear {names},
Thank you for the opportunity to be involved in the design of your home at Abbey Caves road.

Based in our preliminary discussions on the 25th of last month, I have prepared the following Offer of Service for your consideration. It includes a few notes I have recorded so far, which you may like to amend or add to in order to further define the brief. When you have had the chance to read through this document, and if you agree with the terms outlined, please do sign the last page where indicated on both copies and return one of them to me.

Transparent Git Encryption

This document has been modified from its [original format][m1], which was written by Ning Shang (geek@cerias.net). It has been updated and reformatted into a [Markdown][m2] document by [Woody Gilk][m3] and [republished][m4].

Description

When working with a remote git repository which is hosted on a third-party storage server, data confidentiality sometimes becomes

@denzuko
denzuko / Xdefaults
Created September 21, 2014 19:37
Settings for theming ssh-askpass.
! run with 'xrdb -merge <filename'
x11-ssh-askpass*font: -misc-droid sans mono-medium-r-normal--16-120-*-*-*-*-*-uni
x11-ssh-askpass*background: #000000
x11-ssh-askpass*foreground: #009999
x11-ssh-askpass.Button*background: #000000
x11-ssh-askpass.Indicator*foreground: #009999
x11-ssh-askpass.Indicator*background: #002222
x11-ssh-askpass*topShadowColor: #000000
x11-ssh-askpass*bottomShadowColor: #000000
x11-ssh-askpass.*borderWidth: 1
wget http://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run
chmod +x metasploit-latest-linux-x64-installer.run
sudo ./metasploit-latest-linux-x64-installer.run
@denzuko
denzuko / torrc
Created January 21, 2015 00:18
Tor Configuration - Hidden node ssh
HiddenServiceDir /srv/
HiddenServicePort 22 127.0.0.1:22
@denzuko
denzuko / sshd_config
Created January 21, 2015 00:22
SSH Hidden Node configuration
Port 22
AddressFamily any
ListenAddress 127.0.0.1
Protocol 2
PermitRootLogin forced-commands-only
LoginGraceTime 2m
MaxAuthTries 3
MaxSessions 5
- name: get gridfs host ip from name (required for nginx gridfs module)
shell: 'ping -q -c 1 -t 1 {{ gridfs_host }} | grep PING | sed -e "s/).*//" | sed -e "s/.*(//"'
register: gridfs_ip_command
when: gridfs_ip is not defined
- name: set gridfs ip
set_fact: gridfs_ip={{ gridfs_ip_command.stdout }}
when: gridfs_ip is not defined

General

  1. Unit tests: Review unit tests first. Unit tests are a fantastic way to grasp how code is meant to be used by others and to learn what the expected behavior is. Are there any test gaps that should be there?
  2. Method arguments" Make sure arguments to methods make sense and are validated.
  3. Null References" (Yah yah, we know. Use F# and this goes away. We get it already.) Null references are a bitch and it’s worth looking out for them specifically.
  4. Conventions Consistency" Make sure naming, formatting, etc. follow our conventions and are consistent. I like a codebase that’s fairly consistent so you know what to expect.
  5. Disposables: Make sure disposable things are disposed. Look for usages of resources that should be disposed but are not.
  6. Security: There is a whole threat and mitigation review process that falls under this bucket.

WPF + ReactiveUI

😱 Seriously?
😷 That's a bad look.
Burn it to the ground! 🔥
😠 Torvalds frowns at you.
🚶 Have you considered another career?
You must hate your coworkers. 👹
😡 You must hate yourself.
Ha! Yeah, that'll work. 😄
😕 Are you just hitting keys at random?
You code like a PM. 😐
coreos:
units:
- name: docker.service
command: start
- name: newrelic-client.service
command: start
content: |
[Unit]
Description=newrelic-client