Skip to content

Instantly share code, notes, and snippets.

{
// private field init
var a = 1;
// Private functions
function func2() {
};
// public field init
$scope.b = 1; // For controllers
#!/usr/bin/env python
#-*- coding: utf-8 -*-
u"""
Created on May 15, 2013
@author: pablito56
@license: MIT
@contact: pablito56@gmail.com
@drslump
drslump / Bootstrap.php
Created July 5, 2011 11:33 — forked from pepe84/App.php
PHP Zend: Resources lazy loading
<?php
class My_Zend_Application_Bootstrap_LazyBootstrap extends Zend_Application_Bootstrap_Bootstrap
{
/**
* Bootstrap implementation
*
* This method may be overridden to provide custom bootstrapping logic.
* It is the sole method called by {@link bootstrap()}.
*