I hereby claim:
- I am frostyfrog on github.
- I am frostyfrog (https://keybase.io/frostyfrog) on keybase.
- I have a public key whose fingerprint is 7A5B 339F 3F51 9D5E F516 7078 362D B4A5 0060 DF7B
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"strconv" | |
) | |
type Ninja struct { |
##### hostapd configuration file ############################################## | |
# Empty lines and lines starting with # are ignored | |
# AP netdevice name (without 'ap' postfix, i.e., wlan0 uses wlan0ap for | |
# management frames); ath0 for madwifi | |
interface=wifi | |
# In case of madwifi, atheros, and nl80211 driver interfaces, an additional | |
# configuration parameter, bridge, may be used to notify hostapd if the | |
# interface is included in a bridge. This parameter is not used with Host AP |
I hereby claim:
To claim this, I am signing this object:
# Automatically connect to (or establish) a tmux session | |
## if we are in a TTY and we aren't in a tmux session and we aren't connected through a gui... | |
if ( [ -t 1 ] && ! [ -n "$TMUX" ] && [ -z "$DISPLAY" ] ); then | |
## Attach to tmux, if we fail, start tmux. | |
## On success, exit the ssh connection. | |
## On failure, give the user a warning and drop them to the shell | |
tmux a || tmux | |
if [ $? -eq 0 ]; then | |
exit | |
else |