Oct 162015
 

Few days ago installed STEAM platform on my computer (Windows 10) , just wanted a play a game. The GUI was very very slowly. It took me few minutes just to create and enable an account. Then to browse and install the applications store was impossible. Thens searching on the net I've found different hints/solutions. The want that worked for me was to change the settings for Internet Options. Just go to ControlPanel->Network and Ineternet->Inernet Optins, and a popup will appear.  In this new popup select Connections tab and then LAN Settings. After that uncheck the option Automatically detect settings, like in the picture below. After doing this everything was fast, tens of times faster.

Set "Automatically detect settings" off

Set "Automatically detect settings" off

 Posted by at 6:51 PM
Jan 232014
 

When editing documents with Microsoft Word there are two small things that I do all the time:

  • to group few lines together on the same page , in other words to be sure that the paragraph is not split  between two pages when I modify the text above.
  • to group few words together on the same line, in other words to not split those words between two lines

Here are the tricks how you can do it in Microsoft Word 2010.

Let's start with the 1st thing: group few lines to stay together on the same page .

So, first select the text that you want to group, then mouse right click and select Paragraph, like in the picture below:

ms word select paragraph

ms word select paragraph


You will see a popup where you can set the paragraph properties, select the Line and Page Breaks tab and check the boxes Window/Orphan control and Keep lines together, just like bellow and press OK button. Now you are sure that the selected block will always stay on the same page.
ma word set paragraph keep lines together


Now the 2nd thing: group words together, on the same line.

E.g. You will want to do it when you have a formula and you want to me sure that the entire formula will stay on the same line/row.

The solution is next one:

  • write the words/phrase that you want to group
  • replace the SPACEs with no breaking spaces using CTRL + SHIFT + SPACE, now we are sure that our words will always stay on the same line.

E.g. in the picture below we have a formula in bold, just replace the ALL the spaces in that formula with CTRL+SHIFT+SPACE and new we are safe.

ms word group words together

group words together

 

 Posted by at 10:57 PM
Aug 232013
 

Few days ago I've installed VirtualBox from Oracle on my windows7 machine because I needed a linux where to play with apache webserver.

The instalation was very easy (I assume that internet is available on the host system :D)

  1. Installed VirtualBox
  2. Created a guest machine for Debian
  3. Downloaded Debian Netinstall Image; it is a small CD image which allow ou to install Debian via network. Just google for debian netinst iso , and you should get the latest version.
  4. Tell to VirtualBox to boot first from the downloaded iso file, and "start" the guest machine.
  5. Machine boots and next steps are straightforward: select language, partition disk, select and install packages
  6. The guest machine will then download the needed packages from the internet and will be installed.

Then I made a login to the guest system and play a little with apache, browsing etc...

My expectation was I'll be able to browse the guest apache from the host system.

It does not work by default installation :(... so, I had to read some docs 😀 .

The idea is that on default install the VirtualBox will create an network adapter of type NAT (Network Address Translation). This type of adapter will permit to the guest to browse om Internet via host IP; but it does not allow connections to the guest.

Just stop the guest operating system and in VirtualBox Manager go to Settings->Network and change the network adapter from NAT to Bridged Adapter like in next picture.

network_select_bridged

If you have more than one network adapter on your host system, be sure that in the same window you have selected the proper one. See Name: field, in my case the active one was the Wireless LAN the one that has internet access, so I've selected that one. Be sure that Cable connected checkbox is on.

No other settings are needed.

Click OK and restart your guest operating system.

If you are in a DHCP network (IPs allocated dynamic) do login on the guest operating system and run the ifconfig  command to see what IP was alocated. E.g in my case I got:

>ifconfig

eth0      Link encap:Ethernet  HWaddr 08:00:27:d7:2d:94  
          inet addr:192.168.1.105  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fed7:2d94/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:51 errors:0 dropped:0 overruns:0 frame:0
          TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:14365 (14.0 KiB)  TX bytes:10874 (10.6 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:60 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:23077 (22.5 KiB)  TX bytes:23077 (22.5 KiB)

Then I just go to the host system and browse to http://192.168.1.105/ , and all was fine.

If you are not an a DHCP network (ou are using static IPs), you have to set also the IP on the guest system. The same ifconfig command needs to be used, and it will require root permissions.

More info and details about network adapters available on VirtualBox virtualmanchine cahn be found here http://www.virtualbox.org/manual/ch06.html

Have fun!

Jun 062013
 

I using an windows XP since almost 7 years, never reinstalled.
Everything was fine... OK, maybe it is too slow for now days, but it is runing on a Pentium4 (max speed 3.4 GHz).
So, everything was fine until today, after uninstalling some unused software applications after the reboot I got tens of times messages like

An unhandled win32 exception occurred in mscorsvw.exe [NNNN].
Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled.
In Visual Studio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Just-In-Time.

Check the documentation index for 'Just-in-time debugging, error' for more information.

Where NNNN is some random(?!) number.

just in time debugger error

just in time debugger error

After few restarts and googling the only working solution was to delete next two keys from the registry and restart.

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger

To modify the windows xp registry start a prompt command window (cmd) and type regedit or regedit.exe

Hope that this will help other people.