This file contains hidden or 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
export DEFAULT_PATH=$PATH | |
export CORE=~/work/core | |
uncake() { | |
unset CAKE | |
export PATH=$DEFAULT_PATH | |
} | |
setcake() { | |
export PATH=$DEFAULT_PATH:$CAKE/cake/console |
This file contains hidden or 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 | |
$pp = CakePlugin::path('Minify') . 'Vendor' .DS. 'Compressor' .DS; | |
App::build(array( | |
'Vendor' => array($pp), | |
)); | |
App::uses('JSMin', 'Vendor'); | |
App::import('Vendor', 'Minify.Compressor_Minify_CSS_Compressor', array( | |
'file' => 'Compressor/Minify/CSS/Compressor.php', | |
)); |
This file contains hidden or 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
#!/bin/bash | |
# which cake version that will be bundled in the zip file | |
CAKE_13_STABLE=1.3.15 | |
CAKE_21_STABLE=2.1.4 | |
CAKE_23_LATEST=2.3.0-RC1 | |
# location of working repositories | |
CAKE_REPO=~/work/core/cake_2.0/ | |
CROOGO_REPO=~/work/personal/deploy/croogo/ |
This file contains hidden or 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
/* | |
* Thickbox 3.1 - One Box To Rule Them All. | |
* By Cody Lindley (http://www.codylindley.com) | |
* Copyright (c) 2007 cody lindley | |
* Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php | |
*/ | |
var tb_pathToImage = "/img/ajax/loadingAnimation.gif"; | |
/*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/ |
This file contains hidden or 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
#!/bin/bash | |
if [ "$1" = "-h" ] ; then | |
echo $0 "mysqluser mysqlpass dbname version quickmode" | |
echo | |
echo "version : [1.4|1.5]" | |
echo "quickmode : [y|n]" | |
echo | |
exit 0 | |
fi |
This file contains hidden or 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
AD7six <[email protected]> <[email protected]> | |
Ceeram <[email protected]> <[email protected]> | |
Damien Biasotto <[email protected]> <[email protected]> | |
Derbois Aymeric <[email protected]> DERBOIS Aymeric <[email protected]> | |
Derbois Aymeric <[email protected]> DERBOIS Aymeric <[email protected]> | |
Eko Tristiyono <[email protected]> eko <[email protected]> | |
Elias Coronado <[email protected]> | |
Fahad Ibnay Heylaal <[email protected]> <[email protected]> | |
Grégory Salvan <[email protected]> gregory | |
<[email protected]> <[email protected]> |
This file contains hidden or 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
git clone git://github.com/croogo/app myapp | |
cd myapp | |
git submodule add -f --name Croogo -b 1.6 git://github.com/croogo/croogo Vendor/croogo/croogo | |
git submodule add -f --name CakePHP git://github.com/cakephp/cakephp Vendor/cakephp/cakephp | |
git submodule add -f --name Search git://github.com/CakeDC/search Plugin/Search | |
git submodule add -f --name Migrations git://github.com/CakeDC/migrations Plugin/Migrations | |
set your vhost DocumentRoot to myapp/webroot and the install process should work | |
so, basically myapp is your own repo, which you can later customize and push to your own project repo |
This file contains hidden or 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
[alias] | |
pr = "!f() { git fetch -fu origin refs/pull/$1/head:pr/$1; } ; f" | |
prr = "!f() { git fetch -fu $1 refs/pull/$2/head:pr/$2; } ; f" | |
pru = "!f() { git fetch -fu upstream refs/pull/$1/head:pr/$1; } ; f" | |
pr-clean = "!git for-each-ref refs/heads/pr/* --format='%(refname)' | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done" |
This file contains hidden or 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 | |
if (!isset($latestNews)): | |
$result = ClassRegistry::init('Nodes.Node')->find('promoted'); | |
$latestNews = $result[0]; | |
endif; | |
if (!isset($latestPlace)): | |
$result = ClassRegistry::init('MyPlugin.Place')->find('latestPlace'); | |
$latestPlace = $result[0]; |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> | |
<script src="https://raw.githubusercontent.com/rchavik/zepto-dnd/5ab58c839be3c6a65b69354847726576ec40e2c6/zepto-dnd.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
h3, h4 { | |
margin: 5px; |
OlderNewer