-
Update
Vagrantfile
. Change:ji_config.vm.box = 'joindin/development'
to
ji_config.vm.box = 'puphpet/debian75-x64'
-
Update
puppet/modules/joindin/templates/dotdeb.sources.list
. Change:
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 | |
// All file paths relative to root | |
chdir(dirname(__DIR__)); | |
require "vendor/autoload.php"; | |
$settings = ['foo' => 'FOO', 'bar' => 'BAR']; | |
$app = new \Slim\App($settings); | |
// Set some things into the container |
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 | |
//cli command entrypoint | |
include 'conf.php'; | |
/** | |
* | |
use any cli library | |
*/ |
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
On 27 Mar 2015, at 23:20, Fred <[email protected]> wrote: | |
Hi Rob, | |
Can you help me update my PHP in my OS X Yosemite ? | |
On 30 Mar 2015, at 08:01, Rob Allen <rob@akra_bat.com> wrote: | |
Hi, |
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/sh | |
grep -C 2 -n -r $@ . | egrep -v ".git|.svn|swp|cache" | |
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
Sublime 3 packages that I use: | |
Must have (IMO): | |
Package Control (!) | |
SideBarEnhancements | |
Case Conversion | |
Change Quotes | |
SublimeLinter | |
SublimeLinter-php | |
SublimeLinter-phpcs |
I hereby claim:
- I am akrabat on github.
- I am akrabat (https://keybase.io/akrabat) on keybase.
- I have a public key whose fingerprint is 9289 3FAB 4437 CB7D B16D EDE8 A1F0 71AF 3F62 EEFF
To claim this, I am signing this object:
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
-(NSUInteger) wordCount: (NSString *) string { | |
__block NSUInteger wordCount = 0; | |
[string enumerateSubstringsInRange:NSMakeRange(0, string.length) | |
options:NSStringEnumerationByWords | |
usingBlock:^(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop) { | |
wordCount++; | |
}]; | |
return wordCount; | |
} |
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 | |
class | |
Test // This is my test [2011] | |
{ | |
public $foo; | |
protected $bar; | |
static public $baz; | |
public function a($b, $c) |
NewerOlder