background preloader

Danielhanson

Facebook Twitter

Daniel Hanson

Ruby on Rails Tutorial: Learn Rails by Example book and screencasts by Michael Hartl. Michael Hartl Contents.

Ruby on Rails Tutorial: Learn Rails by Example book and screencasts by Michael Hartl

UtahJS Track @ UTOSC 2012. Python for JavaScript Programmers. By Atul Varma I couldn't find anything on the web that attempted to teach Python to readers who already knew JavaScript, so I thought I'd give it a shot, since a number of my friends at Mozilla don't know much about Python but know JavaScript incredibly well.

Python for JavaScript Programmers

The languages actually aren't that dissimilar--in fact, some of JavaScript's latest features have been borrowed directly from Python. Organizing your application using Modules (require.js) - Backbone.js Tutorials. Unfortunately Backbone.js does not tell you how to organize your code, leaving many developers in the dark regarding how to load scripts and lay out their development environments.

Organizing your application using Modules (require.js) - Backbone.js Tutorials

This was quite a different decision to other JavaScript MVC frameworks who were more in favor of setting a development philosophy. Hopefully this tutorial will allow you to build a much more robust project with great separation of concerns between design and code. This tutorial will get you started on combining Backbone.js with AMD (Asynchronous Module Definitions). What is AMD? Asynchronous Module Definitions designed to load modular code asynchronously in the browser and server. This tutorial will use Require.js to implement a modular and organized Backbone.js. I highly recommend using AMD for application development. Scaling Your JavaScript Applications (Videos) Summary Developers creating JavaScript applications these days usually use a combination of patterns like MVC/MV*, modules, widgets and plugins for their architecture.Whilst this works great for apps that are built at a smaller-scale, what happens when your project starts to grow?

Scaling Your JavaScript Applications (Videos)

In this talk, I present an effective set of design patterns for small, medium and large-scale JavaScript applications. Vim: Seven habits of effective text editing. Bram Moolenaar November 2000 If you spend a lot of time typing plain text, writing programs or HTML, you can save much of that time by using a good editor and using it effectively.

Vim: Seven habits of effective text editing

This paper will present guidelines and hints for doing your work more quickly and with fewer mistakes. Vim Regular Expressions 101. Using quantifiers you can set how many times certain part of you pattern should repeat by putting the following after your pattern: Now it's much easier to define a pattern that matches a word of any length \u\w\+.

Vim Regular Expressions 101

These quantifiers are greedy - that is your pattern will try to match as much text as possible. Sometimes it presents a problem. Remove unwanted spaces. Simple commands to remove unwanted whitespace Edit.

Remove unwanted spaces

Inserting text in multiple lines. In visual block mode, you can press I to insert text at the same position in multiple lines, and you can press A to append text to each line in a block.

Inserting text in multiple lines

As well as inserting or appending text that you type, you can insert or append text from registers, for example, the clipboard. The substitute command can also be used to insert or append text. In Vim, check that you have the blockwise-operators feature (I, A, and more) by entering the :version command. The output should include +visualextra. How to see special characters in a file using vi.

Documentation: 9.1: PostgreSQL 9.1.3 Documentation. PostgreSQL when it is not your job - Christophe Pettus. Tags: django, djangocon (Note beforehand: I didn’t get everything.

PostgreSQL when it is not your job - Christophe Pettus

Quick Intro to PLPython. We have mentioned time and time again, one of the great selling points of PostgreSQL is that it has so many languages to choose from for writing database stored functions and the code you write in those stored functions is almost exactly the same as what you would write when writing in that language's environment.

Quick Intro to PLPython

The reason for that is that PostgreSQL applies a thin layer around the environment the language lives in, so your code is really running in that environment. The down-side of this approach is you must have that environment installed on the server. This is a bit different from the Microsoft SQL Server model where code you write in VB.NET, C#, IronPython etc. gets translated into Common Runtime Logic (CLR) so your code is not really running in the environment it would normally breathe in and if you have dependencies you have to enable them in the SQL Server GAC which is different from the Server's .NET GAC.

Installing PostgreSQL 8.4 beta Yes. Recovered PostgreSQL tutorial. Description This document gives you an overview of PostgreSQL and lists what you will learn in the following documents of w3resource PostgreSQL tutorial. What is PostgreSQL PostgreSQL is claimed to be the most advanced open source database solution. PostgreSQL is an object-relational database management system (ORDBMS). The Linux Documentation Project: Guides. The Linux Documentation Project (LDP) is working on developing good, reliable documentation for the Linux operating system.

The overall goal of the LDP is to collaborate in taking care of all of the issues of Linux documentation, ranging from online documentation (man pages, HTML, and so on) to printed manuals covering topics such as installing, using, and running Linux. Here is the Linux Documentation Project Manifesto and Copyright License for LDP works. Translations of LDP works (languages other than English) can be found on the "Non-English Linux Info" links page. Advanced Bash-Scripting Guide This document is both a tutorial and a reference on shell scripting with Bash. Tweaking Gnome Shell : 5 Step to Make your Gnome Shell Looks Great. After installing the ubuntu 11.10 Oneiric, may some people feel not so satisfied with the performance or appearances (Unity), Although this situation has occurred since Ubuntu 11.04 some of ubuntu user seems still unsatisfied although Unity now runs on top of Gnome 3 platform (GTK3). Some advice to who are less satisfied with some Ubuntu change, "come on guys, all people do the change, let's change!

", don't say that Gnome 2 is better ever. If you feel not satisfied with Unity we have a choice to choose a Gnome-Shell, i think many blog/website has write about it, you can go to Ubuntu Software Center and seach a application by keywords 'Gnome Shell'. Python. Navigation How to Think Like a Computer Scientist¶ Learning with Python¶ 2nd Edition (Using Python 2.x) by Jeffrey Elkner, Allen B. Downey, and Chris Meyers Last Updated: 21 April 2012 Copyright NoticeForewordPrefaceContributor ListChapter 1 The way of the programChapter 2 Variables, expressions, and statementsChapter 3 FunctionsChapter 4 ConditionalsChapter 5 Fruitful functionsChapter 6 IterationChapter 7 StringsChapter 8 Case Study: CatchChapter 9 ListsChapter 10 Modules and filesChapter 11 Recursion and exceptionsChapter 12 DictionariesChapter 13 Classes and objectsChapter 14 Classes and functionsChapter 15 Classes and methodsChapter 16 Sets of ObjectsChapter 17 InheritanceChapter 18 Linked ListsChapter 19 StacksChapter 20 QueuesChapter 21 TreesAppendix A DebuggingAppendix B GASPAppendix c Configuring Ubuntu for Python DevelopmentAppendix D Customizing and Contributing to the BookGNU Free Document License Search Page.

Hairy Sun. Testing-in-python Info Page. Cheesecake - Trac. Free Development software downloads. S Python Class - Google's Python Class - Google Code. Welcome to Google's Python Class -- this is a free class for people with a little bit of programming experience who want to learn Python. The class includes written materials, lecture videos, and lots of code exercises to practice Python coding. These materials are used within Google to introduce Python to people who have just a little programming experience. The first exercises work on basic Python concepts like strings and lists, building up to the later exercises which are full programs dealing with text files, processes, and http connections. Core Dump. Overview — Sphinx 1.1.3 documentation. Git. What is version control, and why should you care?

Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. Even though the examples in this book show software source code as the files under version control, in reality any type of file on a computer can be placed under version control. Couch DB. Getting Serious Using Javascript with node.js and couchdb. I love CouchDB and node.js.