This file contains 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
interface=uap0 | |
ssid=testPiAP | |
hw_mode=g | |
channel=11 | |
macaddr_acl=0 | |
auth_algs=1 | |
ignore_broadcast_ssid=0 | |
wpa=2 | |
wpa_passphrase=badpassword | |
wpa_key_mgmt=WPA-PSK |
This file contains 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
source-directory /etc/network/interfaces.d | |
auto lo | |
auto eth0 | |
auto wlan0 | |
auto uap0 | |
iface eth0 inet dhcp | |
iface lo inet loopback |
This file contains 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
interface=lo,uap0 | |
no-dhcp-interface=lo,wlan0 | |
bind-interfaces | |
server=8.8.8.8 | |
domain-needed | |
bogus-priv | |
dhcp-range=192.168.50.50,192.168.50.150,12h |
This file contains 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
country=GB | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
network={ | |
ssid="SSID_OF_NETWORK" | |
psk="NETWORK_PASSWORD" | |
} |
This file contains 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
#!/bin/bash | |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
iw dev wlan0 interface add uap0 type __ap | |
service dnsmasq restart | |
sysctl net.ipv4.ip_forward=1 | |
iptables -t nat -A POSTROUTING -s 192.168.50.0/24 ! -d 192.168.50.0/24 -j MASQUERADE | |
ifup uap0 | |
hostapd /etc/hostapd/hostapd.conf |
This file contains 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
CREATE TABLE example_clustering ( | |
comment text, | |
added timestamp, | |
user_id uuid, | |
PRIMARY KEY ((comment), added) | |
) WITH CLUSTERING ORDER BY ( added DESC ); |
This file contains 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
CREATE TABLE IF NOT EXISTS example.user ( | |
user_id timeuuid, | |
added_date timestamp, | |
first_name text, | |
last_name text, | |
email text, | |
PRIMARY KEY ((first_name,last_name,email)) | |
); |
This file contains 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
CREATE TABLE IF NOT EXISTS example.user ( | |
user_id timeuuid, | |
added_date timestamp, | |
first_name text, | |
last_name text, | |
email text, | |
PRIMARY KEY (user_id) | |
); |
This file contains 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
CREATE TABLE IF NOT EXISTS example.user ( | |
user_id timeuuid PRIMARY KEY, | |
added_date timestamp, | |
first_name text, | |
last_name text, | |
email text | |
); |
This file contains 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
5008 | |
9201 | |
300 | |
1857 | |
5001 | |
5007 | |
5009 | |
5003 | |
9203 | |
1834 |
OlderNewer