Skip to content

Instantly share code, notes, and snippets.

Paul pbuckley4192

  • 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 gist:9c95b602b9675b9c7b3f8ed98e281870
- id: '1552465990326'
alias: Car Location
trigger:
- platform: mqtt
topic: homeassistant/sensor/android_pauls_phone_hfp/state
condition:
- 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(Matcher.java:1283)
at java.util.regex.Matcher.reset(Matcher.java:309)
at java.util.regex.Matcher.<init>(Matcher.java:229)
at java.util.regex.Pattern.matcher(Pattern.java:1093)
at org.dependencytrack.parser.dependencycheck.resolver.PackageURLResolver.resolve(PackageURLResolver.java:54)
at org.dependencytrack.tasks.ScanUploadProcessingTask.resolveMetadata(ScanUploadProcessingTask.java:169)
at org.dependencytrack.tasks.ScanUploadProcessingTask.processDependency(ScanUploadProcessingTask.java:113)
at org.dependencytrack.tasks.ScanUploadProcessingTask.processDependency(ScanUploadProcessingTask.java:162)
@pbuckley4192
pbuckley4192 / raw2jpg.sh
Created Mar 24, 2018 — forked from h0tw1r3/raw2jpg.sh
Parallel recursive RAW to JPEG + meta converter shell script
View raw2jpg.sh
!/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:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}
If 64-Bit Windows, also delete:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}
@pbuckley4192
pbuckley4192 / mkvtomp4.sh
Last active Oct 2, 2017
Convert MKV to MP4
View mkvtomp4.sh
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
pbuckley4192 / time.sh
Created Dec 6, 2016
Set Server time when there is no NTP available
View time.sh
sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"
You can’t perform that action at this time.