Skip to content

Instantly share code, notes, and snippets.

View amaalali's full-sized avatar

Amaal Ali amaalali

View GitHub Profile
@amaalali
amaalali / Scala .gitignore
Last active November 30, 2023 08:25
My standard .gitignore for scala projects
bin/
# Scala/SBT specific
project/
target/
build/
# Scala-Cli build folder
.scala-build/
@amaalali
amaalali / replace-text.sh
Created September 6, 2019 15:40
Bash script with awk to replace text in files
#!/bin/bash
echo "Applying changes"
echo ""
declare -a arr=(
"file1"
"file2"
)
@amaalali
amaalali / colourize.js
Created December 7, 2018 09:26
Colourize Logs
function colourize(thingToShout) {
console.log(
`%c ${thingToShout}`,
`font-weight: bold;
font-size: 50px;
color: red;
text-shadow: 3px 3px 0 rgb(217,31,38),
6px 6px 0 rgb(226,91,14),
9px 9px 0 rgb(245,221,8),
12px 12px 0 rgb(5,148,68),