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 |
echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4
apt-get -o Acquire::ForceIPv4=true update
Acquire::ForceIPv4 and Acquire::ForceIPv6
apt.conf
to write Acquire::ForceIPv4 "true";
host security.debian.org
https://www.symscape.com/configure-msmpi-for-mingw-w64
https://www.symscape.com/configure-msmpi-v8-1-for-mingw-w64
Gather MPI distribution from Windows
Copy C:\Program Files\Microsoft HPC Pack 2012 to a temp location (e.g., D:\projects\mpi\ms-hpc) then copy C:\Windows\System32\msmpi.dll to \Lib\amd64.
Transfer to Linux. Create libmsmpi.a on Linux
none /cygdrive cygdrive binary,nouser,noacl,posix=0 0 0 | |
d:/home /home ntfs binary,nouser,noacl,posix=0 0 0 |
если возникает такая ошибка
By not providing "FindLZMA.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "LZMA", but CMake did not find one.
Could not find a package configuration file provided by "LZMA" with any of the following names:
LZMAConfig.cmake