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
<?php | |
namespace App\Http\Controllers\Auth; | |
use App\User; | |
use Validator; | |
use App\Http\Controllers\Controller; | |
use Illuminate\Foundation\Auth\ThrottlesLogins; | |
use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; |
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
package dk.cs.aau.sw705e15.model; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class Computer extends Component { | |
private CentralProcessingUnit centralProcessingUnit; | |
private RandomAccessMemory randomAccessMemory; | |
private Storage primaryStorage; |
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
(define (calendars-overlap? cal1 cal2) | |
(ormap | |
(lambda (app) | |
(calendars-overlap-step app (cal-part cal2 APPOINTMENTS)) | |
) | |
(cal-part cal1 APPOINTMENTS) | |
) | |
) | |
(define (calendars-overlap-step app apps) |
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
(define (tag id content styles) | |
(string-append | |
"<" id | |
; Check if we should add anything inside the style property | |
(if (null? styles) | |
"" | |
(string-append | |
" style='" | |
(apply string-append styles) | |
"'" |
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
// Check if the body is empty | |
if(doc.body() != null) { | |
// Find all text on the page | |
final String text = doc.body().text(); | |
// Split the text into tokens | |
final ArrayList<String> tokens = new ArrayList<>(); | |
final StringTokenizer tokenizer = new StringTokenizer(text); | |
// Add all valid tokens |
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
package dk.cs.aau.sw705e15.spoder.external; | |
/* | |
author: Fotis Lazarinis (actually I translated from C to Java) | |
date: June 1997 | |
address: Psilovraxou 12, Agrinio, 30100 | |
comments: Compile it, import the Porter class into you program and create an instance. | |
Then use the stripAffixes method of this method which takes a String as | |
input and returns the stem of this String again as a String. |
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
\documentclass[11pt]{article} | |
\usepackage{cite} | |
\begin{document} | |
\title{My Article} | |
\author{Nobody Jr.} | |
\date{Today} | |
\maketitle |
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
Introduction | |
Syntax analysis | |
- Scanner / Parser | |
- CFG in Xtext (Compare to the CFG in the report) | |
Context analysis | |
- Typechecker | |
- Typeprovider | |
- Void type |