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
--> OS X | |
brew node | |
==> Caveats | |
Please add /usr/local/lib/node to your NODE_PATH environment variable to have node libraries picked | |
curl http://npmjs.org/install.sh | sh | |
npm install -g coffee-script | |
then run | |
coffee |
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
https://github.com/harrah/xsbt/wiki/Getting-Started-Setup |
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
install | |
http://scala.playframework.org/documentation/scala-0.9.1/install |
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
#!/usr/bin/env groovy | |
//Grape: http://groovy.codehaus.org/Grape | |
//Don't forget to chmod +x (this file) | |
import com.google.common.collect.HashBiMap | |
@Grab(group='com.google.code.google-collections', module='google-collect', version='snapshot-20080530') | |
def getFruit() { [grape:'purple', lemon:'yellow', orange:'orange'] as HashBiMap } |
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
interface StudentDAO { | |
public Iterable<Student> getStudentsByClass(String cls); | |
} | |
class StudentDAOTest { | |
//mock: Database (or use in-memory database) | |
//test that SQL works and queries the right thing | |
@Test public void testGetStudentByClassReturnsAllStudentsInClass() {} | |
@Test public void testGetStudentByClassThrowsExceptionWhenClassIsNull() {} |
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
here is a similar question on how to install JRE 7. | |
Install the JDK | |
Download he 32bit or 64bit Linux "compressed binary file" - it has a ".tar.gz" file extension i.e. "[java-version]-i586.tar.gz" for 32bit and "[java-version]-x64.tar.gz" for 64bit | |
Uncompress it | |
tar -xvf jdk-7u2-linux-i586.tar.gz (32bit) | |
tar -xvf jdk-7u2-linux-x64.tar.gz (64bit) |
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
$sudo update-rc.d -f gdm remove | |
$sudo update-rc.d gdm defaults |
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
This is a how-to to on installing and setting up lighttpd and PHP on Maverick. Lighttpd or "lighty" is a webserver with a very low use of resources. | |
Install the packages we need: (this may not be all, but these two will automatically download the rest as dependencies) | |
sudo apt-get install lighttpd php5-cgi | |
Enable the fastcgi module and the php configuration with | |
sudo lighty-enable-mod fastcgi | |
sudo lighty-enable-mod fastcgi-php | |
Reload the lighttpd daemon |
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
http://www.thegeekstuff.com/2011/07/rsync-over-ssh-without-password/ | |
brew install ssh-copy-id | |
ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.200.10 |
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
http://cm-anthill.cobaltgroup.com:8080/rest/workflow/1393/buildlives | |
OlderNewer