To connect the nodemcu to the NRF24L01+
transceiver, use the following pins:
| NODEMCU PIN | NRF24L01+ PIN |
#!/usr/bin/env python | |
# Taken from: https://notes.jmsinfor.com/blog/post/admin/Xiaomi-Hub | |
import socket | |
import binascii | |
import struct | |
UDP_IP = "192.168.0.107" | |
UDP_PORT_FROM = 54322 | |
UDP_PORT = 54321 | |
#!/usr/bin/env python3 | |
import struct | |
import re | |
import socket | |
import sys | |
MAC = '1c:5a:6b:b8:93:c0' | |
def wake_on_lan(mac): |
mkdir lib/perl5
mkdir -p lib/perl5
ln -s $HOME/lib/perl5 $HOME/bin/lib
wget https://sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-10.62.tar.gz
tar xvzf Image-ExifTool-10.62.tar.gz
cd Image-ExifTool-10.62
perl Makefile.PL INSTALL_BASE=$HOME
make
make install
admin account info" filetype:log | |
!Host=*.* intext:enc_UserPassword=* ext:pcf | |
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd | |
"AutoCreate=TRUE password=*" | |
"http://*:*@www” domainname | |
"index of/" "ws_ftp.ini" "parent directory" | |
"liveice configuration file" ext:cfg -site:sourceforge.net | |
"parent directory" +proftpdpasswd | |
Duclassified" -site:duware.com "DUware All Rights reserved" | |
duclassmate" -site:duware.com |
#!/usr/bin/env python | |
from __future__ import print_function, absolute_import | |
import argparse | |
import os | |
import socket | |
import subprocess | |
import sys | |
KEY_FILE = "/etc/bind/update_dns.private" |
#!/usr/bin/env python3 | |
""" download_comodo_waf_rules.py - A very simple downloader script | |
This script updates the ModSecurity rulebase from waf.comodo.com automagically. | |
It downloads the latest rulebase for both apache and nginx as tarbal and extracts the rules to a directory. | |
To get started, replace the AUTH_USERNAME and AUTH_PASSWORD variables with your own credentials. | |
(Create at https://accounts.comodo.com/cwaf/management/signup) | |
""" |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
''' debbuild_wrapper.py | |
The debian package build wrapper on Jenkins. | |
This script support three way of building debian package. | |
1-1. Backport from source package with cowbuilder. | |
1-2. Pre-build and Backport from source package with cowbuilder. | |
2. Build original package with git-buildpackage. |
#!/usr/bin/env python | |
import getpass | |
import os | |
import re | |
import signal | |
import sys | |
from collections import namedtuple | |
from urllib import urlencode | |
from urllib2 import build_opener |