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
| # From this link: http://dweldon.silvrback.com/browser-policy | |
| # Increase the proxy buffers for meteor browser-policy. | |
| proxy_buffer_size 128k; | |
| proxy_buffers 4 256k; | |
| proxy_busy_buffers_size 256k; | |
| # These changes should go in the http secion of your configuration file - typically located in /etc/nginx/nginx.conf. |
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
| server { | |
| location / { | |
| root /var/www/foo/programs/web.browser/app; | |
| try_files $uri $uri/ @meteor; | |
| expires max; | |
| access_log off; | |
| } | |
| location @meteor { |
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 | |
| sed -i.default "s/^zend_extension=/;zend_extension=/" /usr/local/etc/php/7.0/conf.d/ext-xdebug.ini | |
| launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.php70.plist | |
| launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php70.plist | |
| echo "xdebug disabled" |
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 | |
| sed -i.default "s/^zend_extension=/;zend_extension=/" /usr/local/etc/php/7.1/conf.d/ext-xdebug.ini | |
| launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.php71.plist | |
| launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php71.plist | |
| echo "xdebug disabled" |
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 | |
| /** | |
| * This script finds the modified deltas between a previous file (foo_1.csv) and a current file (foo_2.csv), | |
| * and writes the diffs to a new file (foo_3.csv). | |
| */ | |
| $fileName1 = 'foo_1.csv'; | |
| $fileName2 = 'foo_2.csv'; | |
| $fileName3 = 'foo_3.csv'; |
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
| find ./ -type f -exec perl -pi -e 's/\r\n|\n|\r/\n/g' {} \; |
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 | |
| [ -z "$1" ] && echo "Please specify a folder to copy (ex. vendor)" && exit | |
| docker cp $(docker-compose ps|grep phpfpm|awk '{print $1}'):/var/www/html/$1 src/ |
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
| # from tagged packagist version | |
| composer create-project magento/community-edition:dev-2.3-develop | |
| # from tagged magento repo | |
| composer create-project --repository=https://repo.magento.com/ magento/project-community-edition=2.3.0-beta8 |
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
| docker inspect 6dd679df725e | grep '"Driver"' | head -n 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
| ### Keybase proof | |
| I hereby claim: | |
| * I am markshust on github. | |
| * I am markshust (https://keybase.io/markshust) on keybase. | |
| * I have a public key ASD7FpJiGSQTU2-NbkH3w3MmOlnexKEqlWLKcmhSTw_tDwo | |
| To claim this, I am signing this object: |