Skip to content

Instantly share code, notes, and snippets.

View aussielunix's full-sized avatar
🤠
G`Day

Mick Pollard aussielunix

🤠
G`Day
View GitHub Profile
@aussielunix
aussielunix / precise64.ks
Last active May 3, 2021 05:48
Ubuntu Precise amd64 kickstart with working LVM
#System language
lang en_AU
#Language modules to install
langsupport en_AU
#System keyboard
keyboard us
#System mouse
# Run a command and present a spiiner whilst it completes
#
apt-get update -qq & # important to background command
pid=$! # get PID of backgrounded task
spin[0]="-"
spin[1]="\\"
spin[2]="|"
spin[3]="/"

Mick Pollard

Why

To improve peoples digital experience when interacting with companies or governments.

How

Improving the software supply chain to help application developers deliver value at speed with safety.

@aussielunix
aussielunix / gitlg.alias
Created December 26, 2012 23:04
nicer git log format. git lg git lg -p
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
---
name: minio
releases:
- name: minio
version: latest
stemcells:
- alias: default
os: ubuntu-trusty
@aussielunix
aussielunix / FindYourUltimateJob.md
Last active January 20, 2019 18:25
A plan on how to find your ultimate job.

Exercise 1

  • write on post-its what you value most in a potential employer / work environment separated into three different personas.
    • As a member of the company I value:
    • As a member of a team I value:
    • As an individual worker I value:
  • group these into a small set of high level values
  • discard the individual post-its
@aussielunix
aussielunix / README.md
Last active January 7, 2019 03:20
nokogiri ssl issue

nokogiri tls issues

Without https or the www
Forced redirect to https://www

lunix@boran]  -> curl -I http://nokogiri.org/
HTTP/1.1 301 Moved Permanently
Server: GitHub.com
Content-Type: text/html
@aussielunix
aussielunix / rdp_via_jumpbox_over_ssh.md
Last active October 30, 2018 02:03
rdp via jumpbox over ssh

RDP via an ssh tunnel

The following two commands lets you rdp into a Windows insatnce that is on a private network via a linux jump host.

Run this command and then you have 30 seconds to establish an rdp session.

ssh -i private.key jumpbox@aa.bb.cc.dd.ee -fL 3389:172.12.1.10:3389 sleep 30

This will rdp into the private Windows instance at the other end of the ssh tunnel.

@aussielunix
aussielunix / pbcopypaste.md
Created September 9, 2018 06:57
pbcopy and pbpaste on linux
$ sudo apt-get install xclip -y
$ echo "alias pbcopy='xclip -selection clipboard'" >> ~/.bash_alias
$ echo "alias pbpaste='xclip -selection clipboard -o'" >> ~/.bash_alias