Skip to content

Instantly share code, notes, and snippets.

<?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;
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;
(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)
(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)
"'"
// 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
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.
\documentclass[11pt]{article}
\usepackage{cite}
\begin{document}
\title{My Article}
\author{Nobody Jr.}
\date{Today}
\maketitle
@feupeu
feupeu / gist:85a317350f28bf7a0efc
Created May 1, 2014 07:16
Impl. introduction
Introduction
Syntax analysis
- Scanner / Parser
- CFG in Xtext (Compare to the CFG in the report)
Context analysis
- Typechecker
- Typeprovider
- Void type