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

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)

Sunday, July 14, 2013

NetBeans IDE

Looking for an IDE for your programming language? Java, C, Php, HTML, CSS etc...

NetBeans IDE gave me the best out of the box experience. https://netbeans.org/

Friday, May 17, 2013

IE10 and Chrome can't both run in ModernUI mode

To make Chrome run in ModernUI mode (Windows 8 mode), Click tools and select windows 8 mode.

To make IE10 run in modernUI mode, click tools -> Internet Options.
Go to the Programs tab.
Uncheck run in desktop mode.
This will only work if IE10 is the default browser. If not the default browser, the items will be disabled.

NOTE:

The other browser will switch back to desktop mode. Only 1 browser can run in modernUI.

In desktop mode, both browsers will not display the keyboard automatically.

Saturday, March 9, 2013

IPhone Home button/shortcut

If you want to go back to the top of the page after scrolling way down while browsing using your iphone, tap the information bar at top of your screen. This will scroll the page back to the top.



./rom

Sunday, March 3, 2013

Galaxy Note II: Task manager


To close an app that is not responding in the Galaxy Note II...

1. Press and hold the home button.
The task manager will show up listing the running apps.

2. Swipe away the app you want to close.

3. Press the home button to exit the task manager.


./rom