Skip to content

Instantly share code, notes, and snippets.

View denhamparry's full-sized avatar

Lewis Denham-Parry denhamparry

View GitHub Profile

Keybase proof

I hereby claim:

  • I am denhamparry on github.
  • I am denhamparry (https://keybase.io/denhamparry) on keybase.
  • I have a public key ASD7MyPDGb8SU-498VRDIccXFBECQbdSU7aJ8CyyJ7eqlwo

To claim this, I am signing this object:

@denhamparry
denhamparry / CNW_Logo.jpg
Last active March 15, 2019 14:37
Proposal for CNW LiveStreams / Presentations
CNW_Logo.jpg
@denhamparry
denhamparry / PowershellCopy.ps1
Last active June 28, 2019 19:09
Powershell Copy
Get-PSDrive
$sourceRoot = "C:\Media\Movies"
$destinationRoot = "D:\plex"
Copy-Item -Path $sourceRoot -Recurse -Destination $destinationRoot -Container
#!/bin/bash
lsblk
sudo blkid
sudo fdisk -l
sudo mkdir /media/usb
sudo mount /dev/sdb1 /media/usb
@denhamparry
denhamparry / README.md
Last active April 11, 2021 02:00
Hauppauge Digital TV Tuner for Xbox One - Ubuntu setup

Hauppauge Digital TV Tuner for Xbox One - Ubuntu setup

Install

Open Terminal in Ubuntu The easiest way to open terminal is to right click on desktop and select Open Terminal. You can also click Ctrl+Alt+T on your keyboard.

In Terminal, type the following or copy and paste the following lines, one by one, then click enter.

$sudo add-apt-repository ppa:b-rad/kernel+mediatree+hauppauge
@denhamparry
denhamparry / README.md
Last active June 29, 2019 17:37
Copy DVD in Ubuntu
$ cd /dev/
$ ls -la | less
$ cd /media/
# dvd sr0
$ mkdir dvd
$ sudo mount /dev/sr0 /media/dvd
$ cd /media/dvd
$ vobcopy -o /media/plex/import
@denhamparry
denhamparry / README.md
Created July 2, 2019 10:25
Change welcome message in Ubuntu

Change welcome message in Ubuntu

$ sudo apt-get install figlet lolcat strace
$ sudo mv /etc/update-motd.d/00-header /etc/update-motd.d/00-header-old
$ sudo chmod -x /etc/update-motd.d/*
$ sudo touch /etc/update-motd.d/00-header
$ sudo chmod +x /etc/update-motd.d/00-header
$ sudo vi /etc/update-motd.d/00-header
@denhamparry
denhamparry / README.md
Created July 3, 2019 13:07
The 7 network layers

Network layers

The seven Open Systems Interconnection (OSI) layers are:

Layer 7: The application layer

This is the layer at which communication partners are identified -- Is there someone to talk to? -- network capacity is assessed -- Will the network let me talk to them right now? -- and where the data or application is presented in a visual form the user can understand. This layer is not the application itself, it is the set of services an application should be able to make use of directly, although some applications may perform application-layer functions.

Layer 6: The presentation layer

@denhamparry
denhamparry / README.md
Created July 7, 2019 10:39
Ubuntu disk management

Disk Management

$ df
$ du
$ ncdu