Follow these steps to install graphite on OS X Mavericks.
- Homebrew
- Python 2.7
- Git
// Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc | |
// jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/ | |
// author: Pawel Kozlowski | |
var myApp = angular.module('myApp', []); | |
//service style, probably the simplest one | |
myApp.service('helloWorldFromService', function() { | |
this.sayHello = function() { | |
return "Hello, World!" |
// Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc | |
// jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/ | |
// author: Pawel Kozlowski | |
var myApp = angular.module('myApp', []); | |
//service style, probably the simplest one | |
myApp.service('helloWorldFromService', function() { | |
this.sayHello = function() { | |
return "Hello, World!" |
echo "Cappuccino" |
In one of my pet projects, I redirect all requests to index.php, which then decides what to do with it:
This snippet in your .htaccess will ensure that all requests for files and folders that does not exists will be redirected to index.php:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
@echo off | |
REM Completely delete file / directory | |
echo Are you sure that you want to delete %1? | |
echo y/n | |
choice /c:yn > nul | |
if errorlevel 2 goto no | |
if errorlevel 1 goto start |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare git@github.com:usi-systems/easytrace.git
import { Task } from '@serenity-js/core'; | |
import { Click } from '@serenity-js/protractor'; | |
const AnswerQuizQuestion = (title: string, answer: string) => | |
Task.where(`#actor answers ${ answer } to ${ title }`, | |
Click.on( | |
QuizQuestion.answers() | |
.of(Quiz.question(title)) | |
.where(Text, equals(answer)) | |
.first() |
import { actorCalled } from '@serenity-js/core'; | |
import { BrowseTheWeb } from '@serenity-js/core'; | |
import { protractor } from 'protractor'; | |
actorCalled('Alice') | |
.whoCan(BrowseTheWeb.using(protractor.browser)) | |
.attemptsTo( | |
AnswerQuizQuestion("How much of Earth's water is fresh?", "3%") | |
) |