Tags » Bash

Breaking Down the Monster III

So, finishing this off.

It-sa bunch-a case lines!

Write first:

echo $1 $2 "filesize: "$3 "totalsize: "$4"G" "filesperdir: "$5
case $1 in
	write)
        if [ $2 = scality ]; then
            filecount=$totfilecount
            time scalitywrite
            exit 0
        fi
        … 638 more words
Bash

resize an image to a given width by keeping the aspect ratio

Problem
You want to resize an image to a given width but you want to keep the width/height ratio of the image.

Solution

convert -resize 200 big.jpg small.jpg
… 7 more words
Bash

Psych

My word, Reign’s season finale left us with a whole lot to contemplate, fret about and obsess over until Season 3 debuts. As finales go, “Burn” certainly delivered, serving up one KAPOW! 1,874 more words

Review

How to find best place to buy Benzocaine and other research chemical Online

If you are planning to buy research chemical online then you need to know about the best place to buy easily and comfort zone. Buy research chemical is an anaesthetic used for the teeth soreness and lots of extra matters. 361 more words

Buy Benzocaine

Script to open new tab on MAC terminal

In my dev environment I used to start many services every day manually, thinking about how to make my life easier I wrote a script that aggregates all scripts, however, each one was running on different terminals in a new window, something like: 94 more words

Bash

ssh port forwarding

Problem:

You are on box A and you want to connect to box C (to some port),but there is not direct connectivity from box A to box C on to a particular port: e.g. 106 more words

Linux

writing script to Automate running Metasploit services, and call it from anywhere

Hi guys, that’s been a while I didn’t have time to update my blog. I would like to write a simple post about how to automate some works and run them easily any time. 345 more words

Hands On