Skip to content

Instantly share code, notes, and snippets.

View ravage84's full-sized avatar

Marc Würth ravage84

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ravage84 on github.
  • I am ravage (https://keybase.io/ravage) on keybase.
  • I have a public key ASBzJaTx3a8AlXiIsVbTNvETUpc2MoN0SrbT4NKMw3AJxwo

To claim this, I am signing this object:

@ravage84
ravage84 / CakePHPDevelopers.md
Last active October 16, 2018 11:17
CakePHP Jobs & CakePHP Developers
@ravage84
ravage84 / gist:ca37b301c58d1406e137
Created February 11, 2016 15:41
LinkChecker Report book.cakephp.org/3.0/ 2016-02-11
LinkChecker 8.6 Copyright (C) 2000-2013 Bastian Kleineidam
LinkChecker comes with ABSOLUTELY NO WARRANTY!
This is free software, and you are welcome to redistribute it
under certain conditions. Look at the file `LICENSE' within this
distribution.
Get the newest version at http://wummel.github.io/linkchecker/
Write comments and bugs to https://github.com/wummel/linkchecker/issues
Support this project at http://wummel.github.io/linkchecker/donations.html
Start checking at 2016-02-11 16:29:33+002
@ravage84
ravage84 / gist:eba2ec60090dedea1904
Created February 11, 2016 15:37
LinkChecker Report book.cakephp.org/2.0/ 2016-02-11
LinkChecker 8.6 Copyright (C) 2000-2013 Bastian Kleineidam
LinkChecker comes with ABSOLUTELY NO WARRANTY!
This is free software, and you are welcome to redistribute it
under certain conditions. Look at the file `LICENSE' within this
distribution.
Get the newest version at http://wummel.github.io/linkchecker/
Write comments and bugs to https://github.com/wummel/linkchecker/issues
Support this project at http://wummel.github.io/linkchecker/donations.html
Start checking at 2016-02-11 16:13:49+002
<?php
App::uses('AppHelper', 'View/Helper');
class StringyHelper extends AppHelper {
/**
* Call any Stringy method with the given arguments
*
* @return mixed
*/
@ravage84
ravage84 / cakephp-3.0-outdated-api-links
Created November 11, 2014 14:34
2014-11-11 CakePHP 3.0 outdated API links
@ravage84
ravage84 / Controller>ModelRelationVizController.php
Last active December 28, 2015 18:48
Inspired by a question on the CakePHP Community page on Facebook (https://www.facebook.com/groups/cake.community/permalink/673205099378177/), I created a really quick and dirty solution using ReflectionClass, the dot language, which is used by GraphViz and the online tool http://www.webgraphviz.com/
<?php
App::uses('AppController', 'Controller');
class ModelRelationVizController extends AppController {
public $uses = array();
public function beforeFilter() {
if (Configure::read('debug') < 1) {
throw new MethodNotAllowedException(__('Debug setting does not allow access to this url.'));
@ravage84
ravage84 / gist:4702805
Created February 3, 2013 17:51
CakePHP AllTests on core fails with 1 error and two failures on Windows 7, PHP 5.4.7 and MySQL 5.5.27
Time: 06:04, Memory: 129.75Mb
There was 1 error:
1) FileEngineTest::testGroupClear
unlink(D:\dev\xampp\htdocs\cakephp_2.3_clean\app\tmp\cache\group_a\cake_test_gro
ups3): Permission denied
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Cache\Engine\FileEngine.php:368
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Cache\Cache.php:468