init...
#define LED_D4 13
#define LED_D5 12
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(LED_D4,OUTPUT);
Domain | Description |
---|---|
dis.gd | Discord's URL shorter (I like .gd as top-level domain) |
discord.co | Admin panel, this means not for us! (Not discord administrators / maybe staffs) |
discord.com | The domain is for e.g the homepage or message links etc |
discord.design | Dribbble profile shortlink |
discord.dev | Developer site shortlinks |
discord.gg | Invite shortlinks |
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
# See https://halu.lu/%E6%9D%82%E8%B0%88/cloudflare-warp/ | |
# Depolyed at https://warp.halu.lu/ | |
// Change keys if needed | |
const keys = [ | |
"9WO41D5p-6OP8xj27-36gQG75D", | |
"R65K12Up-aU907O2e-4nuvD581", | |
"06LM94EJ-1nl0V2d7-V847va5y", | |
] |
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
by default,openwrt do not allow ssh access from wan, here are two method to change that: | |
1.login into your wrt from a lan host.issue the following command: | |
iptables -F | |
the command "flush away" all the firewall rules,including the one that rejects ssh request from wan. | |
now you can try ssh from anywhere. | |
aware that the firewall deactivation leads to highly security risk.and after the wrt restarts ,all default firewall configuration comes back.you hava to "flush" the rules once again. |
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
# retrieve webelement | |
input = driver.find_element_by_xpath("//*[@name='fieldname']") | |
# set attribute from js script referencing webelement found in python code | |
driver.execute_script("arguments[0].setAttribute('value', 'new value!')", input); | |
# or | |
driver.execute_script("arguments[0].setAttribute('value', arguments[1])", input, 'new value!'); | |
# Code for File Upload | |
file_input = driver.find_element_by_id("uploadBtn") | |
file_input.send_keys("/absolute/path/to/file") |
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
-480p - Run tenfoot in 480p rather than 1080p | |
-720p - Run tenfoot in 720p rather than 1080p | |
-accountrecovery - Perform account recovery | |
-all_languages - show longest loc string from any language | |
-bigpicture - Start in Steam Big Picture mode | |
-cafeapplaunch - Launch apps in a cyber cafe context | |
-candidates - Show libjingle candidates for local connection as they are processed | |
-ccsyntax - Spew details about the localized strings we load | |
-community - Set the community URL | |
-complete_install_via_http - Run installation completion over HTTP by default |
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
server { | |
listen 80; | |
server_name www.example.com; | |
rewrite ^ http://example.com$request_uri? permanent; #301 redirect | |
} | |
server { | |
listen 80; | |
server_name example.com; |
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
# Built application files | |
/*/build/ | |
# Crashlytics configuations | |
com_crashlytics_export_strings.xml | |
# Local configuration file (sdk path, etc) | |
local.properties | |
# Gradle generated files |
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
#!/usr/bin/python | |
__version__="0.0.1" | |
__author__="david" | |
__email__="[email protected]" | |
import argparse | |
import csv | |
import json | |
from multiprocessing import Process | |
import netaddr |
NewerOlder