Skip to content

Instantly share code, notes, and snippets.

@PeeHaa
PeeHaa / package.json
Created March 26, 2012 10:54
Example of a package.json file for jquery plugins
{
"name": "jquery.griphandler",
"version": "0.10.0",
"title": "jQuery.gripHandler()",
"author": {
"name": "Pieter Hordijk",
"url": "https://github.com/PeeHaa"
},
"licenses": [
{
@PeeHaa
PeeHaa / SQL and PHP tutorial.md
Created April 11, 2012 20:48
SQL and PHP tutorial

-- WORK IN PROGRESS --

SQL and PHP tutorial

Introduction

Why this tutorial?

@PeeHaa
PeeHaa / frameworks-sigh.md
Created May 7, 2012 22:27
Frameworks are bad m'kay

This document will be a reminder why most (/ almost all) frameworks out there just suck monkey balls.

Let's just make a nice list of all the really bad stuff that is happening in the popular frameworks.
And maybe publish it just to give people the shivers.

CodeIgniter

[Are we evaling now][2]?

@PeeHaa
PeeHaa / protocol.md
Created May 14, 2012 22:15
DarkerNetFilesharing Protocol

DarkerNetFilesharing Protocol

Intro

This document describes how the DarkerNetFilesharing protocol should be implemented.

This document is a draft and anything (including implementation details) are subject to change.

@PeeHaa
PeeHaa / reference-so-questions.md
Created June 28, 2012 08:26
Canonical questions for the dupes helper (cv-pls plugin)
@PeeHaa
PeeHaa / php.net.fixs.md
Created July 5, 2012 19:04
php docs (needs fixing)
@PeeHaa
PeeHaa / blog.md
Created July 9, 2012 12:53
Blogging software

Blogging system

I hate myself for reinventing the wheel, but I like building stuff myself ;-)

Comments

It should be possible to save and retrieve comments using different storage mechanisms:

@PeeHaa
PeeHaa / politics.md
Created July 12, 2012 10:24
Politics that matter
  • data retention
  • net neutrality
  • SOPA stance
  • PTT stance
  • patent reform
  • privacy
  • censorship
  • "white hats" / whitsleblowers
  • data leaks
  • copyright reform
@PeeHaa
PeeHaa / mysql.md
Created July 27, 2012 08:57
Ancient mysql_* default message
[**Please, don't use `mysql_*` functions in new code**](http://bit.ly/phpmsql). They are no longer maintained [and are officially deprecated](https://wiki.php.net/rfc/mysql_deprecation). See the [**red box**](http://j.mp/Te9zIL)? Learn about [*prepared statements*](http://j.mp/T9hLWi) instead, and use [PDO](http://php.net/pdo) or [MySQLi](http://php.net/mysqli) - [this article](http://j.mp/QEx8IB) will help you decide which. If you choose PDO, [here is a good tutorial](http://j.mp/PoWehJ).

Please, don't use mysql_* functions in new code. They are no longer maintained and are officially deprecated. See the red box? Learn about prepared statements instead, and use PDO or MySQLi - this article will help you decide which. If you choose PDO, here is a good tutorial.

@PeeHaa
PeeHaa / technical-references-for-questions.md
Created July 27, 2012 09:06
Technical references for questions