Forum: Python
Jul 4th, 2009, 6:09 PM
|
|
Replies: 0
Views: 453
Calculate CRC32 checksums (like SFVs)
import binascii
def getCRC(filename):
filedata = open(filename).read()
return binascii.crc32(filedata)
So far i've got this and it returns something like:
-2087276233
|
Forum: PHP
Feb 5th, 2009, 7:00 PM
|
|
Replies: 3
Views: 909
|
Forum: PHP
Jan 21st, 2009, 4:16 PM
|
|
Replies: 3
Views: 909
|
Forum: PHP
Jan 19th, 2009, 2:32 PM
|
|
Replies: 3
Views: 909
|
Forum: PHP
Nov 11th, 2008, 11:42 PM
|
|
Replies: 3
Views: 347
Re: concat deep inside ..
Doesn't anyone know this? I just want it to md5 password + row secret from test-user row.
SELECT * FROM users WHERE username= 'test' AND passhash = md5('1234'concat(secret)))
Should there be a dot...
|
Forum: PHP
Nov 10th, 2008, 9:44 PM
|
|
Replies: 3
Views: 347
Re: concat deep inside ..
I want to close the 2nd md5 encryption after the password so the final string will be like $passhash above ..
secret is a password-seed set for each user, to make the enc more...
|
Forum: PHP
Nov 10th, 2008, 6:39 PM
|
|
Replies: 3
Views: 347
concat deep inside ..
I returned here because of good previous experiences, been to long now and I hit my head against a door!
SELECT * FROM users WHERE username= 'test' AND passhash =...
|
Forum: Python
Dec 3rd, 2007, 5:10 PM
|
|
Replies: 3
Views: 400
|
Forum: Python
Dec 3rd, 2007, 8:39 AM
|
|
Replies: 3
Views: 400
|
Forum: HTML / XHTML / CSS
Nov 18th, 2005, 4:41 AM
|
|
Replies: 8
Views: 1,063
|
Forum: HTML / XHTML / CSS
Nov 13th, 2005, 7:12 AM
|
|
Replies: 8
Views: 1,063
|
Forum: HTML / XHTML / CSS
Oct 31st, 2005, 8:13 AM
|
|
Replies: 8
Views: 1,063
If i do something like:
* {
text-align:...
If i do something like:
* {
text-align: left;
}
and then make a <div id="center"></div> (with text-align: center;) tag around nav, header, and content, and keep the margin: 0 auto 0 auto, the...
|
Forum: HTML / XHTML / CSS
Oct 28th, 2005, 12:22 PM
|
|
Replies: 8
Views: 1,063
|
Forum: HTML / XHTML / CSS
Oct 28th, 2005, 9:04 AM
|
|
Replies: 8
Views: 1,063
IE Compatibility, margin: auto; (centering)
Hey guys long time no see, I was macking with some XHTML and ran into some problem in IE, this site needs to be readable for everybody, and then i thought of you wise guys inhere :D...
|
Forum: Python
May 31st, 2005, 9:47 AM
|
|
Replies: 1
Views: 345
Hard understanding part of tutorial
http://ibiblio.org/obp/thinkCS/python/english/chap09.htm#4
I am doing this tutorial, but when it comes to the exercise in this part 9.4 I'm stuck, I do not understand the high and low thing, what...
|
Forum: Python
Apr 5th, 2005, 12:47 PM
|
|
Replies: 5
Views: 497
['spam!', 1, ['Brie', 'Roquefort', 'Pol le Veq'],...
['spam!', 1, ['Brie', 'Roquefort', 'Pol le Veq'], [1, 2, 3]] ..
Thank you, but this is the previous list, just above the exercise, how could I do the lenght thing on this one? It won't allow me if I...
|
Forum: Python
Apr 5th, 2005, 9:21 AM
|
|
Replies: 5
Views: 497
|
Forum: Python
Apr 4th, 2005, 5:10 PM
|
|
Replies: 5
Views: 497
|
Forum: Python
Apr 1st, 2005, 5:14 PM
|
|
Replies: 15
Views: 2,672
|
Forum: Software Design and Algorithms
Mar 30th, 2005, 2:46 PM
|
|
Replies: 17
Views: 3,318
Great article..
It's incredible how Java is...
Great article..
It's incredible how Java is developing, in benchmarks it is sometimes faster than C/C++ and in many almost equal speed.
We will probally see more coders in Java in the future,...
|
Forum: Software Design and Algorithms
Mar 30th, 2005, 2:36 PM
|
|
Replies: 49
Views: 9,962
|
Forum: Python
Mar 29th, 2005, 10:41 AM
|
|
Replies: 4
Views: 519
|
Forum: Python
Mar 28th, 2005, 1:58 PM
|
|
Replies: 4
Views: 519
|