zsh -c "$(curl -fsSL https://raw.githubusercontent.com/nrjdalal/silicon-virtualizer/master/install-qemu.sh)"
xcode-select --install
# Author: Lizhou Sha <slz@mit.edu> | |
# Note: This version is OUTDATED. Please refer to the latest iodine package in Debian Unstable. | |
[Unit] | |
Description=A daemon for tunneling traffic over DNS queries | |
After=network.target | |
[Service] | |
EnvironmentFile=/etc/default/iodine | |
ExecStartPre=/bin/sh -xc "test ${START_IODINED} = true" |
## Just source this file in your .$SHELLrc | |
# Import SSH-Keys from KeePass KeeAgent | |
# Enable msysgit socken in KeeAgent! | |
if [[ -z $SSH_AUTH_SOCK ]]; then | |
export SSH_AUTH_SOCK="/tmp/.ssh-auth-sock" | |
fi | |
if [[ ! -f /tmp/msysgit2unix-socket.pid ]]; then | |
~/bin/msysgit2unix-socket.py /mnt/c/Users/$USER/keeagent.sock:$SSH_AUTH_SOCK |
--- | |
- name: Reboot a host and wait for it to return | |
hosts: somehost | |
remote_user: root | |
tasks: | |
# Send the reboot command | |
- shell: shutdown -r now | |
# This pause is mandatory, otherwise the existing control connection gets reused! | |
- pause: seconds=30 |
NODE=10.17.0 | |
wget https://nodejs.org/dist/v$NODE/node-v$NODE-linux-armv6l.tar.xz | |
tar -xvf node-v$NODE-linux-armv6l.tar.xz | |
sudo cp -R node-v$NODE-linux-armv6l/* /usr/local/ | |
rm -rf node-v$NODE-linux-armv6l node-v$NODE-linux-armv6l.tar.xz |
#!/bin/bash | |
cd ~ | |
sudo apt-get update | |
sudo apt-get install -y git cmake libusb-1.0-0.dev build-essential | |
cat <<EOF >no-rtl.conf | |
blacklist dvb_core | |
blacklist dvb_usb_rtl28xxu |
HPONCFG all << end_marker | |
<RIBCL VERSION="2.0"> | |
<LOGIN USER_LOGIN="Dontcare" PASSWORD="UsingAutologin"> | |
<USER_INFO MODE="write"> | |
<ADD_USER | |
USER_NAME="daniel" | |
USER_LOGIN="daniel" | |
PASSWORD="daniel123"> | |
<ADMIN_PRIV value ="Yes"/> | |
<REMOTE_CONS_PRIV value ="Yes"/> |
#!/usr/bin/python | |
""" | |
msysGit to Unix socket proxy | |
============================ | |
This small script is intended to help use msysGit sockets with the new Windows Linux Subsystem (aka Bash for Windows). | |
It was specifically designed to pass SSH keys from the KeeAgent module of KeePass secret management application to the | |
ssh utility running in the WSL (it only works with Linux sockets). However, my guess is that it will have uses for other |
#!/usr/bin/python | |
""" | |
msysGit to Unix socket proxy | |
============================ | |
This small script is intended to help use msysGit sockets with the new Windows Linux Subsystem (aka Bash for Windows). | |
It was specifically designed to pass SSH keys from the KeeAgent module of KeePass secret management application to the | |
ssh utility running in the WSL (it only works with Linux sockets). However, my guess is that it will have uses for other |
# Add this snippet to the top of your playbook. | |
# It will install python2 if missing (but checks first so no expensive repeated apt updates) | |
# gwillem@gmail.com | |
- hosts: all | |
gather_facts: False | |
tasks: | |
- name: install python 2 | |
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal) |