- VirtualBox
- Vagrant
- Packer
- a Mac with a lot of Memory/CPU/Disk
- great Templates/Tools from https://github.com/timsutton/osx-vm-templates
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 txr -f | |
@(block) | |
@(next "/usr/share/ieee-data/oui.txt") | |
@(do (defvar OUICORP (hash :equal-based))) | |
@(repeat) | |
@{OUI /([a-fA-F0-9][a-fA-F0-9][\-])*([a-fA-F0-9][a-fA-F0-9])/} (hex)@/[\t ]+/@CORP | |
@(do(sethash OUICORP OUI CORP)) | |
@(end) | |
@(end) | |
@(do (defvar STATE)) |
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
/* | |
* usbreset.c | |
* | |
* posted 2007-01-08 by Alan Stern <stern@roland.harvard.edu> | |
* to linux-usb-users@lists.sourceforge.net | |
* | |
*/ | |
#include <stdlib.h> | |
#include <stdio.h> |
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
diff --git a/src/libusb/funcs.d b/src/libusb/funcs.d | |
index 9e8e335..af47f42 100644 | |
--- a/src/libusb/funcs.d | |
+++ b/src/libusb/funcs.d | |
@@ -20,7 +20,16 @@ import consts; | |
import enums; | |
import structs; | |
import core.stdc.limits : INT_MAX; | |
-import core.sys.posix.sys.time : timeval; | |
+ |