AspDotNetStorefront – Changing Max File Upload Size

In Asp.Net StoreFront – You can change it by editing the file here:

/RadControls/Editor/ConfigFile.xml
Properties:
MaxImageSize
MaxFlashSize
MaxMediaSize
MaxDocumentSize
MaxTemplateSize

Who wants 2K images anyway!

Set them to a higher or lower value depending on what you need to happen.

Hamachi Install for Starcraft

Download Hamachi by clicking this link:
hamachisetup-1015-en

This is an old version of Hamachi, it’s important to use the old version.

Click NEXT until the “Basic vs Premium” Screen – Choose “Use Hamachi Basic”

Keep Installing.

Open Hamachi
Click the “Power” in the lower left corner.
Create a username that is unique.

Click the Triangle Looking button in the near right corner.
=Select “Join Network”

Join network: ASKME
and use the password I tell you.

Clickonce – Unable to Sign Application

I get this error when I try and publish the Click-Once project in .Net:

Cannot publish because a project failed to build.
SignTool reported an error ‘Failed to sign bin\Debug

Here is the Fix:

  1. Go to the properties of the project.
  2. Go to “Signing”
  3. “Create Test Certificate”
  4. Dont bother with a password
  5. Save
  6. Re-Publish

-Do this to all the projects in the solution.

This should fix the error and get you ClickOnce Publishing again.

Python: Grab Email from Gmail and Insert into MySql Database

This script will:

  • Log into Gmail Pop
  • Read the email
  • Delete the read email
  • Insert the email’s text into a MySql database
  • Sleep for 1800 seconds, and repeat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
try:
        import poplib, sys, time
        import string, random
        import StringIO, rfc822
        import datetime
        SERVER = "pop.gmail.com"
        USER  = "gmailusername"
        PASSWORD = "gmailpassword"
        i = 0;
        print """
        |------------------------------------------|
        |  This is a python program that checks a  |
        |  POP account and if there is a message,  |
        |  it adds it to the SQL server.           |
        |------------------------------------------|
                  by: Daniel Folkes
                         email: [email protected]
 
        (every 180 seconds)
        Checking POP server....
"""
        while 1:
                try:
                        server = poplib.POP3_SSL(SERVER, 995)
                        server.user(USER)
                        server.pass_(PASSWORD)
                except:
                        print "error setting up server."
 
 
                resp, items, octets = server.list()
                # download a random message
                try:
                        id, size = string.split(items[0])
                        resp, text, octets = server.retr(id)
 
                        text = string.join(text, "\n")
                        file = StringIO.StringIO(text)
                        note = ""
                        name = ""
                        message = rfc822.Message(file)
                        for k, v in message.items():
                                if k=='from':
                                                name = v[:12]
                        note = message.fp.read()[:50]
                        print "note: ", note
                        server.dele(1) #this will delete the message after you read it
                        server.quit()
                #-------------------------------------------
                        if note !="":
                                import MySQLdb
                                db = MySQLdb.connect(host="localhost", user="USERNAME", passwd="PASSWORD",db="DATABASENAME")
 
                                cur2 = db.cursor()
                                if name:
                                        cur2.execute("INSERT INTO note (note, name) VALUES (%s, %s)", (note, name))
                                else:
                                        cur2.execute("INSERT INTO note (note) VALUES (%s)", (note))
                except:
                        i+=1
                        #print "Unexpected error:", sys.exc_info()[0]
                        time.sleep(1800)
except:
        print "Failed Unexpectedly"

Min-Height CSS Hack – Height – Minheight – IE – FF – Minimum

1
2
3
4
5
selection {
  min-height:450px;
  height:auto !important;
  height:450px;
}

This code will give min-height to all browsers. IE, FF, Opera, Safari and more.
Continue reading “Min-Height CSS Hack – Height – Minheight – IE – FF – Minimum”

Darkness is Spreading – Backstory – Game – How to Play

BACK STORY

In the year 2920, the Golden Age of Psionics is unlocking worlds of
possibilities for humankind. The psionically gifted are recruited at
a young age to participate in the Planetary Defense Force’s psi-ops
program, where their talents are honed through
cybernetically-interactive mind games. These games can reprogram the
trainees’ subconscious minds for optimal psionic output, all in
parallel with the conscious effort toward solving the puzzle.

DARKNESS IS SPREADING
Continue reading “Darkness is Spreading – Backstory – Game – How to Play”

CoreLaborate – Document Elaboration on the Core Formats

Document Elaboration on the Core Formats
Document Elaboration on the Core Formats

A site I created so that collaborating on Photoshop, Illustrator, GIMP, SVG files would be easier. All of those binary formats that are complicated to share and elaborate on.

I hope this is helpful to many people. Especially in the Open Source world.

Supports: PSD,AI,PDF,XCF,SVG.

Thanks,
Daniel Folkes

Third Eye Blind – Jumper – Chords Lyrics – Best – Notas

This is a hybrid of:
http://www.fretplay.com/tabs/t/third_eye_blind/jumper-crd.shtml
http://www.ultimate-guitar.com/tabs/t/third_eye_blind/jumper_ver2_crd.htm

Hope you enjoy.

E A D G B E
Fmaj7 – X 3 3 2 1 0
C – X 3 2 0 1 0
G – 3 2 0 0 3 3
Am – X 0 2 2 1 0
D9sus2 – X 5 4 0 3 0

Continue reading “Third Eye Blind – Jumper – Chords Lyrics – Best – Notas”

DiS – Darkness is Spreading Version 08.1218

A new version of DiS – Darkness is Spreading Version is out. Version 08.1218

I have added a whole host of features. I wish I had a list, but I don’t!

Here’s a picture:

DiS - Darkness is Spreading Version 08.1218
DiS - Darkness is Spreading Version 08.1218

Here is the page on sourceforge:
http://dis-game.sourceforge.net/

Here is the Play page on sourceforge:
http://dis-game.sourceforge.net/play.php

DiS – Darkness is Spreading

dis - darkness is spreading

I coded this puzzle game that I now have hosted on Sourceforge here:
http://dis-game.sourceforge.net

It’s written in PHP and it is based off the game Flood-it. It takes the general principle and changes it some.

The levels are easily made and can be added pretty easily too.

I’d like to make a level editor, but that is defiantly for a later release.

Here is the plan:
-Make it look better
-Add Score
-Add Level Editor