Month: June 2013
-
how to always boot macOS (FKA OS X) in Verbose Mode
As with Linux for me it’s a must to see the thing working on something and exactly what, instead of staring at a graphical screen to indicate anyhow, why it forces me to wait.
-
following the HTTP dialog in curl and browsers like Firefox and Chrome
I honestly wonder, why curl and the browsers do not show you the HTTP status code during your web interactions “by default”. Usually I personally employ curl on the command line with –write-out ‘… %{http_code} %{url_effective} …’. Add-ons for Firefox: LiveHTTPheaders HTTP Resource Test Add-ons for Chrome: HTTP Headers REST console Advanced Rest client this…
-
how to sort files by content
Same content, different names of 2 or more files –– how to identify the duplicates? Use check sum utilities (like chksum, md5sum, sha1sum, …) for this, and sort on their output!
-
Shlomo Sand’s response to Carlo Strenger in Haaretz: on Israeli identity, Jewish democracy and oxymorons
On Israeli identity, Jewish democracy and oxymorons – A response to Carlo Strenger – Opinion – Israel News | Haaretz Daily Newspaper Reading this article I noticed, he published another book: in English: When and How I Stopped Being Jewish (not yet available) in French: Comment j’ai cessé d’être juif : Un regard israélien [Amazon-link]…
-
how to let cURL display the HTTP response code
How To Display Just The HTTP Response Code In Command Line Curl Adding this to a curl command line is actually quite useful: –write-out “%{http_code} %{url_effective}\n” Now I actually wonder why curl doesn’t display the HTTP response code by default. In my scraping scripts (based on libcurl) I have always been making use of it…
-
linux – how to ‘grep’ a continuous stream
http://stackoverflow.com/questions/7161821/how-to-grep-a-continuous-stream I had never heard of “stdbuf” before AIX grep has -u GNU grep has –line-buffered, its -u is not the same as AIX grep’s
-
GNU Emacs and case-(in)sensitive searching
Search Case – GNU Emacs Manual Sometimes you are switching inadvertently to “case-sensitive searching” (by using an upper case letter within your search), and you want to switch back to “case-insensitive searching“, i.e. case-folding. According to the manual, you have to set case-fold-search to t.