Moved to our SATIS server: https://packages.pyrocms.com
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 namespace Crawford\CrawfordTheme\Console; | |
use Anomaly\BlocksModule\Block\Contract\BlockRepositoryInterface; | |
use Anomaly\PostsModule\Category\Contract\CategoryRepositoryInterface; | |
use Anomaly\PostsModule\Post\Contract\PostRepositoryInterface; | |
use Anomaly\PostsModule\Type\Contract\TypeRepositoryInterface; | |
use Anomaly\Streams\Platform\Model\Posts\PostsDefaultPostsEntryModel; | |
use Anomaly\WysiwygBlockExtension\Block\BlockModel; | |
use Carbon\Carbon; | |
use Goutte\Client; |
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
.test{color:#fff} |
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
"post-update-cmd": [ | |
"chown www-data:www-data . -R", | |
"find storage -type d -exec chmod 755 {} \\;", | |
"find storage -type f -exec chmod 644 {} \\;", | |
"chmod gu+w -R storage bootstrap/cache public/app" | |
] |
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
System.log - it's happened twice within this log: | |
Dec 18 16:09:17 Ryans-MacBook-Pro bootlog[0]: BOOT_TIME 1513634957 0 | |
Dec 18 16:09:19 Ryans-MacBook-Pro syslogd[45]: Configuration Notice: | |
ASL Module "com.apple.cdscheduler" claims selected messages. | |
Those messages may not appear in standard system log files or in the ASL database. | |
Dec 18 16:09:19 Ryans-MacBook-Pro syslogd[45]: Configuration Notice: | |
ASL Module "com.apple.install" claims selected messages. | |
Those messages may not appear in standard system log files or in the ASL database. | |
Dec 18 16:09:19 Ryans-MacBook-Pro syslogd[45]: Configuration Notice: |
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
$composerProcess = new Process('THE COMMAND'); | |
$composerProcess->run(function ($type, $buffer) { | |
// $type is sketchy so use preg_match on the string to color / handle errors. | |
echo $buffer; | |
}); |
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
# Get new MAC address. | |
openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/./0/2; s/.$//' | |
# Assign new MAC address. | |
sudo ifconfig en0 ether {$MAC} |
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 | |
class ProductsModuleServiceProvider extends AddonServiceProvider | |
{ | |
} |
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 | |
class StoreModule extends Module | |
{ | |
protected $sections = [ | |
'products' => [ | |
'buttons' => [ | |
'new_product' | |
] |
NewerOlder