CCCPaste

Find and Delete files and folders

#find and delete files
find -name 59.txt -delete

#If you want to make sure you only delete files and not folder
find -type f -name 59.txt -delete

CMD command to add to PATH variable

#Windows CMD command to add directory to PATH permanently
setx path "%path%;C:\Program Files\Git\bin\"

Retro SynthWave Script

#!/bin/bash

p="$(wget -q -O- "https://pastebin.com/raw/H7qw9McL"|dos2unix|shuf|tr "\n" " ")"
mpv --vid=no $p

Program LA 2B - Pert ?

print "Masukkan tinggi : "
x=gets.to_i
puts ""
temp=x
i=1

Retro Synth Music Playlist

https://www.youtube.com/watch?v=0r6C3z3TEKw
https://www.youtube.com/watch?v=85bkCmaOh4o
https://www.youtube.com/watch?v=SF58Lsvqg5E
https://www.youtube.com/watch?v=NHCgbs3TcYg
https://www.youtube.com/watch?v=nomNAAMDReE

Phaser Template Retriever

#!/bin/bash

if [ $# -lt 1 ]
then
echo "Project name needed"

Create a Swap image

#create a swap image
touch /var/swap.img
chmod 600 /var/swap.img
dd if=/dev/zero of=/var/swap.img bs=1024k count=1000 #1GB size
mkswap /var/swap.img

Working with Standard Error and Output in BASH Linux shell

#!/bin/bash

echo "This is standard output"

echo "This is an error" >&2

CSV to JSON Python one liner

python -c "import csv,json;print json.dumps(list(csv.reader(open('csv_file.csv'))))"

Ascii Animations in the shell VT100 files

#some sites with files
http://artscene.textfiles.com/vt100/
http://vt100.net/animation/

#examples