Blog - //.nkotov
  • 🏠
  • #️⃣
  • 🗒
  • #>_

Scripts

A collection of 2 posts
Simple Python Script to Distort Images
Python

Simple Python Script to Distort Images

The script itself looks like this: import numpy as np from PIL import Image def quad_as_rect(quad): if quad[0] != quad[2]: return False if quad[1] != quad[7]: return False if quad[4] != quad[6]: return False if quad[3] != quad[5]: return False return True def
27 Dec 2023 2 min read
Example bash script fro status server and website
Bash

Example bash script fro status server and website

Here is an example of a simple bash script that can be used to check the status of a server: #!/bin/bash # Define the server address server=http://example.com # Use the curl command to check the server's HTTP response code response=$(curl -s -o /dev/null -w
26 Dec 2023 1 min read
Page 1 of 1
Blog - //.nkotov © 2025
  • Donates
Powered by Ghost