Single EXE py2exe

Posted on August 7th, 2010 in Uncategorized | No Comments »

Hey guys!

If any of you have been aching for a way to create a single executable in py2exe; this is your solution! Warning: This does use a cracked application for evaluation purposes; please purchase the full one once you have confirmed this works!

The first thing to do is download WinRAR, which can be found Download HERE No viruses, go check for yourself. Pre-cracked, no need to run any keygens. Unzip, then run the installer.

2: Compile your program using py2exe, just as usual.(duh)
3: After compiling, it should result in two folders; one called build and another called dist. Open the folder called dist.

4: In the folder dist, highlight YourProgram.exe, press F2(rename), then copy it’s full filename.

5:Highlight all of the files in the dist folder, then move your cursor close to a file icon, and right click, and select add to archive.

6: Give your final EXE a name (MyProgram.exe), then select the checkbox SFX archive, and under the menu compression, select Best

7: Click on the tab ‘Advanced’, and then click on SFX options.

8: Paste the name of your main EXE that you copied in Step 4, in the textfield Run After Extraction.
9: Click on the tab Modes, then check off Unpack to temporary folder and select Hide All under Silent mode.
10: Click on the tab Update and select Overwrite all files under Overwrite mode.
11: Click OK, then OK in the next window, then WinRAR should begin compiling your EXE.

12: Now you are done, now you have your EXE!

Hope you like my guide, please leave any questions/comments in the comment box! :P

error: MSVCP90.dll py2exe

Posted on July 23rd, 2010 in Uncategorized | No Comments »

Howdy everybody, again!
Another python perk:
on both my XP machine, and my Seven machine, whenever i try to compile using py2exe, (python 2.7 and 2.6) i get this error :
error: MSVCP90.dll: No such file or directory
Solution? (change the directories to your specific one)
In your setup.py file, you might have a basic one like so:
from distutils.core import setup
import py2exe
setup(windows=['hello.py'])
To solve our little issue, we’re going to tell py2exe to exclude the now-useless, pesky MSVCP90 dll, by altering it to so:
from distutils.core import setup
import py2exe
setup(options = {“py2exe”: { “dll_excludes”: ["MSVCP90.dll"]}},
windows=['hello.py'])
Now, run the setup.py program and BAM – no errors :P
MSVCP90.dll is a dll found on all windows from XP on, so it’s a rather useless DLL, but good to have incase (for incase win2k), but if it’s stopping you from compiling, you’d better get rid of it.
Hope you liked my little how-to, this error has been bugging me on many systems of mine; until i found this fix!

Can’t run Python from command line

Posted on July 22nd, 2010 in Uncategorized | 8 Comments »

hey everybody!
I am learning python, and one problem that happened to me is that it failed whenever i tried to run my programs from command line, it gave me this error::
‘python’ is not recognized as an internal or external command,
operable program or batch file.
This is because python has not been added into the environmental variable list, which is a shortcut for long paths. So, rather than typing C:/Python/python.exe, you can just type in python :)
These instructions show you how to add environmental variable in Windows XP:
1: go to start menu and then right click on My Computer and select in the drop-down “Properties”.

2: In the “System Properties” window, select the tab advanced, then on the bottom press Environmental Variables.

3: In the Environmental Variables window, on the bottom there is a section labeled “System Variables”. In the section scroll down a bit until you find a variable called Path. Highlight it by clicking on it.

4:Now that Path is highlighted, press the Edit button below. In the window “Edit System Variable”, in the textbox Variable Value, scroll to the end of all the text.

5: Here we add the python stuff. Copy and paste this string, replacing C and Python27 with your python directory/driveletter:
;C:/Python27/

6:Press ok on all the dialogs, and exit System Information
Open Command prompt. type in python
if you get something like the following;

Then you have fixed the error!

Hope you liked it,
See you guys soon!
-soule

Earn free money…. for barely anything!

Posted on May 12th, 2010 in Uncategorized | 5 Comments »

Hi everyone,
I now use the search engine SwagBucks instead of google.
SwagBucks is a search engine that gives you points randomly whenever you use THEIR search engine. Once you have accumulated enough points, you can redeem them for prizes like Amazon gift cards, Paypal money, etc. (like me) This works because advertisers send Swagbucks sponsored links to put on the top of each search.
Typically they are about 2-3 of them. (They never are helpful though). They get results from Google, and that’s it!

Also, there are some things called SwagCodes.
SwagCodes allow you to earn More SwagBucks just for entering a short code!
More info and where and how to obtain SwagCodes is hosted by my friends at activeswagcodes.com!
There is a chatbox there and it´ll show ya everything you need to make extra SwagBucks.
(if you can say i was referred by Soule ¨P)
Sounds good? Any questions? Comment and I’ll answer them!

SIGN UP!

As usual,
soule :)

Free Dr.Pepper Clothes!

Posted on April 21st, 2010 in Uncategorized | 2 Comments »

Hey guys,

Im back with an awesome BFH glitch.
You all know of the big Dr Pepper code thing, right?
You’ve got to get a can of Dr. pepper to get a code.
For this particular one, it is non-unique, so anyone can use it.
This one’s a video, cause it gets a bit complicated. No worries, I commented it thoroughly :)

Jailbreak the NEWEST iPod touch 3rd gen with 3.1.3 software

Posted on April 2nd, 2010 in Uncategorized | 11 Comments »

Hello there,
(this will work for other iDevices, such as iPad and iPhone, but you will need to find different firmwares)
In my case, i just bought and iPod touch from the apple store about a week ago. It came with the firmware 3.1.3, as it was 3rd gen. This same case may apply for you, so I post this post to help others who are stuck in hell. Simple steps here it goes. Jailbreaking cant be done at the time for 3.1.3; so here we will downgrade then jailbreak. ( i will put screens later)

Step 1: Download the 3.1.2 firmware. To avoid confusion, I’ve uploaded it here for you! Download here

Step 2: Sync your iTouch. then, put it in DFU mode. Do that by first plugging in your itouch and turning it off. Then, Hold down the power button for 3 seconds. Then without releasing the power btn, hold the home btn for 10 secs. Finally, let go of the power btn but keep holding home btn for 20 seconds. iTunes will then identify that an iPod is in recovery mode.

Step 3:  in the newly opened itunes window, close the notification window, and on the page that says “iPod”, shift+click on the button “restore”. Then point itunes to the firmware file you downloaded earlier, and let it do its stuff. It will now downgrade to 3.1.2 firmware. Not to worry, you can recover totally later. ;)

Step 4: Once you have downgraded to 3.1.2, download Spirit (click here). Then plug in your iPod and run Spirit.exe. There will be one button called “Jailbreak”. Click that. Let it jailbreak.

Step 5: Well from here on it is pretty self explanatory, and happy jailbreaking! Carefully attend to each message you see on your screen. Be a bit patient – give it atleast 10 minutes before you start panicking!

Now thanks for reading, look out for an enhanced version soon! I’ll be very glad to answer ANY questions and comments of any kind! Happy jailbreaking!

-soule ;)

Get the crud out of PHP C.R.U.D sites.

Posted on March 6th, 2010 in Uncategorized | No Comments »

Hola people,

I occassionally write C.R.U.D websites (create, retrieve, update, and delete) which are ridiculously easy to do.  Me, whenever I know that I can do anything in a more elegant form. If you did it typically, you’d have this for a simple CRUD site with only items. This’d give you the following: listitems.php, additem.php, deleteitem.php, edititem.php. (if you did it with atleast some moderate form of efficiency. I’ve written some scripts to automate this process and that is where I’ve gained most of my PHP knowledege. However in my opinion it still drives me mad how frikking long it damn takes to write a simply crud site. Due to the fact that I am a perfectionist (let’s go down to the coffee shop and argue about that for a while) but when I feel some proudness in the work I do I make it as beautiful as a diamond ring. About a year after I launched my first Crud site (http://muslimsevents.net) I stumbled on this little package called ajaxCRUD. A nifty title would go as such: AjaxCRUD: get the crud out of C.R.U.D, a humorous approach. Anyhow this was just purely awesome. It was jam-packed with features i came close to fainting.  My current crud went from 20 files to just 4.  (slight dramatization). I love this package and I hope this will come as a help when a fellow novice programmer(like me) need to get the crud out of the way.

BTW, http://www.ajaxcrud.com is the URL. Thanks for reading!

If you steal a film, Hobos will kill you.

Posted on February 22nd, 2010 in Uncategorized | No Comments »

So damn hillarious.

Je m’appelle souleiman

Posted on February 10th, 2010 in Uncategorized | 2 Comments »

Hola,

I’m souleiman, soule for short. I am a moderately young boy with a distinct love for technology, computer science in particular. You’ll find my daily rants about tech, stupid things, what morons run our country, and some other stuffed in between to stick it all together. Hope ya find it interesting!

-soule (I like it lowercased!)