CURL

CURL is a mighty tool for transfering data to URLS. It supports a wide range of protocols. Lets have a closer look on some handy snippets for daily work on the commandline: Fetching content from a URL curl http://www.myurl.com When a page redirects to another location (the respondet http-status is somewhat 3xx) curl can follow the redirection with the -L (- -location) flag. curl -L http://www.myurl.com Want to see what the request and response headers like? It’s as simple as…

0
Read More

ssh / openssh

Introduction – learn some words It’s easy to get lost in the jungle of certificates, certificate signing requests, private-keys, public-keys, pem’s, crt’s and keys. So first we’re going to learn some basics about ssh. This explanations are meant for Linux-Systems. Let’s learn some common files related to ssh issues. Usually, you have a folder ~/.ssh in your home directory (the Tilde „~“ before the .ssh directory is a shell replacement for your home directory). Here you can find files like:…

0
Read More

image handling with ImageMagic

ImageMagic is the tool of choice when you have to manipulate images on the command line.   You can easily install it from a shell with the following command: sudo apt-get install imagemagick Change all images in the current folder to a with of 800 pixels with a quality of 80%: for file in *.jpg; do convert $file -resize 800 -quality 80 $file; done Convert a *.gif image to a *.jpg image convert -strip test.gif test.jpg  

0
Read More

usefull wordpress plugins

Enhanced Media Library allow you to categorize your media-files. Quite handy when dealing with lots of files. myStickyMenu When you scroll down the pageyour main-navigation disappears. myStickyMenu glues it to the browsers top border. Configure SMTP Easy setting up your SMTP stuff.

0
Read More