- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
| apply plugin: 'com.android.application' | |
| android { | |
| compileSdkVersion 21 // verify current sdk | |
| buildToolsVersion '20.0.0' // verify tools version | |
| defaultConfig { | |
| applicationId 'your complete package - equal manifest' | |
| minSdkVersion 11 | |
| targetSdkVersion 21 |
| """ | |
| * It is assumed that any pile will have a minimum of 1 coin | |
| """ | |
| import collections | |
| # Number of Test Cases | |
| T = int(input()) | |
| # Number of coins in each pile | |
| p = [] | |
| assert 1<=T<=10 |
- lxml - Pythonic binding for the C libraries libxml2 and libxslt.
- boto - Python interface to Amazon Web Services
- Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
- Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
- PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
- Celery - Task queue to distribute work across threads or machines.
- pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.
-
#Problem Statement 1 You are given an array of integers, A. Use list comprehension in Python to count and print the number of odd numbers in A.
-
#Problem Statement 2
An Utopian Tree goes through 2 cycles of growth every year. The first growth cycle occurs during the spring, when it doubles in height. The second growth cycle occurs during the summer, when its height increases by 1 meter.
Now, a new Utopian Tree sapling is planted at the onset of spring. Its height is 1 meter. Can you find the height of the tree after N growth cycles?
Input Format
| def test0(a, b, c=None, d=5): | |
| print(a) | |
| print(b) | |
| print(c) | |
| print(d) | |
| test0(2, "C", "py3", 7) | |
| test0(2, "PyCon") |
| ::-webkit-input-placeholder { | |
| font-style: italic; | |
| } | |
| :-moz-placeholder { | |
| font-style: italic; | |
| } | |
| ::-moz-placeholder { | |
| font-style: italic; | |
| } | |
| :-ms-input-placeholder { |
| # Wrappers for pyvenv | |
| # | |
| # Source in .bashrc via 'source pyvenv-wrapper.sh' | |
| PYVENV_DIR=$HOME/.pyvenv | |
| PYVENV_BIN=pyvenv-3.4 | |
| function py-create-venv { | |
| mkdir -p $PYVENV_DIR | |
| $PYVENV_BIN $PYVENV_DIR/$1 |
Long ago, the first time I read "The Pragmatic Programmer", I read some advice that really stuck with me.
"Don't Use Manual Procedures".
This in the chapter on Ubiquitous Automation. To summarize, they want you to automate all the things.
The trouble was that I hadn't much of an idea how to actually go