Create a file daily-backup.bat with contents:
@echo off
setlocal
:: set the variables
set DATABASE_SERVICE_NAME=MariaDB
set DB_USER=root
set DB_PASSWORD=gpassword
One of them is the last revision i dont have time to check now... | |
icon.png in images folder |
#include <Arduino.h> | |
#include <SoftwareSerial.h> | |
#define ON HIGH | |
#define OFF LOW | |
SoftwareSerial SIM900A(10, 11); // RX, TX pins | |
String textMessage; | |
String pumpState; | |
const int pumpPin = 12; // pump connected to pin 12 |
<style>.VueHoverfade-enter-active, .VueHoverfade-leave-active { | |
transition: opacity .5s | |
} | |
.VueHoverfade-enter, .VueHoverfade-leave-to { | |
opacity: 0 | |
} | |
.vh--outer[v-cloak] { | |
display: none |
Create a file daily-backup.bat with contents:
@echo off
setlocal
:: set the variables
set DATABASE_SERVICE_NAME=MariaDB
set DB_USER=root
set DB_PASSWORD=gpassword
import threading | |
from typing import List | |
class ReentrantRWLock: | |
""" | |
A lock object that allows many simultaneous "read locks", but only one "write lock." | |
it also allows multiple write locks from the same thread | |
""" |
the message is very annoying but can be handled using clink.
install clink and open file C:\Users\<username>\AppData\Local\clink\settings
and set property terminate_autoanswer
to 1
# name: Auto-answer terminate prompt
# type: enum
# Automatically answers cmd.exe's 'Terminate batch job (Y/N)?' prompts. 0 =
# disabled, 1 = answer 'Y', 2 = answer 'N'.
terminate_autoanswer = 1
https://www.aaai.org/Papers/JAIR/Vol21/JAIR-2119.pdf |
https://www.aaai.org/Papers/JAIR/Vol21/JAIR-2119.pdf |
Below are the Big O performance of common functions of different Java Collections. | |
List | Add | Remove | Get | Contains | Next | Data Structure | |
---------------------|------|--------|------|----------|------|--------------- | |
ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array | |
LinkedList | O(1) | O(1) | O(n) | O(n) | O(1) | Linked List | |
CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array | |