First, create a new Jekyll site and corresponding GitHub Pages repository, then test it locally at http://localhost:4000:
$ gem install jekyll bundler
$ jekyll new <REPO>/
Running bundle install in /Users/<USER>/Development/GitHub/<REPO>...
import seaborn | |
from itertools import combinations | |
def is_multiegg(breakfast): | |
if sum([1 in breakfast, 2 in breakfast, 3 in breakfast]) > 1: | |
return True | |
return False | |
# See Twitter: |
First, create a new Jekyll site and corresponding GitHub Pages repository, then test it locally at http://localhost:4000:
$ gem install jekyll bundler
$ jekyll new <REPO>/
Running bundle install in /Users/<USER>/Development/GitHub/<REPO>...
c4.2xlarge
is a decent choice.After the Sierra to High Sierra update my local Mediawiki pages stopped working.
Looking in /etc/apache2
I could see that the httpd.conf
file had changed:
Download the appropriate Kali Linux .iso
I used a 64 bit .iso
image, downloaded via HTTP. I downloaded the amd64 weekly version, as the pool
linux headers (needed below for installation of wireless drivers) were ahead of the stable release kernel.
Download the SHA256SUMS
and SHA256SUMS.gpg
files from the same location.
1) We’re going to do this in a virtual environment, so we don’t pollute the main `Python` installation: | |
- Change to a suitable clean directory that you can work in | |
- **YOU NEED TO MAKE SURE THAT THE PATH TO THIS DIRECTORY CONTAINS NO SPACES!** If the path contains spaces, `sip` will fail | |
- Create a new `Python` virtual environment: | |
```bash | |
virtualenv venv-test-ete3 -p python3 | |
``` |
virtualenv venv-THAPBI-pycits -p python2 | |
virtualenv venv-THAPBI-pycits -p python3 | |
source venv-THAPBI-pycits/bin/activate | |
python2 -m pip install -U pip setuptools | |
python3 -m pip install -U pip setuptools | |
python2 -m pip install numpy | |
python2 -m pip install -r requirements.txt |
--- | |
title: "Effect and Sample Size" | |
author: "Leighton Pritchard" | |
date: "10 May 2016" | |
output: html_document | |
--- | |
```{r setup, include=FALSE} | |
knitr::opts_chunk$set(echo = TRUE) | |
``` |
library(ggplot2) | |
library(reshape2) | |
# Load data, and rerank teams by points | |
data = read.table("SL_points.txt", sep="\t", header=T) | |
data$old_rank = rank(-data$Old, ties.method="first") | |
data$bonus_rank = rank(-data$Bonus, ties.method="first") | |
data$penalty_rank = rank(-data$Penalty, ties.method="first") | |
# New dataframe of ranked teams under each scheme |