- Bullet point 1
- Bullet point 2
- Everything seems fine
- Bullet point 3
- Bullet point 4
| git config --global alias.hist log --oneline --graph --date-order --decorate --all | |
| git config --global alias.hist-auth log --branches --pretty=format:'%C(yellow) %h %C(magenta)%<(20)%an %C(green bold)%G? %C(blue nobold)%>>(16)%GK%Creset%<(24,trunc) %aD' | |
| git config --global alias.commit-info log --stat -1 |
| #!/bin/sh | |
| # | |
| # A hook script to remove BOM headers | |
| echo "Running pre-commit BOM removal" | |
| trap ctrl_c INT | |
| ctrl_c () | |
| { |
| To use git gui and gitk | |
| Get xinit | |
| When want to use, run `startxin &` and `export DISPLAY=:0` | |
| Need to get dejavu fonts to run git gui or gitk |
| {%- block footer %} | |
| <div class="footer"> | |
| {% if show_copyright %}©{{ copyright }}.{% endif %} | |
| {% if theme_show_powered_by|lower == 'true' %} | |
| {% if show_copyright %}|{% endif %} | |
| Powered by <a href="http://sphinx-doc.org/">Sphinx {{ sphinx_version }}</a> | |
| & <a href="https://github.com/bitprophet/alabaster">Alabaster {{ alabaster_version }}</a> | |
| {% endif %} | |
| {%- if show_source and has_source and sourcename %} | |
| {% if show_copyright or theme_show_powered_by %}|{% endif %} |
| /* The Computer Language Benchmarks Game | |
| * http://benchmarksgame.alioth.debian.org/ | |
| * | |
| * contributed by Christoph Bauer | |
| * slightly sped up by Petr Prokhorenkov | |
| * | |
| * Taken from https://github.com/cythonbook/examples (04-nbody 03-pure-c) | |
| */ | |
| #include <math.h> |
| #!/bin/sh | |
| if [ $# -lt 1 ]; then | |
| echo "Usage: $0 <name of tag>" | |
| exit | |
| fi | |
| git add --all | |
| git diff --staged --quiet | |
| hasdiff=$? | |
| if [ $hasdiff -eq 0 ]; then | |
| echo "No changes exist on the index" |
| #!/usr/bin/env python | |
| # Gimp-Python - allows the writing of Gimp plugins in Python. | |
| # Copyright (C) 2007 Kalman, Ferenc <[email protected]> | |
| # | |
| # This program is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation; either version 2 of the License, or | |
| # (at your option) any later version. | |
| # |
| import matplotlib.dates | |
| import pylab as plt | |
| import numpy as np | |
| from datetime import datetime | |
| def get_entropy(): | |
| with open("/proc/sys/kernel/random/entropy_avail","r") as fil: | |
| res=fil.read() | |
| return int(res) |