This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ZIP+=data_object_image_2.zip | |
ZIP+=data_object_image_3.zip | |
ZIP+=data_object_prev_2.zip | |
ZIP+=data_object_prev_3.zip | |
ZIP+=data_object_velodyne.zip | |
ZIP+=data_object_calib.zip | |
ZIP+=data_object_label_2.zip | |
ZIP+=devkit_object.zip | |
ZIP+=models_lsvm.zip | |
ZIP+=data_object_det_2.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Config | |
MAINTAINER="Jed Frey" | |
VERSION=3.2.0 | |
# Adapted from http://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/ | |
apt-get install --yes libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev libavcodec-dev libavformat-dev \ | |
libswscale-dev libxvidcore-dev libx264-dev libv4l-dev liblapacke-dev libgtk-3-dev \ | |
libopenblas-dev libhdf5-dev libtesseract-dev libleptonica-dev \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM This batch file is a short example of how to call | |
REM MATLAB from the command line. | |
REM Options: | |
REM -nosplash Don't display the MATLAB Splash screen | |
REM -wait Don't return to the script until MATLAB is closed. | |
REM -c explicitly specify the license file. | |
REM -logfile Log all script output to the logfile. | |
REM -r Run the specified matlab commands. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Export csv from DNS Benchmark to DNSmasq server lines. | |
# https://www.grc.com/dns/benchmark.htm | |
# (Runs fine under wine). | |
cat dns-*.csv | cut -f1 -d"," | sed "s/ //g" | sort | uniq | grep -v Server | xargs -n1 -IXX echo server=XX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.DEFAULT: null | |
.PHONY: null | |
null: | |
@echo No Default Target | |
VENV = .venv | |
.PHONY: venv | |
venv: ${VENV} | |
${VENV}: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nmap -p 80 -oG - 172.16.11.1/24 | grep sonoff | cut -f2 -d" " | sort | uniq | xargs -IXX -n1 firefox http://XX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
function pause(){ | |
read -p "$*" | |
} | |
# Baseline | |
find /dev > /tmp/a | |
lsusb -v >> /tmp/a | |
xinput list >> /tmp/a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkg install -y curl openvpn | |
mkdir -p /usr/local/etc/openvpn | |
cd /usr/local/etc/openvpn | |
curl -OL https://www.privateinternetaccess.com/openvpn/openvpn-strong-tcp.zip | |
unzip openvpn-strong.zip | |
renamex -s"/ /_/" *.ovpn | |
sed -i .bak -e "s/crl-verify crl/crl-verify \/usr\/local\/etc\/openvpn\/crl/" *.ovpn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 <ADD_YOURS_HERE> | |
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 <ADD_YOURS_HERE> | |
127.0.1.1 REPLACE REPLACE.localdomain REPLACE.local REPLACE.lan REPLACE.vlan11 REPLACE.vlan21 REPLACE.vlan31 REPLACE.vlan41 REPLACE.vlan51 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
exiftool -dateFormat %Y/%m-%b/%Y%m%d_%H%M%S%%-c.%%e "-filename<CreateDate" "$1" |