Install the OpenSSL on Debian based systems
sudo apt-get install openssl
#include <ESP8266WiFi.h> | |
#include <WiFiUdp.h> | |
#include <ESP8266WebServer.h> | |
// simple POC : send hello world string over UDP-multicast address every 2 seconds. | |
// a very simple way to connect IOT to local network without need of any server. | |
// author : Marc Quinton / feb 2019 | |
// keywords : esp8266, arduino, multicast, IOT, example, POC | |
WiFiUDP udp; |
DEVICE = atmega328p | |
CLOCK = 16000000 | |
PROGRAMMER = -c arduino -P /dev/ttyUSB0 -b57600 | |
AVRDUDE = avrdude $(PROGRAMMER) -p $(DEVICE) | |
SOURCES = $(shell find . -name '*.c') | |
OBJECTS = $(SOURCES:.c=.o) | |
# Automatic dependency resolution |
#!/usr/bin/env python3 | |
# Get your files that Gmail block. Warning message: | |
# "Anti-virus warning - 1 attachment contains a virus or blocked file. Downloading this attachment is disabled." | |
# Based on: https://spapas.github.io/2014/10/23/retrieve-gmail-blocked-attachments/ | |
# Instructions: | |
# Go to your emails, click the arrow button in the top right, "Show original", then "Download Original". | |
# Move the files to the same directory as this program, then run it. | |
import sys |
Disclaimer: I wrote this script for my own personal usage. It is not officially supported by Opera Software.
Whilst Opera currently only provide .deb packages, it is possible to install Opera on different distros. This install script automates the process.
If you don't already have the script, fetch it like so:
git clone https://gist.github.com/ace4fb780216aa28d922.git
To install the latest stable release, issue:
Install dep, and start tracker
sudo apt-get install bittornado ctorrent
bttrack --port 6969 --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full
Now, create a torrent file
ctorrent -t -u "YOUR_SERVER_IP:6969/announce" -s new_file_name.torrent file_or_folder_for_torrent
/** | |
* Create a web friendly URL slug from a string. | |
* | |
* Requires XRegExp (http://xregexp.com) with unicode add-ons for UTF-8 support. | |
* | |
* Although supported, transliteration is discouraged because | |
* 1) most web browsers support UTF-8 characters in URLs | |
* 2) transliteration causes a loss of information | |
* | |
* @author Sean Murphy <sean@iamseanmurphy.com> |