Changeset - 80da14e9d8db
[Not reviewed]
.gitignore
Show inline comments
 
new file 100644
 
output
 
cache
 
*.pyc
 
*~
README.txt
Show inline comments
 
new file 100644
 
Introduction
 
============
 

	
 
Pelican is a static site generator, written in Python.
 

	
 
This repository contains a Pelican project and theme you can use as a
 
foundation on which to build your own static HTML website.
 

	
 

	
 
Installing Pelican
 
==================
 

	
 
The easiest way to install Pelican is within a python virtual
 
environment.  You can create a virtual environment à la carte with
 
virtualenv, or manage several virtual environments under a single
 
directory with virtualenvwrapper::
 

	
 
    virtualenv pelican
 
    cd pelican
 
    . ./bin/activate
 

	
 
Once the virtual environment has been created and activated, use pip
 
to install Pelican and its dependencies::
 

	
 
    pip install pelican
 

	
 
If you plan on using Markdown as a markup format, you’ll need to install the Markdown library::
 

	
 
    pip install Markdown
 

	
 
Typographical enhancements can be enabled in your settings file, but
 
first the requisite Typogrify library must be installed::
 

	
 
    pip install typogrify
 

	
 

	
 
Installing Pelican project template
 
===================================
 

	
 
To kick start your website development we have created a Pelican theme
 
and project template with example content. While you can install the
 
template anywhere you like, for this example, clone the
 
cwi-pelican-template in the root of your Pelican virtual
 
environment. Don't forget to use your own username in the url::
 

	
 
    git clone https://<username>@scm.cwi.nl/ITF/cwi-pelican-template cwi
 

	
 

	
 
Installing the Pelican CWI theme
 
================================
 

	
 
The Pelican CWI project uses the corresponding CWI theme, but it must
 
be installed before Pelican can use it::
 

	
 
    pelican-theme --symlink ${PWD}/cwi/theme/cwi
 

	
 

	
 
Usage
 
=====
 

	
 
To generate html output, go to the project directory and invoke Pelican via make::
 

	
 
    cd cwi/projects/cwi
 
    make html
projects/cwi/Makefile
Show inline comments
 
new file 100644
 
PY?=python
 
PELICAN?=pelican
 
PELICANOPTS=
 

	
 
BASEDIR=$(CURDIR)
 
INPUTDIR=$(BASEDIR)/content
 
OUTPUTDIR=$(BASEDIR)/output
 
CONFFILE=$(BASEDIR)/pelicanconf.py
 
PUBLISHCONF=$(BASEDIR)/publishconf.py
 

	
 
FTP_HOST=localhost
 
FTP_USER=anonymous
 
FTP_TARGET_DIR=/
 

	
 
SSH_HOST=localhost
 
SSH_PORT=22
 
SSH_USER=root
 
SSH_TARGET_DIR=/var/www
 

	
 
S3_BUCKET=my_s3_bucket
 

	
 
CLOUDFILES_USERNAME=my_rackspace_username
 
CLOUDFILES_API_KEY=my_rackspace_api_key
 
CLOUDFILES_CONTAINER=my_cloudfiles_container
 

	
 
DROPBOX_DIR=~/Dropbox/Public/
 

	
 
GITHUB_PAGES_BRANCH=gh-pages
 

	
 
DEBUG ?= 0
 
ifeq ($(DEBUG), 1)
 
	PELICANOPTS += -D
 
endif
 

	
 
help:
 
	@echo 'Makefile for a pelican Web site                                        '
 
	@echo '                                                                       '
 
	@echo 'Usage:                                                                 '
 
	@echo '   make html                        (re)generate the web site          '
 
	@echo '   make clean                       remove the generated files         '
 
	@echo '   make regenerate                  regenerate files upon modification '
 
	@echo '   make publish                     generate using production settings '
 
	@echo '   make serve [PORT=8000]           serve site at http://localhost:8000'
 
	@echo '   make devserver [PORT=8000]       start/restart develop_server.sh    '
 
	@echo '   make stopserver                  stop local server                  '
 
	@echo '   make ssh_upload                  upload the web site via SSH        '
 
	@echo '   make rsync_upload                upload the web site via rsync+ssh  '
 
	@echo '   make dropbox_upload              upload the web site via Dropbox    '
 
	@echo '   make ftp_upload                  upload the web site via FTP        '
 
	@echo '   make s3_upload                   upload the web site via S3         '
 
	@echo '   make cf_upload                   upload the web site via Cloud Files'
 
	@echo '   make github                      upload the web site via gh-pages   '
 
	@echo '                                                                       '
 
	@echo 'Set the DEBUG variable to 1 to enable debugging, e.g. make DEBUG=1 html'
 
	@echo '                                                                       '
 

	
 
html:
 
	$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
 

	
 
clean:
 
	[ ! -d $(OUTPUTDIR) ] || rm -rf $(OUTPUTDIR)
 

	
 
regenerate:
 
	$(PELICAN) -r $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
 

	
 
serve:
 
ifdef PORT
 
	cd $(OUTPUTDIR) && $(PY) -m pelican.server $(PORT)
 
else
 
	cd $(OUTPUTDIR) && $(PY) -m pelican.server
 
endif
 

	
 
devserver:
 
ifdef PORT
 
	$(BASEDIR)/develop_server.sh restart $(PORT)
 
else
 
	$(BASEDIR)/develop_server.sh restart
 
endif
 

	
 
stopserver:
 
	kill -9 `cat pelican.pid`
 
	kill -9 `cat srv.pid`
 
	@echo 'Stopped Pelican and SimpleHTTPServer processes running in background.'
 

	
 
publish:
 
	$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS)
 

	
 
ssh_upload: publish
 
	scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)
 

	
 
rsync_upload: publish
 
	rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude
 

	
 
dropbox_upload: publish
 
	cp -r $(OUTPUTDIR)/* $(DROPBOX_DIR)
 

	
 
ftp_upload: publish
 
	lftp ftp://$(FTP_USER)@$(FTP_HOST) -e "mirror -R $(OUTPUTDIR) $(FTP_TARGET_DIR) ; quit"
 

	
 
s3_upload: publish
 
	s3cmd sync $(OUTPUTDIR)/ s3://$(S3_BUCKET) --acl-public --delete-removed --guess-mime-type
 

	
 
cf_upload: publish
 
	cd $(OUTPUTDIR) && swift -v -A https://auth.api.rackspacecloud.com/v1.0 -U $(CLOUDFILES_USERNAME) -K $(CLOUDFILES_API_KEY) upload -c $(CLOUDFILES_CONTAINER) .
 

	
 
github: publish
 
	ghp-import -m "Generate Pelican site" -b $(GITHUB_PAGES_BRANCH) $(OUTPUTDIR)
 
	git push origin $(GITHUB_PAGES_BRANCH)
 

	
 
.PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload cf_upload github
projects/cwi/content/blog/cwi.md
Show inline comments
 
new file 100644
 
Title: CWI
 
Date: 2015-01-06 10:20
 
Slug: about
 
Authors: Moe Howard
 

	
 
## Themes
 

	
 
Centrum Wiskunde & Informatica (CWI) is the national research
 
institute for mathematics and computer science in the Netherlands. We
 
conduct pioneering research in these fields and transfer our results
 
to society.
 

	
 
To give focus to our efforts, we concentrate on five broad,
 
societally-relevant themes:
 

	
 
* Software
 
* Information
 
* Life Sciences
 
* Logistics
 
* Energy
 

	
 
</br>
 
## Sharing Knowledge
 

	
 
Mathematics and computer science research are the invisible driving forces behind innovation. CWI contributes by:
 

	
 
* cooperating with industrial partners
 
* starting spin-off companies
 
* developing innovative software tools
 
* contributing to international standards
 
* The institute also plays a central role in several (inter)national programs and organizations.
projects/cwi/content/extras/.htaccess
Show inline comments
 
new file 100644
 
############################################################################################
 
# Authentication
 
AuthType Basic
 
AuthName "Password Required"
 
AuthUserFile /pages/.htpasswd
 
#AuthGroupFile /pages/group.file
 
#Require valid-user
 

	
 
############################################################################################
 
# Protect .htaccess
 
<Files .htaccess>
 
    order allow,deny
 
    deny from all
 
</Files>
 

	
 
############################################################################################
 
# directory browsing
 
IndexIgnore */*
 
#Options All -Indexes
 

	
 
############################################################################################
 
# Protect reports.html
 
<Files reports.html>
 
    order allow,deny
 
    deny from all
 
</Files>
 

	
 
#finis
projects/cwi/content/extras/.htpassword
Show inline comments
 
new file 100644
projects/cwi/content/news/energy_projects.md
Show inline comments
 
new file 100644
 
Title: CWI joins two large-scale energy projects
 
Date: 2014-12-05 10:20
 
Slug: energy_project
 
Authors: M.A. Guravage
 
tags: energy
 
Status: hidden
 

	
 
# CWI joins two large-scale energy projects
 

	
 
Researchers of CWI will participate in the projects ‘Smart Energy
 
Systems in the Built Environment’ and ‘Excellence in Uncertainty
 
Reduction of Offshore Wind Systems (EUROS)’ of the STW Perspective
 
research programmes that were recently awarded.
 

	
 
‘Smart Energy Systems in the Built Environment’ aims to develop new
 
technologies that make buildings handle supply and demand for energy
 
use in a more efficient manner. The main scientific challenges of the
 
programme are to identify and explore the synergies between the built
 
environment and emerging smart grid technologies and applications. The
 
research programme is headed by TU Eindhoven and consists of 38
 
academic and industrial partners, including TU Delft, TNO, VSL, Royal
 
HaskoningDHV, Brainport and the municipality of The Hague. Han La
 
Poutré and Eric Pauwels, members of the Intelligent Systems group at
 
CWI are participating in the project. Their research focuses on the
 
development of market based supply and demand matching mechanisms
 
including the ancillary services, and on the use of sensor networks
 
and data analytics to obtain more accurate predictions of supply and
 
demand.
 

	
 
‘Excellence in Uncertainty Reduction of Offshore Wind Systems (EUROS)’
 
investigates the uncertainties associated with the design and
 
installation of large-scale wind parks. This might prevent costly and
 
unnecessary large safety measures due to poor understanding of
 
uncertainties associated with wear and tear. This can reduce high
 
costs of developing wind parks, making wind energy a more attractive
 
source of durable energy. This research programme is headed by the TU
 
Delft and includes ECN, KNMI, Deltares, GNV-DL, Ballast Nedam, Eneco
 
and several other. Jeroen Witteveen of the Scientific Computing group
 
at CWI will contribute on the correlation between wind and waves, and
 
on combining difference sources of uncertainty.
 

	
 
The Dutch STW Technology Foundation awarded these grants within the
 
framework of the so-called Perspective Programmes. Scientists in these
 
programmes work with a consortium of companies on specific scientific
 
themes. STW received a total of 41 research initiatives and awarded
 
grants to six of them. The total amount of funding is €22 million, 7.6
 
of which is provided by industrial partners.
projects/cwi/content/news/jos_baeten_uva.md
Show inline comments
 
new file 100644
 
Title: Jos Baeten appointed professor at the UvA
 
Date: 2014-12-05 10:20
 
Slug: jos_baeten
 
Authors: M.A. Guravage
 
tags: uva, cwi, education
 
Status: hidden
 

	
 
Jos Baeten has been appointed professor of Theory of Computing at the
 
University of Amsterdam’s (UvA) Faculty of Science. It is a part-time
 
appointment that Baeten will combine with his directorship of CWI.
 

	
 
In recent years, Jos Baeten’s research focuses on the notion of
 
computability in theoretical computer science. In previous research he
 
worked on formal methods, most prominently in process algebra. At the
 
Institute of Logic, Language and Computation (ILLC) of the UvA, were
 
his position will be situated, he will mainly focus on teaching and
 
supervising students and PhDs. “I think it is important as director of
 
a research insitute to remain active as a scientist,” Baeten
 
says. “The ILLC, where I can join a renowned research group in
 
theoretical computer science, is the best place for computability
 
research,”
 

	
 
Since 2011, Baeten has been general director of CWI. He was also
 
professor of Theoretical Computer Science at Eindhoven University of
 
Technology (TU/e), where he also occupied the position of both dean
 
and vice-dean of the Faculty of Mathematics and Computer Science for
 
two terms. Previously he worked as assistant professor Computer
 
Science at the UvA and senior researcher at CWI. Baeten is cofounder
 
and currently board member of the Institute for Programming research
 
and Algorithmics. He was also advisor of the Foundations of Software
 
Engineering group at CWI, board member of the Nederlandse Vereniging
 
voor Theoretische Informatica, the Dutch professional organization of
 
ICT professionals and managers. Baeten authored various influential
 
textbooks and published in several influential magazines including
 
Journal of the ACM and Information and Computation.
 
\ No newline at end of file
projects/cwi/content/news/linda_hardman_acm.md
Show inline comments
 
new file 100644
 
Title: Lynda Hardman appointed Distinguished Scientist ACM
 
Date: 2014-12-05 10:20
 
Slug: lynda_Hardman
 
Authors: M.A. Guravage
 
tags: acm, cwi, education
 
Status: hidden
 

	
 
Lynda Hardman, senior researcher and scientific staff member at
 
Centrum Wiskunde & Informatica (CWI) in Amsterdam has been named
 
Distinguished Scientists by ACM, the Association for Computing
 
Machinery. On Friday December 5, ACM officially announced the new
 
members as part of their ACM Distinguished Member program. New members
 
are selected for their individual contributions and singular impacts
 
on the vital field of computing. Among the new members in 2014 Hardman
 
is the only scientist from the Netherlands.
 

	
 
ACM President Alexander Wolf hailed the ACM members as "drivers of the
 
advances and inventions that are propelling the information revolution
 
in new directions. Their creativity and commitment to their craft
 
ensures that we will benefit as a society in the digital age.” Wolf
 
also mentioned that the ACM membership empowers and inspires a bold
 
vision for advancing computing and the computing community.
 

	
 
At CWI, Hardman is member of the Interactive Access research group and
 
coordinator of the Information theme. Her research focuses on 'human
 
computer interaction’, the improvement of design methods for human
 
interfaces under circumstances of evolving technologies. Since the
 
development of the semantic web, Hardman is working on improving human
 
access to the growing linked data cloud. Further, Hardman represents
 
CWI in Informatics Europe and she regularly speaks on events to
 
inspire and encourage a new generation of female talents in computer
 
science.
 

	
 
ACM is the Association for Computing Machinery, the world’s largest
 
educational and scientific computing society, uniting computing
 
educators, researchers and professionals to inspire dialogue, share
 
resources and address the field’s challenges. ACM strengthens the
 
computing profession’s collective voice through strong leadership,
 
promotion of the highest standards, and recognition of technical
 
excellence. ACM supports the professional growth of its members by
 
providing opportunities for life-long learning, career development,
 
and professional networking.
projects/cwi/content/pages/about.md
Show inline comments
 
new file 100644
 
Title: About CWI
 
Date: 2014-12-05 10:20
 
Slug: about
 
Authors: M.A. Guravage
 

	
 
# About Centrum Wiskunde & Informatica (CWI)
 

	
 
CWI is the national research institute for mathematics and computer
 
science in the Netherlands and is an institute of the Netherlands
 
Organisation for Scientific Research (NWO). The institute was founded
 
in 1946 and is located at Science Park Amsterdam. The institute has a
 
strong international position and is renowned for its high quality
 
research. CWI's strength lies in the discovery and development of new
 
ideas, and the transfer of knowledge to other scientific areas,
 
society at large and trade and industry in particular. Research of CWI
 
is applied for instance in payment systems, cryptography,
 
telecommunications, public transport, smart energy networks and
 
meteorology.
 

	
 
# An international network
 

	
 
With 55 permanent research staff, 40 postdocs and 70 PhD students, CWI
 
is a compact institute that lies at the heart of European research in
 
mathematics and computer science. Much of its research is conducted as
 
part of national and international programmes. CWI maintains close
 
contacts with the industry and academic world, both in the Netherlands
 
and abroad. More than half of its permanent research staff is also
 
associated with universities as part-time professors. This research
 
network strengthens CWI’s reputation, acting as a magnet in attracting
 
academic talent. The postdocs and PhD students originate from more
 
than 25 different countries.
 

	
 
# A source of pride
 

	
 
CWI was the birthplace of the European internet and registered one of
 
the first country domains in the world, the NL top level domain
 
‘.nl’. CWI helped developing of the wing for the Fokker Friendship
 
aircraft and was home tot the invention of the popular programming
 
language Python. CWI also applied its research in combinatorial
 
algorithmics to improve the design of the Dutch train
 
timetables. Recent highlights include breaking the MD5 internet
 
security system and research into smart grids to secure our future
 
energy supply.
 

	
 

	
 
[CWI Annual Report]({filename}../static/annual-report.pdf)
projects/cwi/content/pages/contact.md
Show inline comments
 
new file 100644
 
Title: Contact
 
Date: 2014-12-05 10:20
 
Slug: contact
 
Authors: M.A. Guravage
 

	
 
|              |                                                  |
 
|--------------|--------------------------------------------------|
 
|Location      | Science Park 123, 1098 XG Amsterdam, Netherlands |
 
|Postal address| P.O. Box 94079, 1090 GB Amsterdam, Netherlands   |
 
|Phone         | +31 20 592 9333                                  |
 
|E-mail        | info@cwi.nl                                      |
 
\ No newline at end of file
projects/cwi/content/pages/events.md
Show inline comments
 
new file 100644
 
Title: Events
 
Date: 2014-12-05 10:20
 
Slug: events
 
Authors: M.A. Guravage
 

	
 
+ Symposium Coordination Models and Languages</br>
 
  09.01.2015 - 13:30
 

	
 
+ CWI Scientific Meeting</br>
 
  30.01.2015 - 13:00
 

	
 
+ PhD Defence Marjon Ruijter (SC)</br>
 
  06.02.2015 - 12:30
 

	
 
+ Taking Charge of your PhD Project day 1</br>
 
  11.02.2015 - 10:00
 

	
 
+ PhD Defence Jan Pieter Dorsman (Stochastics)</br>
 
  17.02.2015 - 14:00
 

	
 
+ Taking Charge of your PhD Project day 2</br>
 
  25.02.2015 - 10:00
 

	
 
+ CWI Scientific Meeting</br>
 
  27.03.2015 - 13:00
 

	
 
+ The Art of Presenting Science day 1</br>
 
  15.09.2015 - 17:34
 

	
 
+ The Art of Presenting Science day 2</br>
 
  29.09.2015 - 17:40
 

	
 
+ The Art of Presenting Science day 3</br>
 
  13.10.2015 - 17:41
projects/cwi/content/pages/news.md
Show inline comments
 
new file 100644
 
Title: News
 
Date: 2014-12-05 10:20
 
Slug: news
 
Authors: M.A. Guravage
 

	
 
- [CWI joins two large-scale energy projects]({filename}/news/energy_projects.md)
 

	
 
- [Jos Baeten appointed professor at the UvA]({filename}/news/jos_baeten_uva.md)
 

	
 
- [Lynda Hardman appointed Distinguished Scientist ACM]({filename}/news/linda_hardman_acm.md)
projects/cwi/content/private/private.md
Show inline comments
 
new file 100644
 
Title: Private
 
Date: 2014-12-05 10:20
 
Slug: private
 
Authors: M.A. Guravage
 
Status: hidden
 

	
 
# Private Content
 

	
 
This page is restricted. Access is granted only to authorized individuals.
 
\ No newline at end of file

Changeset was too big and was cut off... Show full diff anyway

0 comments (0 inline, 0 general)