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
| #!/usr/bin/env python2 | |
| # vim: set fileencoding=utf8 | |
| import os | |
| import sys | |
| import requests | |
| import urllib | |
| import json | |
| import re | |
| import time |
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
| ## | |
| ## WPS on OpenWRT | |
| ## This script enables Wi-Fi Protected Setup on OpenWRT. | |
| ## | |
| ## Resources | |
| ## http://wiki.openwrt.org/doc/uci/wireless#wps.options | |
| ## | |
| #Install the full wpad package | |
| opkg update |
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
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <stdlib.h> | |
| #define XLIM 17 | |
| #define YLIM 9 | |
| #define ARSZ (XLIM * YLIM) | |
| #define DEBUG 0 |