Wednesday, 17 July 2013

How to install SQLite.....on windows 7


Install SQLite3 for Windows by downloading zip files and unzipping them into /WINDOWS/system32

you need

sqlite3.exe
sqlite3.def
sqlite3.dll

test by opening cmd line and running "sqlite3"



 
" Change your thoughts and you change your world" ~ Unknown

Dell Optiplex 3010 - Multi-display

Default Bios setting --> Video - Multi-display - DISABLED

Setting up Dell Optiplex 3010 with dual Monitors

1. FIRSTLY enable "multi-video" in the Bios
(if you don't have this option, download the - Dell Client Configuration Toolkit - CCTK) to tweak your bios.
2. Enable the setting
3. Setup your new graphics card
4. Enjoy

Trying to figure out how to setup the 

Link to the tech guide

Tuesday, 16 July 2013

Python paths - to add to "paths"

c:\pythonXX;c:\pythonXX\scripts\


 

w32tm - windows 7 and srv 2008 r2

Server ahead by 5minutes

Changed time - updated my time from my windows machine but still I had the wrong time...

CMD LINE run from elevated 

w32tm /config /update /syncfromflags:domhier  (on windows 7) --> telling the workstation to get the time from a domain

w32tm /montior - view servers

net stop w32time
net start w32ime

w32tm /resync

To see when your PC will next automatically sync

- Control Panel - Task Scheduler - MS - Windows - Time Synchronization 

NET TIME DOMAIN - -> Showed me getting my time from a different domain controller 

Changed time on correct domain controller ---> from elevated cmd line

w32tm /resync 


 
" Change your thoughts and you change your world" ~ Unknown

Monday, 15 July 2013

Python , modules & Pip (the easy way)

Install Python

From normal windows command line interface 

" python distribute_setup.py" to update the distribution

" python get-pip.py" to install pip



To run pip

from normal windows cmd "pip"



Use pip as installer.

from command line

" pip install virtualenv"
" pip install virtualenvwrapper"
" pip install south"
" pip install MySQL-python"
" pip install Django"
" pip install SIT"



Using pip to upgrade

from command line

"pip install South --upgrade



To check what Python modules have been installed?

* from cmdline "python"
* Help ('modules')


Testing modules

virtualenv
from command line "vitualenv"


Friday, 5 July 2013

.ascm files to .epub

Buy & download book
Download and install Adobe Digital Editions - your book will be saved in "My documents\My digital Editions" as an .epub
Use Calibre to upload to device.


 
" Change your thoughts and you change your world" ~ Unknown