Monthly Archives: September 2014
Windows Phone 8 add multiple languages to the store
When I uploaded my file with the default configuration it kept saying that the only language my app supported was… Continue reading »
Python regex Filter
The following example replaces values in a textfile with pyhon. Before
1 2 3 |
username = henk This user 'henk' is active peiter |
Python regex filter script
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import re def filter_files(files): read = open(files).read() read = re.sub('username = .*','username = pieter', read) read = re.sub("user '.*?'", "user 'pieter'", read) read = read.replace('peiter','pieter') replace = open(files, 'w') replace.write(read) replace.close filter_files('log.txt') |
After
1 2 3 |
username = pieter This user 'pieter' is active pieter |
HP Switch set startup config
HP a series Switch Verify which file is the startup config file display startup Set startup.cfg to be the configuration… Continue reading »
Phonegap Windows Phone 8.1 Disable Lock Screen
To prevent your Windows Phone 8.1 from locking out the screen while running your code, you have to do the… Continue reading »