Skip to content

Instantly share code, notes, and snippets.

View wilmoore's full-sized avatar
🦄
Proverbs 3:21

Wil (₩) Moore III wilmoore

🦄
Proverbs 3:21
View GitHub Profile

Why I Don't Write Web Apps (if I can help it)

This is what happens when I try to pick a language.

Note: If I didn't think it was possible to create a development environment without any of these issues (which I consider "major" for the most part), I would not have written this list.

C/C++

  • NOTHNX.

Node.js

F#C#ScalaClojurePythonRubyHaskellSQLOCamlCommon LispErlangSmalltalkSchemeEcmascript 5Perl 5
mapSelectmapmapmapcollectmapSelectmapmapcarmapcollect:mapmapmap
filterWherefilterfilterfilterselectfilterWherefilterremove-if-notfilterselect:filterfiltergrep
foldAggregatefoldLeftreducereduceinjectfoldl
@wilmoore
wilmoore / transfer.rb
Created December 7, 2014 07:33
transfer.rb
require 'formula'
class Transfer < Formula
homepage 'http://transfer.sh'
url "https://github.com/wilmoore/transfer/archive/v1.0.0.tar.gz"
sha1 "c1502fe1f352fb372a95a0756d4d0516df5ee2a5"
def install
bin.install "bin/transfer"
end
@wilmoore
wilmoore / install.md
Last active August 29, 2015 14:22
Configure and install rust.

Configuration

in your .zshrc or .bashrc
source rust.sh

Install

@wilmoore
wilmoore / 1-services.yml
Created June 5, 2010 14:40 — forked from loicfrering/1-services.yml
Practical exemple of what can be done with a DI Container in ZF.
parameters:
auth.adapter.entityName: Application_Model_User
auth.adapter.identityField: email
auth.adapter.credentialField: password
services:
auth.adapter:
class: LoSo_Zend_Auth_Adapter_Doctrine2
arguments: [@em, %auth.adapter.entityName%, %auth.adapter.identityField%, %auth.adapter.credentialField%]
auth:
@wilmoore
wilmoore / gist:482700
Created July 20, 2010 08:42 — forked from effkay/gist:203997
UTF-8 Development Notes
Just for everyone's information, if you want to run purely utf8, don't forget the following:
httpd.conf:
AddCharset UTF-8 .utf8
AddDefaultCharset UTF-8
php.ini
default_charset = "utf-8"
my.cnf
<?php
error_reporting(E_STRICT | E_ALL);
class ImmutableValueObject extends \ArrayObject
{
public function __construct(array $data = array(), $flags = \ArrayObject::ARRAY_AS_PROPS)
{
parent::__construct($data, $flags);
}
// HOWTO: load LABjs itself dynamically!
// inline this code in your page to load LABjs itself dynamically, if you're so inclined.
(function (global, oDOC, handler) {
var head = oDOC.head || oDOC.getElementsByTagName("head");
function LABjsLoaded() {
// do cool stuff with $LAB here
}
require_once 'Zend/Application/Resource/ResourceAbstract.php';
/**
* TODO: short description.
*
* TODO: long description.
*
*/
class My_Resource_Database extends Zend_Application_Resource_ResourceAbstract
{
// Requires node v0.1.100 or a browser with console
function newShape(x, y) {
return {
toString: function () {
return 'Shape at ' + x + ', ' + y;
}
};
}