Started Using Git SCM For my Darkness is Spreading

So, I setup my own Git repo tonight. This is the exact order of my evening:

First,
I watched Linus Torvald rip all the other SCM’s a new one here:
http://www.youtube.com/watch?v=4XpnKHJAok8

Then I watched,
Emerging Tech Talk #24 – Learning Git, Part 1 – Introduction to Version
Emerging Tech Talk #25 – Learning Git, Part Two – Getting started with
24: http://www.youtube.com/watch?v=MLLkJ2rngk0
25: http://www.youtube.com/watch?v=dDJOb2wGLjY&NR=1

Then, I went to http://github.com/ and setup my own public git repository.
(you can make it private, if you pay. but who would want to do that? viva la open source!)

Then I setup a clone of my Darkness is Spreading Game (dis-game):
Public Clone URL: git://github.com/danfolkes/dis-game.git
Github Home Page: http://github.com/danfolkes/dis-game/tree/master

I want to thank github for making things so awesome and easy to setup. They seem to really know a lot about helping n00bs.

Taken from their homepage:

Not only is Git the new hotness, it’s a fast, efficient, distributed version control system ideal for the collaborative development of software.

GitHub is the easiest (and prettiest) way to participate in that collaboration: fork projects, send pull requests, monitor development, all with ease.

The Best iPhone Gin Rummy Card Game

gin rummy iphone ipod touch game itunes apple
gin rummy iphone ipod touch game itunes apple

I have found this great new Gin Rummy App on the Apple ITunes Store for the iPhone or iPod Touch.

It has really good graphics and has some really good game functions. In the next few versions, it might even have multiplayer.

Link to the App on ITMS:
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=304497413&mt=8

Made by: http://neuroticnerd.com/blog/

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”