Wednesday, March 22, 2017

Creating a bootable USB drive for Windows10 installer

Here are the steps to create a bootable USB drive on a Windows machine. You need this so you can transfer your OS installer from a CD or ISO file to the USB drive.


1. Plug in USB drive

2. Open a Command Prompt as an administrator
- open Start menu
- type "command" on the search box
- Right click the "Command Prompt" on the searched programs
- choose "Run as administrator"

3. Open the disk management utility
C:> diskpart

4. List the connected disks that are available
DISKPART> list disk

5. Select your USB drive
DISKPART> select disk #
Replace the # with your disk number

6. Clean the USB drive
DISKPART> clean

7. Create a bootable partition
DISKPART> create partition primary

8. Select the partition that you just created
DISKPART> select partition 1

9. Make the partition active
DISKPART> active

10. Format the USB drive
DISKPART> format fs=fat32

11. Assign a drive letter
DISKPART> assign



12. You may now copy your OS installer from your CD or from an ISO file to your bootable USB drive.

Note:
I use Virtual Clone Drive to mount an ISO file as a virtual drive.


./f

Thursday, May 12, 2016

Linux Mint Update error for Chrome

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

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


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.

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