As configured in my dotfiles.
start new:
tmux
start new with session name:
| # ------------------------------------------------------------------------------ | |
| # | |
| # Curtousy of the Magento Support Center | |
| # http://magentosupport.help/what-are-expires-headers-and-how-do-i-implement-them/ | |
| # | |
| # ------------------------------------------------------------------------------ | |
| # ------------------------------------------------------------------------------ | |
| # | Mod Caching via Apache | |
| <?php | |
| namespace Acme\AcmeDemoBundle\Entity; | |
| use JMS\Serializer\Annotation as Serializer; | |
| /** | |
| * Entity | |
| * | |
| * @Serializer\ExclusionPolicy("all") |
| /** | |
| * Moves a vertex at an angle for a specific distance, 0 degrees points up and 180 degrees points down | |
| * @param {array} point Location on a cartesian graph formatted as [x, y] | |
| * @param {number} angle Angle at which a point should move in radians | |
| * @param {number} distance How far should the point move at the given angle in pixels? | |
| * @returns {array} Newly moved point formatted as [x, y] | |
| */ | |
| function movePointAtAngle (point, angle, distance) { | |
| return [ | |
| point[0] + (Math.sin(angle) * distance), |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |