Run server and client in seperate terminals. Server first then client.
import socket
host = ''
port = 51424
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
Activate the plugin in ~/.zshrc: | |
plugins=( [plugins...] zsh-syntax-highlighting) | |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
# Subscribe to my YouTube Channel -> https://lokjianming.page.link/CVLm # | |
How to Crack Sublime Text 3 with Hex Editor (without license) ↓ | |
Note: -> is Change | |
1. Download & Install Sublime Text 3.2.2 Build 3211 | |
2. Visit Hexed.it | |
3. Open file sublime_text.exe | |
4. Search address: 97 94 0D -> 00 00 00 | |
5. Offset 0x8545: Original 84 -> 85 |
import getpass as gt | |
import os | |
from collections import Counter | |
WIN_BASE = "C:\\Users\\kogam\\Downloads" | |
EXCEL_XTS = ["xls", "xlsx", "xlsb", "xlsm", "xlam"] | |
SETUP_XTS = ["dmg", "deb", "dnf", "exe", "msix", "msixbundle", "cab", "cub", "ex_", "idt", "msi", "msp", "mst", "pcp", "rbf", "rra", "stf"] | |
ARCHIVE_XTS = ["zip", "tar", "xz", "7z", "bz2", "pkg", "lz", "lzh", "rar", "gz", "tgz", "war"] |
#!/usr/bin/python3 | |
import sys | |
import time | |
import RPi.GPIO as GPIO | |
# def gett(): | |
# return time.strftime("%I:%M %p") | |
<style> | |
/* https://github.com/lonekorean/gist-syntax-themes */ | |
@import url('https://cdn.rawgit.com/lonekorean/gist-syntax-themes/d49b91b3/stylesheets/idle-fingers.css'); | |
@import url('https://fonts.googleapis.com/css?family=Open+Sans'); | |
body { | |
font: 16px 'Open Sans', sans-serif; | |
} | |
body .gist .gist-file { | |
border-color: #555 #555 #444 |
# flush your motor circuit on reboot to avoid unexpected spray | |
@reboot /usr/bin/python3 /home/pi/alarm.py "flush" | |
# Refer to https://crontab.guru | |
# change 0 6 * * * to an expression of your choice | |
0 6 * * * /usr/bin/python3 /home/pi/alarm.py | |
# Experimental - syslog gets flushed on reboot, have to try another way | |
# cron logs to `stdout` syslog | |
# we also want to log `stderr` output to syslog with a CRON_ALARM tag |
#!/bin/bash | |
# Run the mat2-web container | |
# Update TZ, HOST_HOSTNAME, and MAT2_ALLOW_ORIGIN_WHITELIST | |
# Everything else can be left as-is | |
# See - https://0xacab.org/jvoisin/mat2-web | |
docker run |