Original by chriscook8 from esp8266.com I just modified to use ESP8266WebServer library for easy to handle the http request.
This is sample code not yet complete.
- when Wifi connected need to close the softAP.
| ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa |
| #!/bin/bash | |
| # bash generate random alphanumeric string | |
| # | |
| # bash generate random 32 character alphanumeric string (upper and lowercase) and | |
| NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
| # bash generate random 32 character alphanumeric string (lowercase only) | |
| cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1 |
| #!/opt/bin/perl | |
| use warnings; | |
| use strict; | |
| # Copyright (c) 2013 Jon Nall, STUNTAZ!!! All rights reserved. | |
| # | |
| # This script is intended to be run on a Synology NAS. It attempts | |
| # to determine the external IP where the NAS is connected and then | |
| # checks to see if it needs to update a DNS record. The server is | |
| # updated if any of these are true: |
| REGEDIT4 | |
| [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink] | |
| "FontLinkControl"=dword:00004000 | |
| "FontLinkDefaultChar"=dword:00003000 | |
| /* 平滑化(anti-alias) */ | |
| /* 如果覺得開了之後字體難看,把三個Y改成N */ | |
| [HKEY_CURRENT_USER\Software\Wine\X11 Driver] | |
| "ClientSideAntiAliasWithCore"="Y" | |
| "ClientSideAntiAliasWithRender"="Y" | |
| "ClientSideWithRender"="Y" |