[CentOS] Let's talk about compression rates

2011-01-22 Thread S Mathias
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

Re: [CentOS] Let's talk about compression rates

2011-01-22 Thread S Mathias
61567410 Jan 22 16:13 linux-2.6.37.tar.7z $ --- On Sat, 1/22/11, cornel panceac cpanc...@gmail.com wrote: From: cornel panceac cpanc...@gmail.com Subject: Re: [CentOS] Let's talk about compression rates To: CentOS mailing list centos@centos.org Date: Saturday, January 22, 2011, 10:55 AM 2011/1/22 S

[CentOS] how to set imagemagicks tmp folder?

2011-01-21 Thread S Mathias
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! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] how to set imagemagicks tmp folder?

2011-01-21 Thread S Mathias
Google will provide an answer, if someone asks it, and then someone answers it. If someone answers the question on a mailing list, then it wont be asked again on the list, because people could google for it. and mr. let me tell you: you're an idiot. --- On Fri, 1/21/11, Kai Schaetzl

[CentOS] Let's talk about HTTPS Everywhere

2011-01-19 Thread S Mathias
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?

[CentOS] check, that a script is in a folder

2011-01-05 Thread S Mathias
$ 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

[CentOS] recursively find duplicate filenames

2011-01-05 Thread S Mathias
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? ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] recursively find duplicate filenames

2011-01-05 Thread S Mathias
at 03:15:03AM -0800, S Mathias wrote: 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? What do you mean - duplicate? Duplicate by what? Name? Content? -- Dominik Zyla

[CentOS] why is this html looks like this?

2011-01-04 Thread S Mathias
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

[CentOS] variable in loop

2011-01-02 Thread S Mathias
$ 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?

[CentOS] set privoxy to rewrite http to https

2011-01-01 Thread S Mathias
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.

[CentOS] recursively count the words occurrence in the text files

2010-12-30 Thread S Mathias
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

[CentOS] Does anybody know a PeerGuardian like app?

2010-12-29 Thread S Mathias
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! ___ CentOS mailing list

[CentOS] what process is sending this packet?

2010-12-27 Thread S Mathias
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: [

[CentOS] whats wrong with my internet connection checker script?

2010-12-26 Thread S Mathias
$ 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

[CentOS] whats wrong with my internet connection checker script?

2010-12-26 Thread S Mathias
perfect! thank you Oliver Grawert! :) made my day :) it's working! : ping -W 1 -c 4 google.com /dev/null ping -W 1 -c 4 www.yahoo.com /dev/null || echo no internet connection ___ CentOS mailing list CentOS@centos.org

[CentOS] 2 Ethernet cabling question

2010-12-25 Thread S Mathias
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,

[CentOS] do i need a dedicated ip address for https?

2010-12-21 Thread S Mathias
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! :) ___ CentOS mailing

[CentOS] google chrome big brother

2010-12-17 Thread S Mathias
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

[CentOS] openssl chat

2010-12-12 Thread S Mathias
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

[CentOS] ultimate backup choice

2010-12-11 Thread S Mathias
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

[CentOS] bash increment in a given way

2010-12-11 Thread S Mathias
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? :

Re: [CentOS] bash increment in a given way

2010-12-11 Thread S Mathias
: On Sat, Dec 11, 2010 at 06:34:25AM -0800, S Mathias wrote: You might just have to hard-code the sequence:     for i in 0 1 4 5 8 9; do This outputs:     for i in $(seq 0 4 16); do seq $i 1 $i+1; done     0     1     4     5     8     9     12     13     16     17 Mihai