Skip to content

Instantly share code, notes, and snippets.

@motanelu
motanelu / .tern-project
Created Jan 27, 2017
My ternjs configuration - one tern to rule them all
View .tern-project
{
"libs": [
],
"loadEagerly": [
"src/*.js",
"test/*.js",
"node_modules/*.js"
],
"plugins": {
"modules": {},
@motanelu
motanelu / house.py
Last active Nov 7, 2019
Finding a house with python
View house.py
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')
View multiple_inheritance_example.php
<?php
/**
* Abomination class implementing multiple inheritance via
* __call magic method
*/
abstract class MultipleInheritance
{
/**
* List of parent classes
*
You can’t perform that action at this time.