This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function createZip($source, $destination) | |
{ | |
if (!extension_loaded('zip') || !file_exists($source)) { | |
return false; | |
} | |
$zip = new ZipArchive(); | |
if (!$zip->open($destination, ZIPARCHIVE::CREATE)) { | |
return false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function namespace (ns) { | |
var parts = ns.split('.'), | |
root = window || this; | |
return (function walk (obj) { | |
if (!root[obj]) { root[obj] = {}; } | |
root = root[obj]; | |
if (parts.length) { walk(parts.shift()); } | |
return root; | |
}(parts.shift())); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated on <%= (new Date).toISOString().split('T')[0] %> using <%= pkg.name %> <%= pkg.version %> | |
'use strict'; | |
var moment = require('moment'); | |
var LIVERELOAD_PORT = 35729; | |
var lrSnippet = require('connect-livereload')({port: LIVERELOAD_PORT}); | |
var mountFolder = function (connect, dir) { | |
return connect.static(require('path').resolve(dir)); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DO WHAT THE **** YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Eli Perelman http://eliperelman.com | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE **** YOU WANT TO PUBLIC LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 info it worked if it ends with ok | |
1 verbose cli [ 'node', '/usr/local/bin/npm', 'i' ] | |
2 info using npm@2.7.4 | |
3 info using node@v0.12.2 | |
4 verbose install where, deps [ '/Users/tobiasoberrauch/www/tobiasoberrauch/Ender', | |
4 verbose install [ 'archy', | |
4 verbose install 'async', | |
4 verbose install 'errno', | |
4 verbose install 'glob', | |
4 verbose install 'mkdirp', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var response = '', // FTP LIST response as a string | |
lines = response.trim().split("\r\n"), | |
parsed = [], | |
regexp = new RegExp( | |
'^([\\-dbclps])' + // Directory flag [1] | |
'([\\-rwxs]{9})\\s+' + // Permissions [2] | |
'(\\d+)\\s+' + // Number of items [3] | |
'(\\w+)\\s+' + // File owner [4] | |
'(\\w+)\\s+' + // File group [5] | |
'(\\d+)\\s+' + // File size in bytes [6] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var response = '', // FTP LIST response as a string | |
lines = response.trim().split("\r\n"), | |
parsed = [], | |
regexp = new RegExp( | |
'^([\\-dbclps])' + // Directory flag [1] | |
'([\\-rwxs]{9})\\s+' + // Permissions [2] | |
'(\\d+)\\s+' + // Number of items [3] | |
'(\\w+)\\s+' + // File owner [4] | |
'(\\w+)\\s+' + // File group [5] | |
'(\\d+)\\s+' + // File size in bytes [6] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var robots = new Array(); | |
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.start = function( ev ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem 1 | |
- Conclusion: don't install symfony/symfony v2.1.9 | |
- Conclusion: don't install symfony/symfony v2.1.8 | |
- Conclusion: remove symfony/symfony v2.1.7 | |
- Conclusion: don't install symfony/symfony v2.1.7 | |
- Conclusion: don't install symfony/symfony v2.1.6 | |
- Conclusion: don't install symfony/symfony v2.1.5 | |
- Conclusion: don't install symfony/symfony v2.1.4 | |
- Conclusion: don't install symfony/symfony v2.1.3 | |
- Conclusion: don't install symfony/symfony v2.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "symfony/framework-standard-edition", | |
"description": "The \"Symfony Standard Edition\" distribution", | |
"autoload": { | |
"psr-0": { | |
"": "src/" | |
} | |
}, | |
"require": { | |
"php": ">=5.3.3", |
OlderNewer