superfish.pem contains:
- the Superfish certificate as found by both Chris Palmer and Matt Burke;
- the encrypted private key as found by Karl Koscher.
$ openssl x509 -in superfish.pem -text
Certificate:
Data:
Version: 3 (0x2)superfish.pem contains:
$ openssl x509 -in superfish.pem -text
Certificate:
Data:
Version: 3 (0x2)| --[[ | |
| SprayLoader - Load images from websites | |
| ]] | |
| SprayLoader = {}; | |
| SprayLoader.Cache = {}; | |
| SprayLoader.WaitingList = {}; | |
| SprayLoader.Panels = {}; | |
| SprayLoader.LoadURL = "localhost/solarpower/index.php?p=image&s="; |
| [root@plex ~]# cat /etc/systemd/system/[email protected] | |
| [Unit] | |
| Description=Minecraft Server %i | |
| [Service] | |
| WorkingDirectory=/opt/minecraft-%i | |
| User=mcserver | |
| Type=forking | |
| ExecStart=/usr/bin/tmux new-session -s mc-%i -d '/bin/java -Xmx2048M -jar minecraft_server.jar nogui' |
Simple guide for setting up OTG modes on the Raspberry Pi Zero - By Andrew Mulholland (gbaman).
The Raspberry Pi Zero (and model A and A+) support USB On The Go, given the processor is connected directly to the USB port, unlike on the B, B+ or Pi 2 B, which goes via a USB hub.
Because of this, if setup to, the Pi can act as a USB slave instead, providing virtual serial (a terminal), virtual ethernet, virtual mass storage device (pendrive) or even other virtual devices like HID, MIDI, or act as a virtual webcam!
It is important to note that, although the model A and A+ can support being a USB slave, they are missing the ID pin (is tied to ground internally) so are unable to dynamically switch between USB master/slave mode. As such, they default to USB master mode. There is no easy way to change this right now.
It is also important to note, that a USB to UART serial adapter is not needed for any of these guides, as may be documented elsewhere across the int
fio -rw=read -bs=4k -size=100m -numjobs=40 -runtime=60 -direct=1 -invalidate=1 -ioengine=libaio -iodepth=32 -iodepth_batch=32 -group_reporting -name=seqread
fio -rw=write -bs=4k -size=100m -numjobs=40 -runtime=60 -direct=1 -invalidate=1 -ioengine=libaio -iodepth=32 -iodepth_batch=32 -group_reporting -name=seqwrite
fio -rw=randread -bs=4k -size=100m -numjobs=40 -runtime=60 -direct=1 -invalidate=1 -ioengine=libaio -iodepth=32 -iodepth_batch=32 -group_reporting -name=randread
fio -rw=randwrite -bs=4k -size=100m -numjobs=40 -runtime=60 -direct=1 -invalidate=1 -ioengine=libaio -iodepth=32 -iodepth_batch=32 -group_reporting -name=randwrite
| <# | |
| .SYNOPSIS | |
| An MTR clone for PowerShell. | |
| Written by Tyler Applebaum. | |
| Version 2.1 | |
| .LINK | |
| https://gist.github.com/tylerapplebaum/dc527a3bd875f11871e2 | |
| http://www.team-cymru.org/IP-ASN-mapping.html#dns |
| function render.CreateOutlineData(length, passes, color) | |
| local step = length * 2 / 2 ^ (math.Round(passes) - 1) | |
| local matrices = {} | |
| for coord = -length, length, step do | |
| matrices[#matrices + 1] = Matrix() | |
| matrices[#matrices]:Translate(Vector(0, 0, coord)) | |
| matrices[#matrices + 1] = Matrix() |
| emulator -list-avds | cat -n | |
| printf "Select AVD: " | |
| read index | |
| avd=$(emulator -list-avds | sed "${index}q;d") | |
| echo "Selected $avd" | |
| emulator -netdelay none -netspeed full -avd $avd |