Skip to content

Instantly share code, notes, and snippets.

View trockenasche's full-sized avatar

Murdoc Bates trockenasche

View GitHub Profile
@michamilz
michamilz / readme.md
Last active August 29, 2021 18:59
Userscript zum Lesen von SVZ+, Prignitzer+ und NNN+ Artikeln
@juhaautioniemi
juhaautioniemi / README.md
Created March 7, 2017 08:58
Get solar power plant data from SMA Sunny Webbox using RPC API

Description

This flow requests data directly from Sunny Webbox data acquisition unit every 30 seconds (00:00:30, 00:01:00... etc) and then parses the result only if response payload.result has changed or timeout value has reached 1800 seconds.

Returned values are current power [W], daily energy [kWh], total energy [kWh], current mode and error message.

Created and tested with Node-RED 0.16.2 and Node.js 6.10.0 in Windows 10 machine. Connection to Sunny Webbox is established over local area network.

User actions

@SonoSooS
SonoSooS / bandcamp.lua
Last active February 18, 2021 19:05
Bandcamp VLC plugin
--[[--
bandcamp.lua - Bandcamp album/track player plugin
Copyright (C) 2016-2018 Sono (https://github.com/MarcuzD)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3, or
(at your option) any later version.
This program is distributed in the hope that it will be useful, but
@DeanCording
DeanCording / README.md
Last active December 4, 2021 07:31
ESP8266 OTA Firmware Upgrade Manager

This flow provides a tool for managing Over The Air firmware updates for ESP8266 Wifi SoC modules running the Arduino ESP8266 environment. It also supports Sonoff devices running the Tasmota firmware.

The ESP8266 is a very small, cheap, and reasonably powerful microcontroller with integrated WiFi. The OTA firmware upgrade process allows you to install these modules in location and have them automatically upgrade their firmware over WiFi.

The OTA upgrade library contacts a specified URL and passes the name and MD5 hash of the module's current firmware. This server implemented in this flow will compare the supplied MD5 hash against the one for the latest firmware and, if different, send the new firmware to the module. The server will uses either the module's MAC address or firmware name to identify the correct firmware file to send. The firmware can be specified in either the request URL or in the x-esp8266-version property in the

@gabonator
gabonator / password.txt
Last active July 3, 2024 07:22
HiSilicon IP camera root passwords
Summary of passwords by sperglord8008s, updated November 1. 2020. For login try "root", "default", "defaul" or "root"
00000000
059AnkJ
4uvdzKqBkj.jg
7ujMko0admin
7ujMko0vizxv
123
1111
1234

Simple Security Guidelines

Using an iDevice? (Best option)

  • Use an iPod or an iPad without a SIM card
  • Use an iPhone
  • Do not jailbreak
  • Always upgrade to new iOS versions
  • Use Brave browser

Need Secure chat?

from scapy.all import *
def arp_display(pkt):
if pkt[ARP].op == 1: #who-has (request)
if pkt[ARP].psrc == '0.0.0.0': # ARP Probe
if pkt[ARP].hwsrc == '74:75:48:5f:99:30': # Huggies
print "Pushed Huggies"
elif pkt[ARP].hwsrc == '10:ae:60:00:4d:f3': # Elements
print "Pushed Elements"
else:
print "ARP Probe from unknown device: " + pkt[ARP].hwsrc
@gooddadmike
gooddadmike / About Slackbot Responses - various.md
Last active July 1, 2024 12:32
Slackbot Responses - various
@gooddadmike
gooddadmike / Slackbot Responses - rock paper scissors lizard spock.md
Last active May 10, 2016 18:02
Slackbot Responses - rock, paper, scissors, spock, lizard.

This was inspired by Big Bang Theory and Sam Kass

Supports both my standard rock paper scissors and the "lizard spock expansion (this gist)

Follow directions for standard rock paper scissors first to set up emoji.

update: I decided ✂️ is nothing like ✌️ so should not be part of this

Emoji Alias for Expansion update: There is now a :spock-hand: emoji (doesn't show in github yet)

@zakx
zakx / damazon.py
Last active August 30, 2020 00:01 — forked from trehn/damazon.py
#!/usr/bin/python2
# setup: pip install requests beautifulsoup4
from decimal import Decimal
import requests
from bs4 import BeautifulSoup
import sys
# Session setup