- Go To
System Preferences > Trackpad
. - Enable all options across all tabs.
- Back & go to
System Preferences > Accessibility > Mouse & Trackpad > Trackpad Options
. - Enable dragging with
three finger drag
.
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 | |
# Creator: Phil Cook | |
# Modified: Andy Miller | |
brew_prefix=$(brew --prefix | sed 's#/#\\\/#g') | |
brew_array=("5.5","5.6","7.0","7.1","7.2", "7.3") | |
php_array=("[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]") | |
valet_support_php_version_array=("[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]") | |
php_installed_array=() | |
php_version="php@$1" |
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
#/usr/local/etc/php/7.2/conf.d/ext-opcache.ini | |
# Add the following lines and run `valet restart` | |
``` | |
[opcache] | |
zend_extension="/usr/local/opt/php/lib/php/20170718/opcache.so" | |
opcache.enable = 1 | |
``` |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
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 | |
Route::register('/import', function () { | |
/*=============== Just for checking ============*/ | |
// Get block type | |
$bt = BlockType::getByHandle(BLOCK_HANDLE_SCRAPBOOK_PROXY); | |
echo 'Active proxy blocks: ' . $bt->getCount(true) . '<br>'; | |
$list = new PageList(); | |
$list->filterByBlockType($bt); | |
Log::info('getQuery'); |
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 | |
/* config/site_post.php */ | |
$req = Request::get(); | |
if ($req->getRequestPath() == 'export_scrapbook_proxies') { | |
$root = new SimpleXMLElement("<concrete5-cif></concrete5-cif>"); | |
$root->addAttribute('version', '1.0'); | |
$pages = $root->addChild("pages"); | |
// Get all active scrapbook proxy blocks |
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 | |
# Based on instructions found here: http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat#FFMpegInstallationonCentOSandRedHat-InstallX264 | |
if [ "`/usr/bin/whoami`" != "root" ]; then | |
echo "You need to execute this script as root." | |
exit 1 | |
fi | |
cat > /etc/yum.repos.d/centos.repo<<EOF |
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
# Install phpbrew | |
sudo apt-get update | |
sudo apt-get install libmcrypt-dev | |
curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew | |
chmod +x phpbrew | |
sudo mv phpbrew /usr/local/bin/ | |
phpbrew init | |
[[ -e ~/.phpbrew/bashrc ]] && source ~/.phpbrew/bashrc |
NewerOlder