I've had some dificulites using the ssh, putty and making it persistent, here are my findings.
sudo nano /etc/systemd/system/telebit.service
[Unit]
Description=Telebit
After=network-online.target
RAR registration data | |
WinRAR | |
Unlimited Company License | |
UID=4b914fb772c8376bf571 | |
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d | |
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717 | |
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565 | |
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd | |
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190 | |
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9 |
//Base code courtesy of: | |
//https://dev.to/rachelsoderberg/create-a-simple-web-scraper-in-c-1l1m | |
using AngleSharp.Dom; | |
using AngleSharp.Html.Dom; | |
using AngleSharp.Html.Parser; | |
using AngleSharp.Text; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; |
//İnternet bağlantısı kontrolü | |
using System.Runtime.InteropServices; | |
[DllImport("wininet.dll", CharSet = CharSet.Auto)] | |
extern static bool InternetGetConnectedState(ref InternetGetConnectedStateFlags Description, int ReservedValue); | |
[Flags] | |
public enum InternetGetConnectedStateFlags | |
{ | |
INTERNET_CONNECTION_MODEM = 0x01, |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Text; | |
using System.Threading.Tasks; | |
/// <summary> | |
/// Process helper with asynchronous interface | |
/// - Based on https://gist.github.com/georg-jung/3a8703946075d56423e418ea76212745 | |
/// - And on https://stackoverflow.com/questions/470256/process-waitforexit-asynchronously | |
/// </summary> |
server { | |
server_name gram.com; | |
location / { | |
root /var/www/gram; | |
try_files $uri $uri/index.html; | |
# protect with basic auth, we don't want to get banned by rkn | |
auth_basic "webogram"; | |
auth_basic_user_file /var/www/gram.htpasswd; |
With its built-in Bluetooth capabilities, the ESP32 can act as a Bluetooth keyboard. The below code is a minimal example of how to achieve it. It will generate the key strokes for a message whenever a button attached to the ESP32 is pressed.
For the example setup, a momentary button should be connected to pin 2 and to ground. Pin 2 will be configured as an input with pull-up.
In order to receive the message, add the ESP32 as a Bluetooth keyboard of your computer or mobile phone:
/* | |
Copyright Phil Haack | |
Licensed under the MIT license - https://github.com/haacked/CodeHaacks/blob/main/LICENSE. | |
*/ | |
using System; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
using Microsoft.EntityFrameworkCore; | |
using Microsoft.EntityFrameworkCore.Metadata.Builders; |