dpkg -l linux-image*
uname -r
sudo apt-get remove linux-image-2.6.32-{21,37,38,39,40,41,42,43,44}-server
sudo apt-get autoremove
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| Function Log-Start{ | |
| <# | |
| .SYNOPSIS | |
| Creates log file | |
| .DESCRIPTION | |
| Creates log file with path and name that is passed. Checks if log file exists, and if it does deletes it and creates a new one. | |
| Once created, writes initial logging data | |
| .PARAMETER LogPath |
| #requires -version 2 | |
| <# | |
| .SYNOPSIS | |
| <Overview of script> | |
| .DESCRIPTION | |
| <Brief description of script> | |
| .PARAMETER <Parameter_Name> | |
| <Brief description of parameter input required. Repeat this attribute if required> |
| - name: ensure github.com is a known host | |
| lineinfile: | |
| dest: /root/.ssh/known_hosts | |
| create: yes | |
| state: present | |
| line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}" | |
| regexp: "^github\\.com" |
This document is a summary of the basic differences between the different kind of containers that Linked Data Platform (LDP) supports.
LDP specifies three types of containers:
- Basic Container
- Direct Container
- Indirect Container.
This documents describes the differences between the three types of containers by showing what triples are added by an LDP Server when adding a new element to each kind of container.
In particular we assume we have a fictitious blog entry (/blog/entry1/) and we want to add a comment to it. We start by showing what happens if the blog entry is a Basic Container, then we show what happens if the blog entry was instead a Direct Container, and lastly if it was an Indirect Container.
| @prefix : <http://localhost/jena_example/#> . | |
| @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
| @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
| @prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . | |
| @prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . | |
| @prefix text: <http://jena.apache.org/text#> . | |
| @prefix fuseki: <http://jena.apache.org/fuseki#> . | |
| ## Example of a TDB dataset and text index | |
| ## Initialize TDB |
| wget -P/local/target/directory -r -nH -np --reject html http://mirrors.dotsrc.org/maven2/ | |
| wget will put a maven2 repository folder under /local/target/directory on your machine, along with all the repositories artifacts. |
You can have finer control with:
rake db:drop:all
And then create the database without running the migrations:
rake db:create:all
Then run all your migrations: