Skip to content

Instantly share code, notes, and snippets.

@smoebody
smoebody / 271.js
Last active August 29, 2015 14:27
"use strict";
var express = require('express')
, swaggerTools = require('swagger-tools')
;
var swaggerDoc = {
"swagger": "2.0",
"info": {
"title": "Redirect",
@smoebody
smoebody / gist:f7f4b77efe11d52fc9a9
Created August 21, 2014 14:02
Chicks On Speed - Rapping Words
What are words worth?
What are words worth? - words
Words in papers, words in books
Words on TV, words for crooks
Words of comfort, words of peace
Words to make the fighting cease
Words to tell you what to do
Words are working hard for you
Eat your words but don't go hungry
@smoebody
smoebody / gist:2521fe4f6efafd9d17cb
Last active August 29, 2015 14:04
force parent implementation
<?php
class p {
public function foo() {
self::_bar();
}
protected function _bar() {
echo "parent class\n";
}
!php
class parent {
public function foo() {
$this->_bar();
}
protected function _bar() {
echo "parent class";
}
}