I saw on the One M8, the three menu buttons at the bottom are now software buttons. Would it be possible to replace them with a different launcher? Has anyone tried?
Affichage des articles dont le libellé est replace. Afficher tous les articles
Affichage des articles dont le libellé est replace. Afficher tous les articles
jeudi 27 mars 2014
mardi 25 mars 2014
[Q] how do i replace the stock sms app with go sms pro? topic
i want to replace the stock sms app on my k900 with go sms pro. how do i do this? i've already checked in the go sms app that it be the default messaging app but i still get double sms notifications and the stock sms app is still active. i can't find anything in the system or messaging settings that would normally turn off the notifications for the stock sms app just like in my past htc's and xperias.
any help would be greatly appreciated.
any help would be greatly appreciated.
mardi 18 mars 2014
Re: Find and replace multiple RegEx search expressions topic
Jignesh Sutar wrote:
> Hi,
>
> I'm trying to delete contents of a .txt log file, matching on multiple
> re.sub criteria but not sure how to achieve this.
>
> Below is an illustration of what I am trying to achieve (of course in this
> example I can combine the 3 re.sub into a single re expression but my
> actual code will have a dozen plus expression I need to match on so easier
> to keep them separate). Only the last re.sub will take effect in the
> example below I need all 3 to take effect.
>
>
> import re
> o = open(r"c:\temp\outputfile.txt","w")
> data = open(r"C:\Temp\infile.txt").read()
> o.write( re.sub(".*<X> ","",data) )
> o.write( re.sub(".*<Y> ","",data) )
> o.write( re.sub(".*<Z> ","",data) )
> o.close()
Apply all substitutions to data before you write the result to the file:
with open(infile) as f:
data = f.read()
for expr in list_of_regexes:
data = re.sub(expr, "", data)
with open(outfile, "w") as f:
f.write(data)
> Hi,
>
> I'm trying to delete contents of a .txt log file, matching on multiple
> re.sub criteria but not sure how to achieve this.
>
> Below is an illustration of what I am trying to achieve (of course in this
> example I can combine the 3 re.sub into a single re expression but my
> actual code will have a dozen plus expression I need to match on so easier
> to keep them separate). Only the last re.sub will take effect in the
> example below I need all 3 to take effect.
>
>
> import re
> o = open(r"c:\temp\outputfile.txt","w")
> data = open(r"C:\Temp\infile.txt").read()
> o.write( re.sub(".*<X> ","",data) )
> o.write( re.sub(".*<Y> ","",data) )
> o.write( re.sub(".*<Z> ","",data) )
> o.close()
Apply all substitutions to data before you write the result to the file:
with open(infile) as f:
data = f.read()
for expr in list_of_regexes:
data = re.sub(expr, "", data)
with open(outfile, "w") as f:
f.write(data)
Libellés :
Develope 1,
expressions,
find,
multiple,
regex,
replace,
Search,
topic
Find and replace multiple RegEx search expressions topic
Hi,
I'm trying to delete contents of a .txt log file, matching on multiple
re.sub criteria but not sure how to achieve this.
Below is an illustration of what I am trying to achieve (of course in this
example I can combine the 3 re.sub into a single re expression but my
actual code will have a dozen plus expression I need to match on so easier
to keep them separate). Only the last re.sub will take effect in the
example below I need all 3 to take effect.
import re
o = open(r"c:\temp\outputfile.txt","w")
data = open(r"C:\Temp\infile.txt").read()
o.write( re.sub(".*<X> ","",data) )
o.write( re.sub(".*<Y> ","",data) )
o.write( re.sub(".*<Z> ","",data) )
o.close()
Thanks in advance.
Jignesh
I'm trying to delete contents of a .txt log file, matching on multiple
re.sub criteria but not sure how to achieve this.
Below is an illustration of what I am trying to achieve (of course in this
example I can combine the 3 re.sub into a single re expression but my
actual code will have a dozen plus expression I need to match on so easier
to keep them separate). Only the last re.sub will take effect in the
example below I need all 3 to take effect.
import re
o = open(r"c:\temp\outputfile.txt","w")
data = open(r"C:\Temp\infile.txt").read()
o.write( re.sub(".*<X> ","",data) )
o.write( re.sub(".*<Y> ","",data) )
o.write( re.sub(".*<Z> ","",data) )
o.close()
Thanks in advance.
Jignesh
Libellés :
Develope 1,
expressions,
find,
multiple,
regex,
replace,
Search,
topic
samedi 8 mars 2014
[Q] How to replace build.prop topic
Hi everybody,
Recently I have bought an I-mobile IQ 9.2A in Thailand. Based on the MTK6589, I rooted it. But yesterday, I modified some values in the build.prop file:
ro.product.model=Galaxy S4
ro.product.brand=Samsung
ro.product.manufacturer=Samsung
I rebooted my phone and now it can't start anymore. Could you please help me? I can access recovery mode and 'factory mode' that allows me to do some test. Also, I have the original build.prop file i saved before.
Recently I have bought an I-mobile IQ 9.2A in Thailand. Based on the MTK6589, I rooted it. But yesterday, I modified some values in the build.prop file:
ro.product.model=Galaxy S4
ro.product.brand=Samsung
ro.product.manufacturer=Samsung
I rebooted my phone and now it can't start anymore. Could you please help me? I can access recovery mode and 'factory mode' that allows me to do some test. Also, I have the original build.prop file i saved before.
jeudi 30 janvier 2014
Need advice. Sell current broken phone or replace screen? topic
My GS4's screen cracked. Digitizer works. It seems like repairing just the glass is very difficult. You can lose touch or have all sorts of problem. Super cheap to repair but dangerous. So, should I just get the digitizer plus screen which is much easier to put on but costs 200 or sell the phone and pay about 200 more for a Nexus 5? Do you think I can get at least 150-200 for this phone? And where? I took really good care of it. Just one stupid fall from a short distance and it broke. My Inspire was so much tougher than this thing.
mercredi 29 janvier 2014
[Coding] Replace Weapon Point Blank indo & brasil topic
hello guyz i need shared replace weapon undetect
thx : UC and member , uncle drache , aunt ana , uncle lonz , uncle kyubiee and many more cheaters
for tutor :
1. scuided
2. on replace weapon
3. when live off replace weapon then dispose of weapons
4. scuided again
5. grap wapons
6. happy cheating
thx : UC and member , uncle drache , aunt ana , uncle lonz , uncle kyubiee and many more cheaters
Code:
bool REPALCE(unsigned long ADRexec, int OFSexec, int PTRexec)
{
if (!IsBadReadPtr((void*)ADRexec, sizeof(unsigned long)))
{
if (!IsBadReadPtr((void*)(*(unsigned long*)ADRexec + OFSexec), sizeof(unsigned long)))
{
*(int*)(*(unsigned long*)ADRexec + OFSexec) = PTRexec;
}
}
return 0;
}
if(ReplaceAcc == 1){
for (int i = 0; i <= 16 ; i++){
REPALCE(OFS_ADRESS , 0x26574 + (i * 0x158), 0x11E1B6A8);
}}
#define OFS_ADRESS 0xAFFFC0 // for PB indonesia
#define OFS_ADRESS 0xAF0AD8 // for PB brasil
1. scuided
2. on replace weapon
3. when live off replace weapon then dispose of weapons
4. scuided again
5. grap wapons
6. happy cheating
samedi 25 janvier 2014
How to replace battery. topic
I need to replace the battery on my kf1.. How does it come out. I have the back off, but something is holding it in..
Thanks :confused:
Thanks :confused:
Inscription à :
Articles (Atom)