If you've installed Anki on Ubuntu 18.04, chances are, Anki will not launch.
Run "sudo apt-get install python3-distutils" on a terminal to make it work.
./rom
Saturday, April 20, 2019
Anki and Ubuntu 18.04
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
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
# 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
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.
Subscribe to:
Posts (Atom)