background preloader

Programing

Facebook Twitter

Invent Your Own Computer Games with Python - Learn how to program with a free ebook programming tutorial. Chapter 1 Read online: Chapter 1 - Installing Python Videos: Chapter 2 Read online: Chapter 2 - The Interactive Shell Chapter 3 Read online: Chapter 3 - Strings Download source: hello.py Copy source to clipboard: Use the online diff tool to find typos in your code: hello.py Chapter 4 Read online: Chapter 4 - Guess the Number Download source: guess.py Use the online diff tool to find typos in your code: guess.py Chapter 5 Read online: Chapter 5 - Jokes Download source: jokes.py Use the online diff tool to find typos in your code: jokes.py Chapter 6 Read online: Chapter 6 - Dragon Realm Download source: dragon.py Use the online diff tool to find typos in your code: dragon.py Chapter 7 Read online: Chapter 7 - Using the Debugger Chapter 8 Read online: Chapter 8 - Flow Charts Chapter 9 Read online: Chapter 9 - Hangman Download source: hangman.py Use the online diff tool to find typos in your code: hangman.py Chapter 10 Read online: Chapter 10 - Tic Tac Toe Download source: tictactoe.py Chapter 11 Download source: bagels.py.

Scripting Languages: PHP, Perl, Python, Ruby (Sheet One) - Hyperpolyglot. A side-by-side reference sheet sheet one: version | grammar and execution | variables and expressions | arithmetic and logic | strings | regexes | dates and time | arrays | dictionaries | functions | execution control | exceptions | threads sheet two: streams | asynchronous events | files | file formats | directories | processes and environment | option parsing | libraries and namespaces | objects | inheritance and polymorphism | reflection | net and web | gui | databases | unit tests | logging | debugging sheet two: streams | asynchronous events | files | directories | processes and environment | option parsing | libraries and namespaces | objects | inheritance and polymorphism | reflection | net and web | gui | databases | unit tests | logging | debugging version used The versions used for testing code in the reference sheet. show version How to get the version. php: The function phpversion() will return the version number as a string. python: import platform platform.python_version() ruby: <?

Pad. All The Cheat Sheets That A Web Developer Needs. How To Create A Simple Google Chrome App In Less Than 5 Minutes. If you take a look at Google’s “Web Store” many Google Chrome apps listed there are basically just quick ways to access web-pages. For example, the official Google Docs app does what?

It opens docs.google.com. The Hootsuite app? It opens hootsuite.com/dashboard Etc. While that may defeat the purpose of an app (shouldn’t it be more than just a bookmark?) Creating A Custom Chrome Dashboard When you start up Google Chrome, you have two options: 1. 2. UPDATE: Google recently changed its “new tab” page, hiding the apps. “Users who want to restore the previous design should type “ in the omnibox — minus the quotation marks — locate the “Enable Instant Extended API” setting in the long list, and change it from “Enable” to “Disable.”” – makeuseof Seeing these big icons on start-up can be an advantage to the often cluttered gallery of mini-screenshots of recently visited webpages. It’s more focused, clean and enables super-quick access to everyday functions even when your eyes are tired.

30 free programming eBooks - citizen428.blog() Since this post got quite popular I decided to incorporate some of the excellent suggestions posted in the comments, so this list now has more than 50 books in it. BTW: I’m not very strict on the definition of “ebook”, some of them are really just HTML versions of books. [UPDATED: 2012-01-18] Learning a new programming language always is fun and there are many great books legally available for free online. Here’s a selection of 30 of them: Lisp/Scheme:Common Lisp: A Gentle Introduction to Symbolic ComputationHow to Design ProgramsInterpreting Lisp (PDF, suggested by Gary Knott)Let Over LambdaOn LispPractical Common LispProgramming in Emacs LispProgramming Languages. Application and Interpretation (suggested by Alex Ott)Simply Scheme: Introducing Computer Science (suggested by Peter AronoffSuccessful Lisp: How to Understand and Use Common Lisp (suggested by Juanito)Structure and Interpretation of Computer ProgramsTeach Yourself Scheme in Fixnum Days.

Cheat sheets and programming resources - QuicklyCode. A Quick, Painless Tutorial on the Python Language. Norman Matloff University of California, Davis June 17, 2008 ©2003-2008, N. Matloff Contents What Are Scripting Languages? Languages like C and C++ allow a programmer to write code at a very detailed level which has good execution speed (especially in the case of C). The term scripting language has never been formally defined, but here are the typical characteristics: Used often for system administration, Web programming, text processing, etc. Why Python? The first really popular scripting language was Perl. Advocates of Python, often called pythonistas, say that Python is so clear and so enjoyable to write in that one should use Python for all of one's programming work, not just for scripting work.

Background Needed Anyone with even a bit of programming experience should find the material through Section 8 to be quite accessible. The material beginning with Section 10 will feel quite comfortable to anyone with background in an object-oriented programming (OOP) language such as C++ or Java.