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
# Delete empty lines | |
^\s*$ | |
# Match tag and text spanning across multiple lines | |
<div[\r\s\S]+?</div> |
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
EaseOutSine: bezier(0,39; 0,575; 0,565; 1) | |
EaseInOutSine: bezier(0,445; 0,05; 0,55; 0,95) | |
EaseInQuad: bezier(0,55; 0,085; 0,68; 0,53) | |
EaseOutQuad: bezier(0,25; 0,46; 0,45; 0,94) | |
EaseInOutQuad: bezier(0,455; 0,03; 0,515; 0,955) | |
EaseInCubic: bezier(0,55; 0,055; 0,675; 0,19) | |
EaseOutCubic: bezier(0,215; 0,61; 0,355; 1) | |
EaseInOutCubic: bezier(0,645; 0,045; 0,355; 1) | |
EaseInQuart: bezier(0,895; 0,03; 0,685; 0,22) | |
EaseOutQuart: bezier(0,165; 0,84; 0,44; 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
{f:uri.resource(path:'Assets/some/thing')} |
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
// Add to setup.txt | |
plugin.tx_powermail { | |
view { | |
templateRootPaths.1 = EXT:myextension/Resources/Powermail/Templates/ | |
partialRootPaths.1 = EXT:myextension/Resources/Powermail/Partials/ | |
layoutRootPaths.1 = EXT:myextension/Resources/Powermail/Layouts/ | |
} | |
} | |
page { |
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
# Install Composer to Jelastic etc. | |
If the environment is new, you'll need composer. | |
1. `cd /var/www/webroot` | |
2. `curl -sS https://getcomposer.org/installer | php` | |
3. `mkdir ~/bin` | |
4. `mv ./composer.phar ~/bin/composer` | |
After installing, you can add composer to your PATH. |
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
# Curl | |
**Test origin to a target**: | |
`curl -i -H "Origin: http://origindomain.com" targetdomain.com` | |
# SSH | |
**Show all added keys**: | |
`ssh-add -l` |
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
# Commands | |
**Show hidden files**: | |
`defaults write com.apple.Finder AppleShowAllFiles YES` | |
**Disable photos from auto-opening** (worked in El Capitan, http://bit.ly/2c6rVrX): | |
`defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES` | |
**Open Hosts**: | |
`sudo open -t /etc/hosts/` |
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
**Update latest settings and install apache w/ MySQL**: | |
``` | |
apt-get update | |
apt-get install apache2 | |
apt-get install php5-mysql | |
apt-get install php5 | |
apt-get install php5-gd # (if gd needed) | |
apt-get install mysql-server | |
``` |
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
**Ubuntu version**: | |
`lsb_release -a` | |
**Amount of ram**: | |
`lshw -C memory` | |
**Switch to superuser**: | |
`sudo su` | |
**Show linux headers**: |
NewerOlder