search for: smathias1972

Displaying 19 results from an estimated 19 matches for "smathias1972".

2011 Jan 05
6
recursively find duplicate filenames
find duplicate filenames in a folder find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++' find duplicate filenames in a folder recursively ? how?
2010 Dec 22
5
do i need a dedicated ip address for https?
http://help.godaddy.com/article/1054 "# Set up SSL protection on your website." is it an inescapable requirement to have a dedicated [not fix] ip address, when i want to use ssl on my domain? thank you happy Christmas! :)
2011 Jan 02
3
variable in loop
$ ASDF=hello; a=0; a=$(( 70 - $(echo $ASDF | awk '{print length}') )); echo "$a $ASDF"$(for i in {1..$a}; do printf "."; done) 65 hello. $ Why doesn't it print: 65 hello................................................................. What am i missing?
2011 Jan 22
5
Let's talk about compression rates
http://pastebin.com/raw.php?i=MwDnhknf $ ls -Sl total 461252 -rw-rw-r--. 1 g g 111709730 Jan 22 11:06 linux-2.6.37.zip -rw-rw-r--. 1 g g 93174605 Jan 22 11:03 linux-2.6.37.tar.gz -rw-rw-r--. 1 g g 73552510 Jan 22 11:10 linux-2.6.37.tar.bz2 -rw-rw-r--. 1 g g 66333786 Jan 22 11:16 linux-2.6.37.7z -rw-rw-r--. 1 g g 64035788 Jan 22 11:16 linux-2.6.37.tar.7z -rw-rw-r--. 1 g g 63480808 Jan 22
2011 Jan 19
7
Let's talk about HTTPS Everywhere
Ok. It's a Firefox Add-on: https://www.eff.org/https-everywhere Questions: 1) But: Why can't i find it on the offical Firefox Add-ons site?: https://addons.mozilla.org/en-US/firefox/ 2) Did anyone audited the "HTTPS Everywhere" code? 3) Can someone trust this Add-on? Is it safe to install/use? 4) If it's so great why isn't it more prevalent? What's youre
2010 Dec 11
2
bash increment in a given way
It's ok, that i can use this, when i want an incrementing sequence, in a given way: # {START..END..INCREMENT} $ for i in {0..10..2}; do echo "Welcome $i times"; done Welcome 0 times Welcome 2 times Welcome 4 times Welcome 6 times Welcome 8 times Welcome 10 times $ but what's the "magic" for this? : $ MAGIC; do echo "Welcome $i times"; done Welcome 0 times
2010 Dec 17
1
google chrome "big brother"
Google Chrome Terms of Service(Google Chrome executable),?BSD?(source code and Chromium executable except chromium 5 beta),BSD License?with proprietary parts (source code and chromium 5 beta executable, as it integrates?Adobe Flash Player?10.1[1])[2] http://en.wikipedia.org/wiki/Google_Chrome in my?interpretation, this means Google Chrome is fully open-source, only the flash player has proprietary
2010 Dec 26
2
whats wrong with my internet connection checker script?
$ true && true || echo hi $ true && false || echo hi hi $ false && true || echo hi hi $ false && false || echo hi hi $ ping -W 1 -c 4 google.com >& /dev/null | grep -q "100% packet loss" && ping -W 1 -c 4 www.yahoo.com >& /dev/null | grep -q "100% packet loss" || echo "no internet connection" no internet connection
2011 Jan 01
1
set privoxy to rewrite http to https
I use the KB SSL Enforcer https://chrome.google.com/extensions/detail/flcpelgcagfhfoegekianiofphddckof?hl=en so i could browse the net safer [i mean webserver <-> me] with using https, if available. The problem is: e.g.: facebook... if i go to https://www.facebook.com/ that's ok, it's https. But all the links are "http" on the site.. if i click on a "http"
2011 Jan 04
1
why is this html looks like this?
soruce code of the html file: http://img443.imageshack.us/img443/6448/sourcey.png it looks like this in the realiy: http://img443.imageshack.us/img443/6448/sourcey.png WHY? if i put it in "< pre >", then it's good. but if it isn't in "< pre >" then the lines ends are random. why dont they end in the same vertical line? thank you, and sorry for askin
2010 Dec 29
5
Does anybody know a PeerGuardian like app?
Are there any programs blocking ip, and has frequently updated lists, like the peerguardian on windows? sorry for the question, but i looking for this kind of application :O Thank you, and a happy christmas!
2010 Dec 27
2
what process is sending this packet?
I can see, that theres a program that keeps sending packets on port 25: Dec 27 14:11:46 a kernel: [ 6336.992320] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=61533 DF PROTO=TCP SPT=37263 DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 Dec 27 14:12:01 a kernel: [ 6352.635704] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55853
2011 Jan 02
0
CentOS Digest, Vol 71, Issue 28
...l.com> Subject: Re: [CentOS] what process is sending this packet? To: CentOS mailing list <centos at centos.org> Message-ID: <AANLkTik_N79NoBP+qdt=XLkZyCfH+VTjviHVA7Mtv+XP at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On Mon, Dec 27, 2010 at 9:30 AM, S Mathias <smathias1972 at yahoo.com> wrote: > Dec 27 14:11:46 a kernel: [ 6336.992320] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=60 > TOS=0x00 PREC=0x00 TTL=64 ID=61533 DF PROTO=TCP SPT=37263 DPT=25 WINDOW=32792 > RES=0x00 SYN URGP=0 > but where or how could i ------Original Message Truncated...
2010 Dec 25
4
2 Ethernet cabling question
Two questions that was not always clear for me [sorry for posting to this list :\]: ############################################################################################## Q1) when cabling, is the color order important? like: straight cabling: A side: white-orange, orange, white-green, blue, white-blue, green, white-brown, brown B side: white-orange, orange, white-green, blue,
2010 Dec 12
0
openssl chat
i can use "natively" openssl for anonymous chat: # Chat: # server side: openssl req -x509 -nodes -days 365 -newkey rsa:8192 -keyout mycert.pem -out mycert.pem # server side - generate a self-signed cert. openssl s_server -accept 52310 -cert mycert.pem # client side - "127.0.0.1" is the IP of the server openssl s_client -connect 127.0.0.1:52310 1) but how can i set it to
2010 Dec 30
1
recursively count the words occurrence in the text files
I just can't google for it: I'm searching for a "bash" "one liner" (awk, perl, or anything) for this: there are text files, in several directories: mkdir one mkdir two mkdir three echo "word1 word2 word3" > one/asf.txt echo "word2 word4, word5" > one/asfcxv saf.txt echo "word1. word2" > one/dsgsdg.txt echo "word6,
2011 Jan 05
2
check, that a script is in a folder
$ echo ${PWD##*/} somefolder $ if "${PWD##*/}" -eq "asdf" > /dev/null; then echo "this is the asdf folder"; else exit 1; fi bash: notthatfolder: command not found... this is the asdf folder $ So i just want to check that i'm in an exact folder. e.g.: "asdf" What's wrong with my one-liner? I just want to check, that a script is in a folder,
2011 Jan 21
2
how to set imagemagicks tmp folder?
my /tmp is too small [when i want to use "convert"]. how can i set imagemagick, to use an other tmp folder, what has enough space? thank you!
2010 Dec 11
4
"ultimate" backup choice
i have: "SERVER A" "SERVER B" with "full root permisson" [ssh, etc] each server has a folder. i want to backup a folder in "SERVER A". are there any backup methods, that meets these two requirements? : 1) running from e.g.: a cronjob 2) when running, it just checks the folder in "SERVER A" and "SERVER B". if a file/folder has been