Skip to content

Instantly share code, notes, and snippets.

@motanelu
motanelu / .tern-project
Created January 27, 2017 09:07
My ternjs configuration - one tern to rule them all
{
"libs": [
],
"loadEagerly": [
"src/*.js",
"test/*.js",
"node_modules/*.js"
],
"plugins": {
"modules": {},
@motanelu
motanelu / house.py
Last active November 7, 2019 14:52
Finding a house with python
import scrapy
import peewee
import re
import urllib
import cStringIO
from PIL import Image
from playhouse.db_url import connect
db = connect('mysql://root:@127.0.0.1/house')
@motanelu
motanelu / multiple_inheritance_example.php
Created January 21, 2012 12:31
Multiple Inheritance in PHP
<?php
/**
* Abomination class implementing multiple inheritance via
* __call magic method
*/
abstract class MultipleInheritance
{
/**
* List of parent classes
*