Skip to content

Instantly share code, notes, and snippets.

View Daleang's full-sized avatar

Professor D Daleang

  • D Corp
  • Australia
View GitHub Profile

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@Daleang
Daleang / sshd_config
Created June 13, 2019 04:28 — forked from Tristor/sshd_config
Hardened SSH Server Config 03/2016
# TCP port to bind to
# Change to a high/odd port if this server is exposed to the internet directly
Port 22
# Bind to all interfaces (change to specific interface if needed)
ListenAddress 0.0.0.0
# Force SSHv2 Protocol
Protocol 2
@Daleang
Daleang / parametric_brick_2x2.scad
Created April 1, 2018 02:30 — forked from martymcguire/parametric_brick_2x2.scad
Create parametric LEGO-compatible bricks in OpenSCAD
// Quick-and-dirty parametric LEGO-compatible
// bricks in OpenSCAD.
// LEGO(R) is a trademark of the LEGO Group.
// References:
// * http://www.robertcailliau.eu/Lego/Dimensions/zMeasurements-en.xhtml
// * http://nicjasno.com/forum/viewtopic.php?t=653
// Create (w*2,h*2) LEGO-compatible blocks.
two_by_two(1,2);