This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Converts JSON objects into nix (hackishly).""" | |
import sys | |
import json | |
INDENT = " " * 2 | |
def strip_comments(t): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[zack@leto ~]$ sudo tee << EOF /etc/wpa_supplicant.conf > /dev/null | |
ctrl_interface=/run/wpa_supplicant | |
EOF | |
[zack@leto ~]$ sudo wpa_supplicant -iwlp1s0 -Dnl80211 -c/etc/wpa_supplicant.conf -B | |
Successfully initialized wpa_supplicant | |
[zack@leto ~]$ sudo wpa_cli | |
wpa_cli v2.0 | |
Copyright (c) 2004-2012, Jouni Malinen <j@w1.fi> and contributors | |
This software may be distributed under the terms of the BSD license. |