/etc/rc.conf.local
apmd_flags="-A"
dhcpd_flags=vether0
vmd_flags=
ntpd_flags="-s"
import uiautomator,os,sys,datetime,time | |
from uiautomator import Device | |
print 'Getting Device Info' | |
os.system('adb devices > deviceinfo') | |
devinf = open('deviceinfo','rb') | |
devlines = devinf.readlines() | |
devinf.close() | |
for i in range(len(devlines)): | |
if 'device' not in devlines[i]:continue |
pam_python.so is not readily available on RHEL systems. Here's how to create an RPM from Russell's tar.gz:
Set up Kubernetes on 3 Debian Jessie virtual machines: One master. Two nodes. Additionally do this without any "magic" so that what is required to be running to make everything work is plain and obvious.
We will be using flannel for the inter-machine networking layer. Mainly because it is useful and it seems to be pretty popular.
As configured in my dotfiles.
start new:
tmux
start new with session name:
######################################################################### | |
# $$\ $DEAD$\ $MOUSE\ $$\ EDITION\ $$\ V2\ $$\ # | |
# $$ | $$ ___$$\ $$ ___$$\ $$ | $$ __$$\ $$ | $$ | $$ | # | |
# $$ | \_/ $$ |\_/ $$ |$$$$$$\ $$ | $$ |$$ | $$ |$$$$$$\ # | |
# $$ | $$$$$ / $$$$$ / \_$$ _| $$$$$$$ |$$$$$$$$ |\_$$ _| # | |
# $$ | \___$$\ \___$$\ $$ | $$ __$$< \_____$$ | $$ | # | |
# $$ | $$\ $$ |$$\ $$ | $$ |$$\ $$ | $$ | $$ | $$ |$$\ # | |
# $L33tR4t\\$Kali$ |\$Linux | \$$$$ |$$ | $$ | $$ | \$ISO | # | |
# \________|\______/ \______/ \____/ \__| \__| \__| \____/ # | |
######################################################################### |
#IRC Reference
Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.
##The Basics
/join #channel
/part #channel
#!/bin/bash | |
# | |
# Credits to fuckbecauseican5 from https://www.reddit.com/r/hackintosh/comments/4s561a/macos_sierra_16a238m_install_success_and_guide/ | |
# Adapted to work with the official image available into Mac App Store | |
# | |
# Enjoy! | |
hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app | |
hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J | |
hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build |
#!/bin/bash | |
# Guide to install L2TP-IPSEC VPN Server on a Raspberry Pi with ArchLinux | |
# Used parts of several instructions, | |
# http://nls.io/setup-an-ipsec-l2tp-vpn-with-text-or-ldap-auth-on-arch-linux/ | |
# https://smileykeith.com/2014/01/27/ipsec-l2tp-vpn-on-a-raspberry-pi-running-arch-linux/ | |
# http://linux.tips/tutorials/how-to-setup-l2tp-vpn-server-on-raspberry-pi | |
# Tested and works with OSX and iOS 7.1 supplied vpn client |
#!/bin/bash | |
# description: Cisco Anyconnect CSD wrapper for OpenConnect | |
# author: https://github.com/asarkar/ | |
# gist: https://gist.github.com/asarkar/fb4452a4abdf9e4a9752a7d55d2cdc93 | |
# connect: sudo openconnect --background \ | |
# --user=<username> \ | |
# --authgroup=1 \ | |
# --csd-user=<localhost username> \ | |
# --csd-wrapper=<script location on localhost> \ | |
# --os=mac-intel \ |