Skip to content

Instantly share code, notes, and snippets.

@orinocoz
orinocoz / Kerio-connect-nginx.conf
Created October 20, 2021 17:02 — forked from ilyaevseev/Kerio-connect-nginx.conf
Copy Kerio Connect backups to Hetzner backup server.
server {
listen 80;
listen [::]:80;
server_name mail.remotesrv.ru;
location /.well-known { alias /var/www/letsencrypt/.well-known; }
location / { return 308 https://mail.remotesrv.ru$request_uri; }
}
/**
* ---------------------------------------------------------
* | Esp-32/Arduino Stair Led Relay control |
* | By SchizoDuckie, ©2019 |
* | |
* | Disclaimer: |
* | I am in no way, shape or form responsible for |
* | - You setting your house on fire |
* | - Your firstborn suddenly getting autism |
* | - Your girlfriend running off with the neighbour |
@orinocoz
orinocoz / ffmpeg.md
Created April 25, 2021 10:19 — forked from steven2358/ffmpeg.md
FFmpeg cheat sheet
@orinocoz
orinocoz / ALTERNATIVES.adoc
Created April 17, 2021 09:51 — forked from mbbx6spp/ALTERNATIVES.adoc
Super quick list of alternatives to Jira and/or Confluence, Stash, Crucible, etc.
@orinocoz
orinocoz / main.cpp
Created March 19, 2021 15:07 — forked from c4r-gists/main.cpp
Connecting a DHT11 sensor to the cloud with an ESP8266-based board
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <Cloud4RPi.h>
#include "DHT.h"
#ifndef LED_BUILTIN
#define LED_BUILTIN 2
#endif
#define DHTPIN 2 // Digital pin connected to the DHT sensor
@orinocoz
orinocoz / MQTT_ESP8266_temperature_humidity.ino
Created March 14, 2021 19:08 — forked from balloob/MQTT_ESP8266_temperature_humidity.ino
Sketch for the ESP8266 to publish temperature and humidity values received from a DHT22 to MQTT
// Get ESP8266 going with Arduino IDE
// - https://github.com/esp8266/Arduino#installing-with-boards-manager
// Required libraries (sketch -> include library -> manage libraries)
// - PubSubClient by Nick ‘O Leary
// - DHT sensor library by Adafruit
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include <DHT.h>
@orinocoz
orinocoz / mysubaru.py
Created December 14, 2020 23:26 — forked from nbonfire/mysubaru.py
MySubaru python samples
import requests, json
from subarucreds import username,password,pin # just a "subarucreds.py" that has some variables i didn't want to share
import datetime
#login
s=requests.Session()
loginr=s.post('https://www.mysubaru.com/login', data = {'username':username,'password':password})
#should return a response 200
#Where's my subaru?
@orinocoz
orinocoz / ESP_RELAY_MQTT.ino
Created September 2, 2020 19:58 — forked from jamesabruce/ESP_RELAY_MQTT.ino
Simple MQTT controlled relay running on NodeMCU dev board on pin d2/gpio4
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <PubSubClient.h>
#define RELAY 4 // pin labelled d2
// Update these with values suitable for your network.
const char* ssid = "YOURWIFI";
@orinocoz
orinocoz / deauthall.md
Created August 19, 2020 16:42 — forked from spacehuhn/deauthall.md
Deauth-All-Button

Replace cli with serialInterface if you're using an older version of esp8266_deauther!

In the end of setup():

  pinMode(D5, INPUT_PULLUP); // enable button pin
  pinMode(D4, OUTPUT);       // enable LED pin

In the beginning of loop():

@orinocoz
orinocoz / huawei-fw-list.txt
Created March 27, 2020 15:34 — forked from ValdikSS/huawei-fw-list.txt
Huawei firmware files found on update server
==========================================================================
DO NOT WRITE ANY QUESTIONS IN COMMENTS
==========================================================================
This is not appropriate place for discussions. Keep this list FW-only.
I do NOT have any firmware files apart from published here or on 4pda. Please do not contact me for firmware files requests.
This is a list of files found on Huawei update server by brute-forcing URL parameters.
Some firmware files have changelogs. Just change file name to "changelog.xml" in the end of the URL.