Monitoring plugin for MikroTik devices for Icinga/Nagios/

This is a monitoring plugin for Icinga, Nagios and other compatible monitoring solutions to check MikroTik devices running RouterOS.It uses the API to fetch the required information. Requirements Installation PIP If you want to use pip we recommend to use as virtualenv to install the dependencies. pip install -r requirements.txt Copy the script check_routeros.py into your plugin directory. Debian/Ubuntu Install the required packages sudo apt-get install python3 python3-click python3-librouteros python3-nagiosplugin Copy the script check_routeros.py into your plugin directory. Usage To […]

Read more

A CLI for advanced management of your notes with simple commands

This is a CLI for advanced management of your notes with simple commands. To use this app, simpy clone this repo and place your notes into storage folder. You can set up the relative path and name of the folder with notes in scripts/config.py. To manage your notes, just run python manager.py. There are scripts which help to work with text in the files in the scripts/body_tools.py. You can add your own functions in the scripts/custom_tools.py. Don’t forget to register […]

Read more

Remote sensing change detection using PaddlePaddle

Developing and benchmarking deep learning-based remote sensing change detection methods using PaddlePaddle. CDLab also has a PyTorch version. Currently, this repo contains more model implementations, dataset interfaces, and configuration files. Prerequisites opencv-python==4.1.1paddlepaddle-gpu==2.2.0visualdl==2.2.1pyyaml==5.1.2scikit-image==0.15.0scikit-learn==0.21.3scipy==1.3.1tqdm==4.35.0 Tested using Python 3.7.4 on Ubuntu 16.04. Get Started In src/constants.py, change the dataset locations to your own. Model Training To train a model from scratch, use python train.py train –exp_config PATH_TO_CONFIG_FILE A few configuration files regarding different datasets and models are provided in the configs/ folder for […]

Read more

Unofficial code reproducing Agent57

This repository contains unofficial code reproducing Agent57, which outperformed humans in all Atari games. agent.py define agent to play a supecific environment. buffer.py define buffer to store experiences with priorites. learner.py define learner to update parameter such as q networks and functions related to intrinsic reward. main.py run the main pipeline. model.py define some models such as q network and functions related to intrinsic reward. segment_tree.py define segment tree which decide segment index according to the priority. tester.py define tester […]

Read more

对naabu的端口扫描结果,调用nmap进行指纹识别

对naabu的端口扫描结果,调用nmap进行指纹识别 127.0.0.1:22 127.0.0.1:80 127.0.0.1:8080 需要root权限 ➜ sudo python3 scan.py -h usage: scan.py [-h] [-f FILE] [-o OUTPUT] please enter two parameters … optional arguments: -h, –help show this help message and exit -f FILE, –file FILE -o OUTPUT, –output OUTPUT ➜ sudo python3 scan.py -f naabu_result.txt -o nmap_result.csv 保存为csv格式的文件 ip port name product version extrainfo

Read more

unofficial pytorch implement of “Squareplus: A Softplus-Like Algebraic Rectifier”

unofficial pytorch implement of “Squareplus: A Softplus-Like Algebraic Rectifier” SquarePlus Squareplus is a Softplus-Like activation function. It is a very simple smooth approximation of ReLU. The form of squareplus is very simple. It only uses addition, multiplication, division and square root: b>0 in this form. When b=0, it degenerates to ReLU(x)=max(x,0) The original paper pointed out that since only addition, multiplication, division and square root are used, the speed of squareplus (mainly on the CPU) will be faster than SoftPlus […]

Read more

A Telegram Bot Written In Python

A Telegram Bot Written In Python Clone the repository Install requirements: pip3 install -r requirements.txt edit the sample_config.py wih your configs python3 bot.py Now send /start to you bot to see if it is running! TG_BOT_TOKEN : YOUR BOT TOKEN. GET IT FROM @BOTFATHER START_MESSAGE : YOUR TELEGRAM APP ID. BOT_USER_NAME : YOUR TELEGRAM API HASH SUPPORT AND UPDATES For any type of help on deploy. Contact us on Support.Update. Thanks To AlbertEinsteinTg For Helping    

Read more

Application that regularly sends an email to the user with all the films available on the poster of cinemas Nos

GitHub – Cavalex/Cartaz-Cinemas-Nos: Aplicação que envia regularmente um email ao utilizador com todos os filmes disponíveis no cartaz dos cinemas Nos. Aplicação que envia regularmente um email ao utilizador com todos os filmes disponíveis no cartaz dos cinemas Nos. – GitHub – Cavalex/Cartaz-Cinemas-Nos: Aplicação que envia regularmente um email a…    

Read more
1 298 299 300 301 302 928