If you're gettting “no public key available” error message, open a command prompt and run the command:
# wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
If youi're getting "Failed to fetch" error:
edit /etc/apt/sources.list.d/google-chrome.list.
e.g. # sudo vi /etc/apt/sources.list.d/google-chrome.list
old entry:
deb http://dl.google.com/linux/chrome/deb/ stable main
change to:
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
./rom
Thursday, May 12, 2016
Saturday, March 12, 2016
The android zoom/magnification
Android 5.1.1
To turn on zoom on Android 5.1.1
Settings -> System -> Accessibility -> Magnification Gestures
Unfortunately, the screen magnification gesture is triple tap and it is not customizable. It is unfortunate because, "continuous tapping" is a common action or gesture in games like deploying troops in Clash of Clans. So instead of enjoying the game, the screen will zoom in/out.
Why android...? Why are you using a common gesture for a system function?
Why not 2 finger double tap? or 2 finger swipe? or 3 finger swipe? or 3 finger double tap? or ... (sigh)
On IOS the zoom gesture is 3 finger double tap.
Settings -> General -> Accessibility -> Zoom
./rf
Monday, February 23, 2015
CodeIgniter File not found
If you're getting File not found in Codeigniter, change the first letter of your controller file to upper case.
From the userguide http://www.codeigniter.com/user_guide/general/controllers.html
Important
The file must be called ‘Blog.php’, with a capital ‘B’.
Friday, November 28, 2014
Outlook 2013 and Voting results not updating
To automatically keep track of the voting results in Outlook 2013, DO NOT move the voting message from the "Sent Items" folder. If you do, it will stop tracking the results.
See KB below. "Automatic Logging of Vote Messages" section.
Outlook Voting and Vote Processing:
http://support.microsoft.com/kb/197420
See KB below. "Automatic Logging of Vote Messages" section.
Outlook Voting and Vote Processing:
http://support.microsoft.com/kb/197420
Thursday, November 27, 2014
Python and Pyglet
If you'll be using pyglet with Python 2.7.8, save yourself some aspirin and install the 32 bit version of Python instead of the 64 bit.
It will install on 64bit Python but you'll encounter an error even just with the hello world example.
After changing to the 32bit Python and pyglet combo, the sample ran fine.
It will install on 64bit Python but you'll encounter an error even just with the hello world example.
window = pyglet.window.Window() File "C:\opt\Python27\lib\site-packages\pyglet\__init__.py", line 306, in __getattr__ __import__(import_name)
After changing to the 32bit Python and pyglet combo, the sample ran fine.
Friday, October 25, 2013
How to make a bootable usb drive
1. Right-click the Windows Command Prompt in your Start Menu. Choose to run it as an Administrator.
2. C:\>diskpart
to launch Microsoft’s disk management utility. The command line should now read DISKPART>.
3. DISKPART>list disk
Show a list of all disk drives.
Note the USB key’s disk number. You can pick it out by checking the disk capacity.
4. DISKPART>select disk #
# = USB key’s disk number.
5. DISKPART>clean
utility to clean the disk.
6. DISKPART>create partition primary -
Creates a new bootable partition
7. DISKPART>select partition 1
Choose partition 1
8. DISKPART>active
Mark partition as active.
9. DISKPART>format fs=fat32
Format the partition. DiskPart will display a progress percentage.
10. DISKPART>assign
Give this USB key a drive letter.
11. DISKPART>exit
Close the DiskPart program
2. C:\>diskpart
to launch Microsoft’s disk management utility. The command line should now read DISKPART>.
3. DISKPART>list disk
Show a list of all disk drives.
Note the USB key’s disk number. You can pick it out by checking the disk capacity.
4. DISKPART>select disk #
# = USB key’s disk number.
5. DISKPART>clean
utility to clean the disk.
6. DISKPART>create partition primary -
Creates a new bootable partition
7. DISKPART>select partition 1
Choose partition 1
8. DISKPART>active
Mark partition as active.
9. DISKPART>format fs=fat32
Format the partition. DiskPart will display a progress percentage.
10. DISKPART>assign
Give this USB key a drive letter.
11. DISKPART>exit
Close the DiskPart program
Wednesday, October 9, 2013
Don't want the windows 7 alt-tab style?
Revert to XP style alt-tab using PowerShell 1 liner
C:> Set-ItemProperty HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer AltTabSettings ([int]1)
Subscribe to:
Posts (Atom)