Linux Son

Live Like A Geek!

  • Archives

  • Hits

    • 2,771 Freinds Looked it up!
  • Meta

Archive for the ‘Open source’ Category

Happy Birthday UBUNTU 8.04!

Posted by hisitech on April 26, 2008

ubuntuWell, Breathe deeply! UBUNTU is here . if you are one of the Ubuntu users you know what I say. the ubuntu roadmap is really clear . you get the promotion! a proper way for geeks.

somethings unrelated : hectic days come up , I am so confused , depressed . I should find new ways in my life , I am gana change my job . when i fell the system do not need me or i can not promote in this system , there i no way except quit !

God bless me!

Posted in General, Life, Linux, Open source | Tagged: , , | Leave a Comment »

KLinkstatus

Posted by hisitech on April 3, 2008

Well , Do you want to check out all of your website links ? do it by hand ? wow!

ok , web developers  can use this pretty software : KLinkstatus

screenshot-klinkstatus.jpg

Posted in Computer, Linux, Open source | Tagged: , , | Leave a Comment »

Bearable Windows!

Posted by hisitech on February 26, 2008

Well, if you use Linux or other none Windows OS stuff ! you do not need to read it,because you are on the best shape! ,if you still using this OS and love MS productions you do not need to read it . but if you use Windows and should bear it for special reasons ,so use these tools and make it less painful :

0. Internet Explorer = Mozilla Firefox
First thing I install on a fresh Windows XP. Simply the best Internet browser. Ever! 🙂

1. Windows Explorer = ExplorerXP
Tabs, groups and a toolbar with only the useful things. The way explorer should have been.

Read the rest of this entry »

Posted in Computer, Freedom, Linux, Open source | Tagged: , , , | 7 Comments »

Phpsyslog-ng tutorial was translated

Posted by hisitech on February 5, 2008

Last week I had an email from Blaise , the administrator of openmaniak.com – this site is about OpenSource software and tutorials in lots of languages – he asked me via email to translate the phpsyslog-ng tutorial to Persian and I eagerly done it . you can find the Persian translation in this address .

I ask all of my friends to help me to revise it and tell me the problems of translation ( it`s full of them!).

oohhhhh ,I forgot to tell you what it is ! ” Phpsyslog-ng is a web interface based on a php script that permit to read the logs generated by a local server or remote machines. The logs are first sent from the local or remote machines to a log collector named syslog-ng and then forwarded into a mysql database.”

Posted in Computer, Open source, PHP, Programming | Tagged: , , , | 4 Comments »

Unix Lessons

Posted by hisitech on December 24, 2007

(1) Don’t change the permissions
(2) back up your data
(3) keep it simple, stupid
(4) read the fscking manual
(5) don’t fsck with package management
(6) don’t type anything you don’t understand
(7) always have a boot floppy or CD
(8) read your log files
(9) the FIRST error is the one that counts
(10) don’t leave your root shell until you TEST your changes
(11) don’t be root when you don’t have …

Posted in Computer, Linux, Open source | Tagged: , | Leave a Comment »

Download Youtube videos using “Wget”

Posted by hisitech on December 7, 2007

Here there is an easy way to download Youtube videos using wget.  of  course you can do it by some handy Firefox extensions but as i said before do NOT forget command prompt power:

First thing we need is the video ID which we are going to get using also wget together with grep.

First locate the page of the video you want to download, I will use for this example one showing compizfusion in action.

Read the rest of this entry »

Posted in Computer, Linux, Open source, Video | Tagged: , , | 2 Comments »

Truth Happens

Posted by hisitech on December 7, 2007

First they ignore you…..

Then they laugh at you…..

Then they fight you…..

Then you win….

GANDHI

Posted in Computer, Freedom, Linux, Open source, Technology, Video | Tagged: , , | 2 Comments »

download a complete site on your disk

Posted by hisitech on December 6, 2007

There are lots of applications with user friendly GUIs to copy your favorite websites and offline browsing , but i want to introduce my old and light Linux command “wget”:

as a computer expert it is your duty to find the ways not to consume system resources , so why not using wonderful short Linux commands to handle our job; well just move your fingers gently on keyboard :

wget http://www.hisitech.wordpress.com -k -c -r -p

Ok, it will do the task perfectly , changes and localizes links , saves images on your hard disk, what do u want more?

Posted in Computer, Linux, Open source | Tagged: , , | Leave a Comment »

40 Tips for optimizing your php Code

Posted by hisitech on December 2, 2007

1. If a method can be static, declare it static. Speed improvement is by a factor of 4.
2. echo is faster than print.
3. Use echo’s multiple parameters instead of string concatenation.
4. Set the maxvalue for your for-loops before and not in the loop.
5. Unset your variables to free memory, especially large arrays.
6. Avoid magic like __get, __set, __autoload
7. require_once() is expensive
8. Use full paths in includes and requires, less time spent on resolving the OS paths.
9. If you need to find out the time when the script started executing, $_SERVER[’REQUEST_TIME’] is preferred to time()
10. See if you can use strncasecmp, strpbrk and stripos instead of regex

Read the rest of this entry »

Posted in Computer, Open source, PHP, Programming, Software engineering | Tagged: , | 5 Comments »