Skip to content

Instantly share code, notes, and snippets.

View Teino1978-Corp's full-sized avatar

Teino Boswell Teino1978-Corp

  • Ocho Rios, Jamaica
View GitHub Profile

CSS

Use dash-cased class names

  • It's consistent with CSS property naming convention
.some-class-name {}
@Teino1978-Corp
Teino1978-Corp / README.md
Created November 5, 2015 20:09 — forked from atsuya046/README.md
test_webpack

Install webpack

npm install webpack -g

Build

webpack ./main.js bundle.js
// Bits and pieces *cough* stolen *cough* from
// Micheil Smith's node-websocket-server
// <http://github.com/miksago/node-websocket-server>
// Therefore, I don't really think that I should claim any copyright for
// this piece of "minified" code.
var http = require('http');
var crypto = require('crypto');
@Teino1978-Corp
Teino1978-Corp / Contract Killer 3.md
Created November 5, 2015 18:42
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: October 8th 2015
  • Original post

@Teino1978-Corp
Teino1978-Corp / owncloud_.htaccess
Created November 4, 2015 07:40 — forked from kevin4044/owncloud_.htaccess
owncloud extended version, developing
ErrorDocument 404 /owncloud/core/templates/404.php
<IfModule mod_php5.c>
php_value upload_max_filesize 512M
php_value post_max_size 512M
php_value memory_limit 128M
SetEnv htaccessWorking true
</IfModule>
Options -Indexes
<?php
// /app/Plugin/Usermgmt/Controller/ServicesController.php
/*
This file is part of UserMgmt.
Author: Chetan Varshney (http://ektasoftwares.com)
UserMgmt is free software: you can redistribute it and/or modify
@Teino1978-Corp
Teino1978-Corp / pear_import.php
Created November 4, 2015 05:25 — forked from nojimage/pear_import.php
PEAR Class Loader for CakePHP
<?php
/**
* PEAR Class Loader for CakePHP
*
* ex. pear_import('Net_DNS');
*
* @param $className
* @return boolean
*/
function pear_import($className) {
@Teino1978-Corp
Teino1978-Corp / Apache MIME for httpd.conf or .htaccess
Created November 4, 2015 03:11
Apache MIME for httpd.conf or .htaccess
# Set encoding for file extensions
<IfModule mod_mime.c>
# Plain text files
AddType text/plain .txt .text .def .list .log .in
# Source files
AddType text/x-asm .s .asm
AddType text/x-c .c .cc .cxx .cpp .h .hh .dic
AddType text/x-fortran .f .for .f77 .f90
AddType text/x-pascal .p .pas
AddType text/x-java-source .java
@Teino1978-Corp
Teino1978-Corp / chatroom_.erlang.mk_deps.log
Created November 4, 2015 00:13
chatroom written in erlang/cowboy
/Users/xiaofwa/IdeaProjects/chatroom/deps/cowboy
/Users/xiaofwa/IdeaProjects/chatroom/deps/cowlib
/Users/xiaofwa/IdeaProjects/chatroom/deps/ranch

Changlog

2.2.3

  • Fixed regression in v2.2.2 for installing from binaries on windows.

2.2.2

  • Fixed packaging problem whereby a config.gypi was unintentially packaged and could cause breakages for OS X builds.