For resetting casaos password run the script as root
bash -c "$(wget -qLO - https://raw.githubusercontent.com/bigbeartechworld/big-bear-scripts/master/reset-password-for-casaos/run.sh)"
SES, SEO, SEM, Linux and Microcontroller Help, News and Experience sharing Blog
"My PIC Microcontroller Articles are moved to http://picmicrochip.blogspot.com
For resetting casaos password run the script as root
bash -c "$(wget -qLO - https://raw.githubusercontent.com/bigbeartechworld/big-bear-scripts/master/reset-password-for-casaos/run.sh)"
Open a Terminal
$ sudo apt update
$sudo snap install rpi-imager
or
$ wget https://downloads.raspberrypi.org/imager/imager_latest_amd64.deb
$ sudo apt install ./imager_latest_amd64.deb
If you have multiple image files and you want to make a single pdf file from it, just follow the steps
This GUI tool convert multiple image files to a single pdf file in Ubuntu linux
open terminal (Ctrl+Alt+T)
$ sudo apt install gscan2pdf
sudo usermod -a -G dialout $USER && \ sudo apt-get install git && \ wget https://bootstrap.pypa.io/get-pip.py && \ sudo python get-pip.py && \ sudo pip install pyserial
Now make a folder espressif in your arduino/hardware folder and change to that directory
mkdir -p ~/Arduino/hardware/espressif cd ~/Arduino/hardware/espressif
now run the following command
git clone https://github.com/espressif/arduino-esp32.git esp32 && \ cd esp32/tools/ && \ python get.py
Copy and paste the above all commands in a terminal.
It will download and install all the required files and settings.
Restart Arduino IDE.
sudo apt-get install linux-headers-generic build-essential sudo apt-get install gitgit clone https://github.com/art567/mt7601usta.git cd mt7601usta/src make sudo make install sudo mkdir -p /etc/Wireless/RT2870STA/ sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/ sudo modprobe mt7601Usta Now Check your Wifi cat mycsv.csv | cut -d ',' -f3cat mycsv.csv | cut -d "," -f3 | sort | uniq -c | sort -rn | head
netsh advfirewall firewall add rule dir=in action=block protocol=TCP localport=135 name="Block_TCP-135"
netsh advfirewall firewall add rule dir=in action=block protocol=TCP localport=445 name="Block_TCP-445"
netsh advfirewall firewall add rule dir=in action=block protocol=TCP localport=3389 name="Block_TCP-3389"
sudo apt-get install jbigkit-bin inotify-tools Download the git files or clone form here https://github.com/madlynx/ricoh-sp100
Extract the zip file in a foldersudo cp pstoricohddst-gdi /usr/lib/cups/filter/Now change the permissionssudo chown root:root /usr/lib/cups/filter/pstoricohddst-gdi Add Printer > Choose Ricoh SP 111 > Model > Provide ppd file (RICOH_Aficio_SP_111.ppd)
$ sudo apt-add-repository ppa:strukturag/libde265
$ sudo apt-get update Now install gstreamer$ sudo apt-get install gstreamer0.10-libde265
Install vls Plugin
$ sudo apt-get install vlc-plugin-libde265
Now your system is ready to run
H.265 / HEVC codec Movies
#include <ESP8266WiFi.h> const char* ssid = "your SSID"; const char* password = "Your Password"; int ledPin = 2; // GPIO13 // NodMcu builtin LED WiFiServer server(80); void setup() { Serial.begin(115200); delay(10); pinMode(ledPin, OUTPUT); digitalWrite(ledPin, HIGH); // Connect to WiFi network Serial.println(); Serial.println(); Serial.print("Connecting to "); Serial.println(ssid); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(""); Serial.println("WiFi connected"); // Start the server server.begin(); Serial.println("Server started"); // Print the IP address Serial.print("Use this URL to connect: "); Serial.print("http://"); Serial.print(WiFi.localIP()); Serial.println("/"); //see your serial monitor with boud rate 115200 for see the link } void loop() { // Check if a client has connected WiFiClient client = server.available(); if (!client) { return; } // Wait until the client sends some data Serial.println("new client"); while(!client.available()){ delay(1); } // Read the first line of the request String request = client.readStringUntil('\r'); Serial.println(request); client.flush(); // Match the request int value = LOW; if (request.indexOf("/LED=ON") != -1) { digitalWrite(ledPin, LOW); value = LOW; } if (request.indexOf("/LED=OFF") != -1) { digitalWrite(ledPin, HIGH); value = HIGH; } // Set ledPin according to the request //digitalWrite(ledPin, value); // Return the response client.println("HTTP/1.1 200 OK"); client.println("Content-Type: text/html"); client.println(""); // do not forget this one client.println("<!DOCTYPE HTML>"); client.println("<html>"); client.print("LED STATUS "); if(value == LOW) { client.print("ON"); } else { client.print("OFF"); } client.println("<br><br>"); client.println("<a href=\"/LED=ON\"\"><button>Turn On </button></a>"); client.println("<a href=\"/LED=OFF\"\"><button>Turn Off </button></a><br />"); client.println("</html>"); delay(1); Serial.println("Client disonnected"); Serial.println(""); }
Arduino NodeMcu (ESP8266) Pin Mapping
If you use NodeMcu borad with Arduino IDE the following chart will help to find the pin maping
eg. NodeMCU Pin D1 is equivalent to arduino Pin 5.
Built in LED of NodeMCU is connected to D4 in arduino programming it equivalent to Pin 2
NodeMCU Arduino
D0 = 16 D1 = 5 D2 = 4 D3 = 0 D4 = 2 D5 = 14 D6 = 12 D7 = 13 D8 = 15 D9 = 3 D10 = 1