Saturday, February 20, 2010

I support freedom of speech, blogggers should not be killed ...

Thursday, February 18, 2010

All Internet Explorer users should choose once again if they really want to use IE

It seems Microsoft under press of EU rules is going to publish a madnatory update to ask the users who have Internet Explorer as standard web browser if they want to continue with it. According to Microsoft windows director in Norway there will be a message saying what a web browser is and showing all the alternatives in a random order. The patch is applied to XP, Vista and Widnwos 7.
 source : Digi.no

This is the first time that Microsoft is taking action on EU rules after their update on Windwos 7 for Europe which was distributed without IE as a part of the Windwos core.
Source ( Norwegian ) 

Netdom Reset

Resets the secure connection between a workstation and a domain controller.
Netdom is a command-line tool that is built into Windows Server 2008. It is available if you have the Active Directory Domain Services (AD DS) server role installed. To use netdom, you must run the netdom command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator. [More info & Example] 

Sunday, February 14, 2010

Disable startup sound at ubuntu 9.10

System> Preferences> Start Up Applications -> Deselect the Gnome Login Sound

Friday, February 12, 2010

How to remove IE from your Windows

Steps for Windows 7

To uninstall Internet Explorer 8, follow these steps:
  1. Close all programs.
  2. Click Start
    Collapse this imageExpand this image
    Start button
    , and then click Control Panel.
  3. Under Programs, click Uninstall a program.
  4. In the tasks pane, click Turn Windows features on or off.
  5. In the list of windows features, clear the check box next to Internet Explorer 8.
  6. You receive a warning message in a pop-up window. Click Yes.
Internet Explorer 8 will now be uninstalled. The system will restart after the installation.

Steps for Windows Vista or for Windows Server 2008

To uninstall Internet Explorer 8, follow these steps:
  1. Close all programs.
  2. Click Start, and then click Control Panel.
  3. Click Uninstall a Program under the Programs category
  4. In the Tasks pane, click View installed updates.
  5. In the list of installed updates, double-click Windows Internet Explorer 8.

    Note If Windows Internet Explorer 8 does not appear in the list of installed updates, try the alternative steps for Windows Vista or for Windows Server 2008.
  6. In the Uninstall an update dialog box, click Yes.

    Note If you are prompted for an administrator password or for confirmation, type the password, or click Continue.
  7. Follow the instructions to uninstall Internet Explorer 8.
  8. When the uninstall program is finished, restart your computer.
After you have finished, go to the "Did the "Let me fix it myself" steps fix the problem?" section to verify that your earlier version of Internet Explorer is restored.

Steps for Windows XP or for Windows Server 2003

To uninstall Internet Explorer 8, follow these steps:
  1. Close all programs.
  2. Click Start, and then click Control Panel.
  3. Click Add or Remove Programs.
  4. In the list of currently installed programs, click Windows Internet Explorer 8, and then click Remove.

    Note If Windows Internet Explorer 8 does not appear in the list of installed updates, try the alternative steps for Windows XP or for Windows Server 2003.
  5. Follow the instructions to uninstall Internet Explorer 8.
  6. When the uninstall program is finished, restart your computer.

Saturday, January 30, 2010

How to change the font size permanently in Thunderbird

If you think the originall font size is too small for you and you do not want to repeat pressing Ctrl + for reading every single email, well it is easy. You can go to Tools, Options and then under the Display tab, change the font size permanently.

Change MAC's computer name

  • Launch ‘System Preferences’
  • Click the ‘Sharing’ icon
  • Type in the name you want to change to.
  • Close ‘System Preferences’ and you are done.

Thursday, January 28, 2010

ipad critique

I think iPad is great, there is no word about it, but I have my own critiques against this new gadget. The cheapest iPad(499 $ in U.S.) just has WiFi, meaning you can not use it like your iPhone everywhere... Other versions of iPad that can go up to 899$ has other options for connecting to Internet, but more expensive. I mean it is okay, that this gadget is for surfing and that one we can do it when we have Internet, but this one is not a laptop, does not even have the MAC OSX on it. This actually is an iphone with bigger screen with minor capabilities.

Friday, January 22, 2010

Find computer name with IP Address

Click start -> Write cmd in the text box(in XP you should click on Run first) -> nslookup xxx.xxx.xxx.xxx(IP ADDRESS)

Then you have computer name in front of you :-)

Monday, January 18, 2010

Rotate & save PDF files in Adobe Acrobat Pro

Adobe Acrobat 8 : The rotate button on the toolbar(or in View dropdown) at the top of the screen is a view only, and wont be saved. If you want to save the rotation you make on the page(s), you should open the pages panel (under tools OR view dropdown menu, depends on your version) and then right click on the selected pages.  Rotate pages from the right click menu and then you can easily save the file with rotated pages ...
If you have Adobe Acrobat 9, then you can easily do it under Document -> Rotate Document.

Wednesday, January 13, 2010

Saturday, December 19, 2009

PHP string concatation

  1. $str1 = 'This ';
  2. $str2 = 'is a ';
  3. $str3 = 'test string';
  4. $full = $str1.$str2.$str3;
  5. echo $full;
  6. ?>

PHP string compare

  1. $str1 = "Test";
  2. $str2 = "Test";
  3. if ($str1 == "Test") echo "OK-1";
  4. if ($str1 == $str2) echo "OK-2";
  5. ?>

Tuesday, December 15, 2009

Shortcut command to Restart / Shutdown windows

XP : Click start -> Click "Run" -> Write : cmd
Vista, 7 : Click start -> Write : cmd

Then :
For a shortcut to RESTART Windows :
SHUTDOWN -r -t 01

For a shortcut to SHUT DOWN Windows :
SHUTDOWN -s -t 01

Monday, December 14, 2009

enable content search in windows

Content-searching can allow you to search files by what is contained within the file rather than the file-name. By default, Windows only search file names for locations that are unindexed, which can often bring frustration upon users who have Search Indexing disabled. By enabling content-searching, those who often forget filenames but remember the contents within a file can make their searching much more efficient.

searchbar.jpg

Re-enabling content-searching is very simple. First, you want to access your folder options from the Tools menu. If you don’t have the top navigation bar enabled by default, just press Alt.

folderoptions1.jpg

Click on the Search tab above to access your Search Functions. Below is a picture of the default search settings. Simply check the second button, “Always search file names and contents” to re-enable content searching. If you’re working with system files, you might also want to check the Include System Directories box below.
searchfoloptions.jpg

source : http://www.vistarewired.com/2007/03/17/how-to-search-files-by-content-data

Split screen, Notepad++

To split the screen in Notepad++ you have to right-click on the tab
with the current document and select "Clone to another view". The
screenshot at the following page explains how to switch between
horizontally and vertically split screens.

http://notepad-plus.sourceforge.net/commun/screenshots/scrsh_rotate.gif

This page explains how Notepad++ can be integrated with Stata similar
to the built-in Do-File Editor:

http://huebler.info/2008/20080427-stata.html

thanks to Friedrich

Tricks to make old Addons work on Firefox 3.5 or higher

The trick is to add some configurations in Firefox settings. All the changes you make from here on are done at your own risk. Do revert the settings if something goes wrong.

  1. Type about:config address bar of Firefox browser and hit enter. It will give you a warning. Just click the button “I’ll be careful, I promise!” and proceed…
  2. It will show a huge list of values. Now, right click any where in the free white-space on the screen and click on New –> Boolean, then name the Boolean as checkCompatibility – make it false in the next step.
  3. again right click and click on New -> Boolean and name as checkUpdateSecurity and choose false.
  4. After doing this changes to get the changes applied, Restart the Firefox browser. Now install the addon that was not supported or compatible by Firefox 3.5 and install it.
  5. Restart the Firefox browser once again. Now, the not compatible addon will work with Firefox 3.4

Hope you liked this trick.

Thanks to Blogote

Thursday, November 19, 2009

Funny !!!

valgrind: the 'impossible' happened:
Killed by fatal signal
==4660== at 0x3802088D: vgPlain_arena_malloc (m_mallocfree.c:190)
==4660== by 0x38035516: vgPlain_cli_malloc (replacemalloc_core.c:101)
==4660== by 0x380022F5: vgMemCheck_malloc (mc_malloc_wrappers.c:182)
==4660== by 0x38035BA7: do_client_request (scheduler.c:1158)
==4660== by 0x380372B1: vgPlain_scheduler (scheduler.c:869)
==4660== by 0x38051B59: run_a_thread_NORETURN (syswrap-linux.c:87)

sched status:
running_tid=1

Thread 1: status = VgTs_Runnable
==4660== at 0x4A05809: malloc (vg_replace_malloc.c:149)
==4660== by 0x4030B0: _readTime (commands.c:676)
==4660== by 0x402124: _processReceivedData (commands.c:361)
==4660== by 0x401EEC: _performReceive (commands.c:322)
==4660== by 0x401809: _performCommand (commands.c:225)
==4660== by 0x401340: commandCenter (commands.c:163)
==4660== by 0x400D39: main (Hj1.c:63)

Wednesday, November 18, 2009

strlen @ C

Take care of bastard, strlen in C does not take the last ending sign.

DESCRIPTION
The strlen() function calculates the length of the string
s, not including the terminating '\0' character.

Sunday, November 15, 2009