Archives
Trending
Support
Login
Find and Delete files and folders
Show paste
#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
Show paste
#Windows CMD command to add directory to PATH permanently
setx path "%path%;C:\Program Files\Git\bin\"
Retro SynthWave Script
Show paste
#!/bin/bash
p="$(wget -q -O- "https://pastebin.com/raw/H7qw9McL"|dos2unix|shuf|tr "\n" " ")"
mpv --vid=no $p
Program LA 2B - Pert ?
Show paste
print "Masukkan tinggi : "
x=gets.to_i
puts ""
temp=x
i=1
Retro Synth Music Playlist
Show paste
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
Show paste
#!/bin/bash
if [ $# -lt 1 ]
then
echo "Project name needed"
Create a Swap image
Show paste
#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
Show paste
#!/bin/bash
echo "This is standard output"
echo "This is an error" >&2
CSV to JSON Python one liner
Show paste
python -c "import csv,json;print json.dumps(list(csv.reader(open('csv_file.csv'))))"
Ascii Animations in the shell VT100 files
Show paste
#some sites with files
http://artscene.textfiles.com/vt100/
http://vt100.net/animation/
#examples
Previous
1
2
...
2607
2608
2609
2610
2611
...
2681
2682
Next