Wednesday, February 25, 2015

Ubuntu Packages - How to install gmpy on python

Know about Ubuntu Nickname
It depends on your Version on your Ubuntu, here some version of Ubuntu with their Nickname
Ubuntu 14.10 (Utopic)
Ubuntu 14.04.2 LTS (Trusty)
Ubuntu 12.04.5 LTS (Precise)
Ubuntu 10.04.4 LTS (Lucid)
You can find a more complete reference here

Check Ubuntu Version
To check your Ubuntu version
 lsb_release -a

Download your installer according to your Version
I am using precise, so I install it from here

Search your package here [There is a search engine down the page]:

Install the installer
To install a deb package
sudo dpkg -i DEB_PACKAGE

Wednesday, February 11, 2015

Getting Access Denied when accessing application data folder in Windows 7

C:\Users\<ME AS ADMINSTRATOR>\AppData\Local\Application Data is not accessible

Those are junction points : hidden, protected operating system files that are not meant to be accessed by users.
Each one points to a user-accessible folder:

Real path is as follows:

Application Data - C:\Users\{user name}\AppData\Roaming
Cookies - C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\Cookies
History - C:\Users\{user name}\AppData\Local\Microsoft\Windows\History
Local Settings - C:\Users\{user name}\AppData\Local
My Documents - C:\Users\{user name}\Documents
NetHood - C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\Network Shortcuts
PrintHood - C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
Recent - C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\Recent
SendTo - C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\SendTo
Start Menu - C:\Users\{user name}\AppData\Roaming\Microsoft\Windows\Start Menu
Templates - C:\Users\{user name}\AppData\Roaming
Temporary Internet Files - C:\Users\{user name}\AppData\Local\Microsoft\Windows\Temporary Internet Files

Laptop wake up from sleep after closing the lip

I am using Toshiba Laptop with Windows 7.

Use tips from

I turn off
Network adapters/Intel(R) Ethernet Connection I218-LM
Mice and other pointing devices/HID-compliant Mouse

[You could test whether you computer will be turned on with those devices after that]