Skip to content

Instantly share code, notes, and snippets.

View Madhawa97's full-sized avatar
🎯
Focusing

Madhawa Monarawila Madhawa97

🎯
Focusing
View GitHub Profile
@KPChakravarthy
KPChakravarthy / htmldiff.js
Created August 10, 2020 04:41
Diff between 2 HTML documents
var Match,
calculate_operations,
consecutive_where,
create_index,
diff,
find_match,
find_matching_blocks,
html_to_tokens,
is_end_of_tag,
is_start_of_tag,
@warecrash
warecrash / makekali.sh
Last active July 16, 2025 16:31
Convert Debian to Kali
apt update
apt -y install wget gnupg dirmngr
wget -q -O - https://archive.kali.org/archive-key.asc | gpg --import
gpg --keyserver hkp://keys.gnupg.net --recv-key 44C6513A8E4FB3D30875F758ED444FF07D8D0BF6
echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" >> /etc/apt/sources.list
gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add -
apt update
apt -y upgrade
apt -y dist-upgrade
apt -y autoremove --purge
@charleyXuTO
charleyXuTO / AlarmClock.py
Created June 26, 2016 00:54
An Alarm Clock created using Python and Tkinter
import tkinter
import winsound
import time
import math
def countdown(count):
seconds=math.floor(count%60)