Skip to content

Instantly share code, notes, and snippets.

View chamiduu's full-sized avatar
🪂
Things are happening

Chamidu Amarasinghe chamiduu

🪂
Things are happening
View GitHub Profile
#!/bin/zsh
null="> /dev/null 2>&1"
r="\033[1;31m"
b="\033[1;34m"
w="\033[0m"
echo "${r}Please enter your Student ID:${w}"
read STUDENT_ID
@chamiduu
chamiduu / scraper.py
Created October 25, 2023 16:14
Web scraper to scrape achievements list from ACICTS.lk
# a script to scrape all achievements from the ACICTS website and put them to a json object
import requests
import json
from bs4 import BeautifulSoup as bs
titlesArray = []
descriptionArray = []
yearsArray = []
count = 0
achievementsArray = []
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Docker Nginx</title>
</head>
<body>
<h2>Punya Amarasinghe</h2>
<h2>IT16180758</h2>
</body>
@chamiduu
chamiduu / animation-submit-button.markdown
Created March 13, 2020 06:12
animation submit button