Monday, March 18, 2013

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.

Friday, March 1, 2013

Aptana studio Beginner's Guide


Aptana Studio 3 is a powerful web development IDE based on the Eclipse platform and provides many innovative technologies and features for developing effective, modern hi-standard web-applications. Aptana has been around since 2008 and it provides language support for HTML, CSS, JavaScript, Ruby, Rails, PHP, Python, and many others by using plugins.

"Aptana Studio Beginner's Guide" is packed with the author’s experience of several years developing with Aptana Studio. It's not just a powerful guide, it's a practical, hands-on introduction to Aptana Studio as a whole. If you want to harness Aptana Studio to enhance your web-development productivity, then read this book.

You will start by setting up your own installation of Aptana Studio, and will be guided step-by-step through the various stages of developing with Aptana Studio.

You will learn how to manage all your work in workspaces and projects, and how you can optimize your projects depending on the nature of the project.

In addition, you will be taught how to work on remote servers or manage your source code with Git and SVN.

Finally, you will have a fully configured IDE and be equipped with the knowledge about how to work and manage large web-projects.

Approach

Accompanied by the plenty of example code and step-by-step instructions, this book will escalate you from a novice to an expert in no time.

Who this book is for

This book is for anyone who is looking for an IDE for effectively developing web applications. You will find this book interesting if you are working with common web technologies such as HTML5, JavaScript, or PHP. This book assumes no prior knowledge of Aptana Studio 3 or the named web technologies.