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
# /boot/config.txt | |
# For more options and information see | |
# http://rpf.io/configtxt | |
dtparam=audio=on | |
config_hdmi_boost=4 | |
disable_overscan=1 | |
hdmi_cvt 800 480 60 6 0 0 0 | |
hdmi_group=2 | |
hdmi_mode=87 |
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 | |
$azureConnectionInfo = getenv("MYSQLCONNSTR_localdb"); | |
$connectionInfoEntries = preg_split('/;/', $azureConnectionInfo); | |
$connectionKeys = []; | |
array_walk($connectionInfoEntries, function ($entry) use (&$connectionKeys) { | |
list($name, $value) = preg_split("/=/", $entry); | |
$connectionKeys[$name] = $value; | |
}); |
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
# For more options and information see | |
# http://rpf.io/configtxtreadme | |
# Some settings may impact device functionality. See link above for details | |
# uncomment if you get no picture on HDMI for a default "safe" mode | |
#hdmi_safe=1 | |
# uncomment this if your display has a black border of unused pixels visible | |
# and your display can output without overscan | |
disable_overscan=1 |
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
-- toggle template hints in Magento 2 | |
UPDATE core_config_data | |
SET `value` =NOT `value` | |
WHERE path in( | |
'dev/debug/template_hints_storefront', | |
'dev/debug/template_hints_admin', | |
'dev/debug/template_hints_blocks' | |
); |
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 Magento2ValetDriver extends ValetDriver | |
{ | |
/** | |
* Determine if the driver serves the request. | |
* | |
* @param string $sitePath | |
* @param string $siteName |
- Install Composer: https://getcomposer.org/download/
- Install Homebrew: http://brew.sh/
- Install PHP:
brew install php70 php70-xdebug php70-mcrypt
- Install/start MariaDB:
brew install mariadb && brew services start mariadb
I wanted to create a simple, jQuery-only, solution for a flexible 'Read/Show More' link solution. The minimum requirements in your markup are simply to wrap your hidden/extended content in a div with a data-readmore
attribute. You can customize the text using the data-open-text
and data-close-text
attributes.
A Pen by David Angel on CodePen.
NewerOlder