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
<form id="quiz"> | |
<section class="quiz-question"> | |
<h3>How much of Earth's water is fresh?</h3> | |
<ul class="answers"> | |
<li>23%</li> | |
<li>3%</li> | |
<li>42%</li> | |
</ul> |
import { Target } from '@serenity-js/protractor'; | |
import { by } from 'protractor'; | |
class Quiz { | |
static questions = () => | |
Target.all('questions').located(by.css('.quiz-question')) | |
} | |
class QuizQuestion { | |
static title = () => |