Skip to content

Instantly share code, notes, and snippets.

@roysG
roysG / parallels-reset.sh
Created Dec 29, 2020 — forked from gdurastanti/parallels-reset.sh
Reset Parallels' trial
View parallels-reset.sh
#!/bin/sh
# Reset Parallels Desktop's trial and generate a casual email address to register a new user
rm /private/var/root/Library/Preferences/com.parallels.desktop.plist /Library/Preferences/Parallels/licenses.xml
jot -w pdu%d@gmail.com -r 1
@roysG
roysG / uid.ino
Created Oct 12, 2020 — forked from speters/uid.ino
Arduino atmega328p unique id/serial number
View uid.ino
#include <avr/boot.h>
void print_val(char *msg, uint8_t val)
{
Serial.print(msg);
Serial.println(val, HEX);
}
void setup(void)
{