Skip to content

Instantly share code, notes, and snippets.

View ajay05's full-sized avatar

aerozeppelin ajay05

View GitHub Profile
@LeCoupa
LeCoupa / nodejs-cheatsheet.js
Last active September 24, 2025 16:35
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@messified
messified / php-interview.md
Last active August 30, 2025 14:31
PHP Engineer Interview: What you should know

PHP Developer Interview: What you should know

1. What’s the difference between " self " and " this " ?

Use $this to refer to the current object. Use self to refer to the current class. In other words, use $this->member for non-static members, use self::$member for static members.

Source: When to use self vs this -stackoverflow

@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active September 25, 2025 20:45
A badass list of frontend development resources I collected over time.
@q0rban
q0rban / drupal_simpletest_xdebug.php
Last active January 23, 2016 21:40
Get Xdebug working with Simpletest in Drupal
<?php
/**
* @file
* Extends DrupalWebTestCase to use Xdebug for drupalGet() and drupalPost().
*/
class DrupalXdebugWebTestCase extends DrupalWebTestCase {
/**
* Override the parent drupalPost to allow xdebug options.
@mcbhenwood
mcbhenwood / environment.py
Created November 8, 2012 15:50
Simple Behave environment file to start Selenium webdriver
"""
Hooking up Selenium to Behave.
For details, see:
http://pyuseful.wordpress.com/2012/11/08/running-cucumber-style-tests-in-django-using-behave/
"""
import logging
from selenium import webdriver
@ziadoz
ziadoz / awesome-php.md
Last active May 8, 2025 07:37
Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.
@gadhra
gadhra / interview-questions.php
Created April 22, 2011 18:56
Some answers to some interview questions I've had
<?php
/** This may be one of the most useless files in the world, but it essentially encapsulates
* the answers to as many interview questions as I can remember over the years. Written in PHP
* because ... just because.
**/
/**
* Write me a program that can determine if something is a palindrome
* ex. A man, a plan, a canal - Panama! should count