netsh wlan set tracing mode=yes
netsh wlan set tracing mode=no
Once a trace has been completed, a report is compiled at C:\windows\tracing\wireless and viewable in the Windows performance monitor.
#!/bin/bash | |
# Record from mic | |
arecord -d 3 -f cd -t wav -r 16000 -c 1 -D pulse test.wav | |
# Get record volume | |
sox test.wav -n stats -s 16 2>&1 | grep 'Max level' | awk '{print $3}' | |
# Convert to flac for smaller footprint | |
flac -f test.wav | |
# Google speech recognition | |
LANG=en-us |
================================================================= | |
SETTING UP SSHD AS A SERVICE FOR RUNNING HADOOP DAEMONS ON WINDOWS 7 | |
================================================================= | |
Steps: | |
1. Download 'setup.exe' from Cygwin website | |
2. Right-click on 'setup.exe' | |
3. Leave settings as they are, click through until you come to the plugin selection window | |
3.1 - Make sure that the installation directory is 'C:\cygwin' |
#!/bin/bash | |
# install CUDA Toolkit v9.0 | |
# instructions from https://developer.nvidia.com/cuda-downloads (linux -> x86_64 -> Ubuntu -> 16.04 -> deb) | |
CUDA_REPO_PKG="cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64-deb" | |
wget https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/${CUDA_REPO_PKG} | |
sudo dpkg -i ${CUDA_REPO_PKG} | |
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub | |
sudo apt-get update | |
sudo apt-get -y install cuda-9-0 |
UserDB.txt URLs (use your own flavor): | |
http://www.sysreveal.com/tag/userdb-txt/ | |
http://handlers.sans.org/jclausing/userdb.txt | |
https://github.com/cuckoobox/cuckoo/blob/master/data/peutils/UserDB.TXT | |
http://research.pandasecurity.com/blogs/images/userdb.txt |
# first, get the iso from http://releases.ubuntu.com/ | |
# make working dir hierarchy in /tmp (you'll need enough ram for this) | |
sudo mkdir -p /tmp/custom/{_squash,_work,iso,newiso,newlive,project} | |
sudo mount -o loop ~/Downloads/ubuntu-15.10-desktop-amd64.iso /tmp/custom/iso | |
sudo mount -t squashfs /tmp/custom/iso/casper/filesystem.squashfs /tmp/custom/_squash | |
sudo mount -t overlay overlay -onoatime,lowerdir=/tmp/custom/_squash,upperdir=/tmp/custom/project,workdir=/tmp/custom/_work /tmp/custom/newlive | |
# customize the live fs with systemd-nspawn (a better chroot) | |
sudo systemd-nspawn --bind-ro=/etc/resolv.conf:/run/resolvconf/resolv.conf --setenv=RUNLEVEL=1 -D /tmp/custom/newlive |
none /cygdrive cygdrive binary,nouser,noacl,posix=0 0 0 | |
d:/home /home ntfs binary,nouser,noacl,posix=0 0 0 |
"#Let’s enable extra metadata options by default | |
[automount] | |
enabled = true | |
root = /windir/ | |
options = "metadata,umask=22,fmask=11" | |
mountFsTab = false | |
#Let’s enable DNS – even though these are turned on by default, we’ll specify here just to be explicit. | |
[network] | |
generateHosts = true |
@ECHO OFF | |
GOTO :MAIN | |
:SETTINGS | |
SET VS_ROOT=C:\Program Files (x86)\Microsoft Visual Studio 10.0 | |
SET INSTALL_ROOT=D:\Ruby | |
EXIT /B | |
:BASENAME | |
SET BASENAME=%~nx1 |
@echo off | |
rem MSSDK71OPTS.BAT | |
rem | |
rem Compile and link options used for building MEX-files | |
rem using the Microsoft Windows Software Development Kit. | |
rem | |
rem $Revision: 1.1.6.2 $ $Date: 2011/03/09 05:35:27 $ | |
rem Copyright 2010 The MathWorks, Inc. | |
rem | |
rem StorageVersion: 1.0 |