A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
#!/usr/bin/python2 | |
# Copyright (C) 2016 Sixten Bergman | |
# License WTFPL | |
# | |
# This program is free software. It comes without any warranty, to the extent | |
# permitted by applicable law. | |
# You can redistribute it and/or modify it under the terms of the Do What The | |
# Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See |
#!/bin/bash | |
# Requires: pandoc -- http://johnmacfarlane.net/pandoc/ | |
# Usage: ./md2beamer.sh Content.md ==> Content.pdf (beamer presentation) | |
name=`echo $1 | cut -f1 -d'.'` | |
pandoc $1 -o $name.pdf -t beamer --template=usf_simple.beamer --latex-engine=xelatex --highlight-style=tango |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
#!/usr/bin/env python | |
import os | |
import numpy as np | |
import vtk | |
import matplotlib.pyplot as plt | |
def load_velocity(filename): | |
if not os.path.exists(filename): |
#!/usr/bin/env python | |
#-*- coding: utf-8 -*- | |
# Supporting Python 3 | |
import sys, os, re | |
try: bibtexdb = open(sys.argv[1]).read() | |
except: print("Error: specify the file to be processed!") | |
if not os.path.isfile('journalList.txt'): |
#!/usr/bin/env python | |
#-*- coding: utf-8 -*- | |
import sys, os | |
import re | |
try: bibtexdb = open(sys.argv[1]).read() | |
except: print "Error: specify the file to be processed!" | |
if not os.path.isfile('journalList.txt'): |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare [email protected]:usi-systems/easytrace.git