Skip to content

Instantly share code, notes, and snippets.

View chloroformshake's full-sized avatar

Siddharth Kushwaha chloroformshake

View GitHub Profile
@chloroformshake
chloroformshake / trivo-tours-logo
Created September 6, 2025 11:55
trivo tours logo image hosting
@chloroformshake
chloroformshake / SiddharthK_CLI_Drills_II
Last active May 6, 2021 08:55
Cohort 16 Javascript CLI Drills II
#!/bin/bash
echo "=========PIPES========="
touch content.txt
wget "https://raw.githubusercontent.com/bobdeng/owlreader/master/ERead/assets/books/Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt" #downloading txt file from link
cat "Harry Potter and the Goblet of Fire.txt" > content.txt #pasting contents of txt file to new txt file
head content.txt -n 3 #printing first three lines
tail content.txt -n 10 #printing last ten lines
grep -o -i Harry content.txt | wc -l #printing word counts of 'Harry'
grep -o -i Rom content.txt | wc -l #printing word counts of 'Rom'
@chloroformshake
chloroformshake / SiddharthK_CLI_Drills_I
Created May 4, 2021 10:55
Cohort 16 Javascript CLI Drills I
echo "================================="
echo "0. INSTALLING PRE-REQUISITES"
echo "================================="
sudo apt install tree -y
clear
echo "================================="
echo "1. CREATING A DIRECTORY STRUCTURE"
echo "================================="
cd