Use the following Hayes AT command through the diag com port:
AT$NWGPSSTART=3,1,4,250,50,255
Use the following Hayes AT command through the diag com port:
AT$NWGPSSTART=3,1,4,250,50,255
g_LastCtrlKeyDownTime := 0 | |
g_AbortSendEsc := false | |
g_ControlRepeatDetected := false | |
*CapsLock:: | |
if (g_ControlRepeatDetected) | |
{ | |
return | |
} |
Our Virtual Machines are provisioned using Vagrant from a Linux base box to run using VirutalBox. If the Hard Disk space runs out and you cannot remove files to free-up space, you can resize the Hard Disk using some VirtualBox and Linux commands.
The following steps assume you've got a set-up like mine, where:
#!/bin/bash | |
# Create temp workign directory | |
mkdir -p /mnt/vmw-tools | |
# Mount VMware Tools ISO | |
mount /dev/cdrom /mnt/vmw-tools | |
# Retrieve the VMware Tools package name from the directory | |
VMW_TOOLS=$(ls /mnt/vmw-tools/ | grep .gz) |
# Download latest archlinux bootstrap package, see https://www.archlinux.org/download/ | |
wget http://ftp.nluug.nl/os/Linux/distr/archlinux/iso/2016.01.01/archlinux-bootstrap-2016.01.01-x86_64.tar.gz | |
# Make sure you'll have enough entropy for pacman-key later. | |
apt-get install haveged | |
# Install the arch bootstrap image in a tmpfs. | |
mount -t tmpfs none /mnt | |
cd /mnt | |
tar xvf ~/archlinux-bootstrap-2016.01.01-x86_64.tar.gz --strip-components=1 |
Windows Registry Editor Version 5.00 | |
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MSYS here] | |
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MINGW64 here] | |
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MINGW32 here] |
if __name__ == "__main__": | |
import sys | |
import pstats | |
stats = pstats.Stats(sys.argv[1]) | |
stats.strip_dirs() | |
stats.sort_stats('cumulative') | |
stats.print_stats() |
// ==UserScript== | |
// @id [email protected] | |
// @name Github MD5 Hashes | |
// @version 1.0 | |
// @namespace github-md5-hashes | |
// @author Erik Vold | |
// @description | |
// @include http*//github.com* | |
// @run-at document-end | |
// ==/UserScript== |
import os, hashlib, urllib2, optparse | |
def get_remote_md5_sum(url, max_file_size=100*1024*1024): | |
remote = urllib2.urlopen(url) | |
hash = hashlib.md5() | |
total_read = 0 | |
while True: | |
data = remote.read(4096) | |
total_read += 4096 |
key=ENV['key'] | |
vars = Hash.new | |
vars["key"]=ENV['key'] | |
Vagrant.configure(2) do |config| | |
config.vm.box = "hashicorp/precise32" | |
config.vm.provision "shell", inline: "echo var key=#{key}" | |
config.vm.provision "shell", path: "provision.sh", args: "arg1", env: vars | |
end |