Skip to content

Instantly share code, notes, and snippets.

Working from home

Paul pbuckley4192

Working from home
  • Pilz Ireland
Block or report user

Report or block pbuckley4192

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Eircom WEP Password Cracker
import java.math.BigInteger;
import java.util.Formatter;
import android.os.Bundle;
import android.view.View;
#The mouse will suck on linux because of the programmable buttons.
#This script will change the button-delegation so that the mouse doesn't stuck.
#sudo mkdir /etc/X11/xorg.conf.d
sudo rm /etc/X11/xorg.conf.d/910-rat.conf
# add the following to the file
echo "Section \"InputClass\"" >> /etc/X11/xorg.conf.d/910-rat.conf

So I had problems install Docker on an RPI 4, using the usual routes caused hassle and issues, so I went on a mission to fix it!

Here are the steps:

It turns out the installed iptables is kind of broken, so it needs to be re-installed correctly.

sudo apt purge iptables
sudo apt install iptables -y

Once thats complete, we need to reboot the machine to load all the kernal modules.

import requests
import json
import subprocess
r = requests.get('').json()
count = r["variants"][2]["inventory_quantity"]
available = r["variants"][2]["available"]
print("RPI Available:\t"+ str(count))
def sendmessage(message):
View gist:9c95b602b9675b9c7b3f8ed98e281870
- id: '1552465990326'
alias: Car Location
- platform: mqtt
topic: homeassistant/sensor/android_pauls_phone_hfp/state
- condition: template
value_template: '{{ trigger.payload_json[''last_device_mac''] == ''10:08:C1:XX:XX:XX''
- condition: template
View log_dep_track
12:33:10.271 ERROR [ScanUploadProcessingTask] Error while processing scan result
java.lang.NullPointerException: null
at java.util.regex.Matcher.getTextLength(
at java.util.regex.Matcher.reset(
at java.util.regex.Matcher.<init>(
at java.util.regex.Pattern.matcher(
at org.dependencytrack.parser.dependencycheck.resolver.PackageURLResolver.resolve(
at org.dependencytrack.tasks.ScanUploadProcessingTask.resolveMetadata(
at org.dependencytrack.tasks.ScanUploadProcessingTask.processDependency(
at org.dependencytrack.tasks.ScanUploadProcessingTask.processDependency(
pbuckley4192 /
Created Mar 24, 2018 — forked from h0tw1r3/
Parallel recursive RAW to JPEG + meta converter shell script
!/bin/env bash
# Parallel recursive RAW to JPEG + meta converter
# Output into relative JPEG directory
# Requires: dcraw, cjpeg, exiv2
# any argument means verbose...
if [ ${#} -ne 0 ]; then
View Remove 3D Objects folder Windows 10.txt
Delete Key:
If 64-Bit Windows, also delete:
pbuckley4192 /
Last active Oct 2, 2017
Convert MKV to MP4
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install ffmpeg
sudo apt-get install frei0r-plugins
for i in *mkv; do ffmpeg -i "$i" -vcodec copy -acodec copy "${i%.mkv}.mp4"; done
pbuckley4192 /
Created Dec 6, 2016
Set Server time when there is no NTP available
sudo date -s "$(wget -qSO- --max-redirect=0 2>&1 | grep Date: | cut -d' ' -f5-8)Z"
You can’t perform that action at this time.