most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat| #!/usr/bin/env python | |
| import os | |
| import random | |
| import time | |
| import platform | |
| snowflakes = {} | |
| try: | |
| # Windows Support |
| <?php | |
| class AbstractManagerBase extends \PHPUnit_Framework_TestCase | |
| { | |
| protected function getEmMock() | |
| { | |
| $emMock = $this->getMock('\Doctrine\ORM\EntityManager', | |
| array('getRepository', 'getClassMetadata', 'persist', 'flush'), array(), '', false); | |
| $emMock->expects($this->any()) | |
| ->method('getRepository') |
| <?php | |
| namespace Nelmio\HomeBundle\Tests\Controller; | |
| use Nelmio\HomeBundle\Controller\ContactController; | |
| use Liip\FunctionalTestBundle\Test\WebTestCase; | |
| class ContactControllerTest extends WebTestCase | |
| { | |
| public function testEmail() |
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.