Convert selection to uppercast and lowercase
apple + k u apple + k l
Cursor to all lines
apple + alt + l
Select next occurance of selection
/* Responsiveness */ | |
/* Large desktop */ | |
@media (min-width: 1200px) { | |
} | |
/* Portrait tablet to landscape and desktop */ | |
@media (min-width: 768px) and (max-width: 979px) { |
find . -type f -exec grep -qIP '\r\n' {} ';' -exec perl -pi -e 's/\r\n/\n/g' {} '+' |
Convert selection to uppercast and lowercase
apple + k u apple + k l
Cursor to all lines
apple + alt + l
Select next occurance of selection
## Customized for Laravel 4 | |
# setting worker_processes to CPU core count | |
worker_processes 1; | |
daemon off; | |
events { | |
worker_connections 1024; | |
} |
#!/bin/sh | |
# Based on gist.github.com/gboudreau/install-ffmpeg-amazon-linux.sh | |
# and https://trac.ffmpeg.org/wiki/CompilationGuide/Centos | |
# updated with mirror source post rpmforge https://github.com/repoforge/rpms/issues/375 | |
if [ "`/usr/bin/whoami`" != "root" ]; then | |
echo "You need to execute this script as root." | |
exit 1 | |
fi |
#!/bin/sh | |
# Based on http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Tutorials.WebServerDB.CreateWebServer.html | |
if [ "`/usr/bin/whoami`" != "root" ]; then | |
echo "You need to execute this script as root." | |
exit 1 | |
fi | |
yum update -y |
cd ~ | |
sudo curl -sS https://getcomposer.org/installer | sudo php | |
sudo mv composer.phar /usr/local/bin/composer | |
sudo ln -s /usr/local/bin/composer /usr/bin/composer | |
then you can run | |
$ sudo composer install |
To test the performance of the importer plugin I enabled Xdebug which is included in Vagrant's install of PHP. All you have to do to enable it is add the following lines to the php.ini file. Which is either etc/php/5.6/cli/php.ini
for command line or etc/php/5.6/fpm
for nginx. If enabling for nginx you need to restart nginx and php-fpm for it to take effect.
[xdebug]
xdebug.remote_autostart=1
xdebug.profiler_enable=1
xdebug.profiler_append=0
xdebug.profiler_output_dir ="/vagrant/web/app/plugins/agreable-catfish-importer-plugin/testing"
xdebug.profiler_output_name = "callgrind.out.%t-%s"
; For extra points you can also link xdebug with Atom, Sublime Text or NetBeans IDEs
<!-- | |
Ben's custom GA Code for Thinkific, please don't change! | |
Satisfies both of these criteria: | |
https://www.en.advertisercommunity.com/t5/Google-Analytics-Code/Help-with-multi-tenant-google-analytics-access/td-p/515546# | |
https://support.google.com/analytics/answer/1034342?hl=en | |
--> | |
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
[ | |
"about", | |
"ac", | |
"access", | |
"account", | |
"accounts", | |
"activate", | |
"ad", | |
"add", | |
"address", |