Monday, March 18, 2013

Install Python on Ubuntu

To install Python on Ubuntu. simple search Python in Ubuntu Software Center.

Install Python on Ubuntu
Install Python on Ubuntu


You can install both Python 2.x and 3.2 together.

Both Python 2.7.3 and 3.2.3 installed
Both Python 2.7.3 and 3.2.3 installed

google-code-prettify: syntax highlighting of source code in html page



google-code-prettify is a Javascript module and CSS file that allows syntax highlighting of source code snippets in an html page.

For an example, see the README.

Features
  • Works on HTML pages
  • Works even if code contains embedded links, line numbers, etc.
  • Simple API : include some JS&CSS and add an onload handler.
  • Lightweights : small download and does not block page from loading while running.
  • Customizable styles via CSS.
  • Supports all C-like, Bash-like, and XML-like languages. No need to specify the language
  • Extensible language handlers for other languages. You can specify the language.
  • Widely used with good cross-browser support. Powers code.google.com and stackoverflow.com


Sunday, March 17, 2013

Getting started with wxPython


Hello World using wxPython

wxPython is a GUI toolkit for the Python programming language. It allows Python programmers to create programs with a robust, highly functional graphical user interface, simply and easily. It is implemented as a Python extension module (native code) that wraps the popular wxWidgets cross platform GUI library, which is written in C++.

Like Python and wxWidgets, wxPython is Open Source which means that it is free for anyone to use and the source code is available for anyone to look at and modify. Or anyone can contribute fixes or enhancements to the project.

wxPython is a cross-platform toolkit. This means that the same program will run on multiple platforms without modification. Currently supported platforms are 32-bit Microsoft Windows, most Unix or unix-like systems, and Macintosh OS X.

Getting started with wxPython >>

Saturday, March 16, 2013

Free eBook online: Web Audio API



Go beyond HTML5’s Audio tag and boost the audio capabilities of your web application with the Web Audio API. Packed with lots of code examples, crisp descriptions, and useful illustrations, this concise guide shows you how to use this JavaScript API to make the sounds and music of your games and interactive applications come alive.

Read the book Web Audio API on-line

Thursday, March 14, 2013

Code Formatting Features in NetBeans IDE



Code Formatting Features in NetBeans IDE

This screencast demonstrates how to use a few important formatting features in the NetBeans IDE such as, general indentation, braces and others. This demonstration is based on the Formatting project available in the NetBeans Sample Code Library.

Friday, March 8, 2013

FREE ebook online: High Performance Browser Networking

How prepared are you when it comes to building high-performance web applications? This book, High Performance Browser Networking, provides what every developer must know about networking in the browser to build faster, more responsive applications—from fundamental protocol limitations that affect performance to architecture and constraints of mobile networks and devices. By understanding how the underlying protocols work, you’ll be able to make better design decisions and deliver faster web applications to your users.

High Performance Browser Networking


Author Ilya Grigorik—a developer advocate and web performance engineer at Google—starts with the building blocks of TCP, UDP and TLS, and then dives into newer technologies such as HTTP 2.0, WebSockets, and WebRTC. This book explains how these technologies work under the hood, their benefits, and provides hands-on optimization tips and best practices for each.
  • Learn how TCP affects the performance of HTTP
  • Learn about the limitations and best practices of designing for wireless networks
  • Learn about the architecture of mobile networks, and its implications for your applications
  • Learn how HTTP 2.0 (based on SPDY) will address current performance bottlenecks
  • Learn how WebRTC, WebSockets, SSE, and XHR requests work under the hood and when and where to use them
  • Learn the performance best practices and recommendations for all of the above

Early Release Access online.

Thursday, March 7, 2013

What is Hacking?


This is to show that Hacking or Being a hacker is not always a bad thing. There's a difference between Cracker and Hacker.