This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import matplotlib.pyplot as plt | |
| import nengo | |
| from nengo import spa | |
| import numpy as np | |
| import pandas as pd | |
| import seaborn as sns |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [default] | |
| include_dirs = /opt/openblas/include | |
| library_dirs = /opt/openblas/lib | |
| [openblas] | |
| libraries = openblas | |
| include_dirs = /opt/openblas/include | |
| library_dirs = /opt/openblas/lib | |
| [lapack] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [MASTER] | |
| # Specify a configuration file. | |
| #rcfile= | |
| # Python code to execute, usually for sys.path manipulation such as | |
| # pygtk.require(). | |
| init-hook=" | |
| from pylint_venv import inithook | |
| inithook()" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am jgosmann on github. | |
| * I am jgosmann (https://keybase.io/jgosmann) on keybase. | |
| * I have a public key whose fingerprint is 8DBD 17B2 96E1 0C77 555E BB80 E739 2E7E 2D68 6DA1 | |
| To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo -e '#!/bin/sh\n[ -n "$SSH_AGENT_PID" ] || eval "$(ssh-agent -s)"' > ~/.kde/env/ssh-agent-startup.sh | |
| echo -e '#!/bin/sh\n[ -z "$SSH_AGENT_PID" ] || eval "$(ssh-agent -k)"' > ~/.kde/shutdown/ssh-agent-shutdown.sh | |
| chmod 755 ~/.kde/env/ssh-agent-startup.sh ~/.kde/shutdown/ssh-agent-shutdown.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $lualatex = 'lualatex -synctex=1 %O %S'; | |
| $pdflatex = 'pdflatex -synctex=1 %O %S'; | |
| $xelatex = 'xelatex -synctex=1 %O %S'; | |
| $pdf_mode = 4; # 4 uses lualatex, set to 1 for pdflatex | |
| add_cus_dep('nlo', 'nls', 0, 'nlo2nls'); | |
| sub nlo2nls { | |
| system("makeindex \"$_[0].nlo\" -s nomencl.ist -o \"$_[0].nls\""); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- File: Helpers.hs | |
| -- Date: 15-Nov-2008 | |
| -- Version: 1.0 | |
| -- | |
| -- Copyright (C) 2008 Jan Gosmann <[email protected]> | |
| -- | |
| -- See: http://www.hyper-world.de | |
| -- | |
| -- Description: This file provides a data structure to represent arithmetic | |
| -- expressions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- File: Tree.hs | |
| -- Date: 11-Nov-2008 | |
| -- Version: 1.0 | |
| -- | |
| -- Copyright (C) 2008 Julia Koslowski, Jan Gosmann <[email protected]> | |
| -- | |
| -- See: http://www.hyper-world.de | |
| -- | |
| -- Description: This file provides a Haskell module with a data type for binary | |
| -- trees and functions to manipulate them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| if test -n "$(find /mnt/backup/last_daily -mtime 1)"; then | |
| echo 'Daily backup.' | |
| /usr/bin/rsnapshot daily | |
| date > /root/backup_w/last_daily | |
| fi | |
| if test -n "$(find /mnt/backup/last_weekly -mtime 7)"; then | |
| echo 'Weekly backup.' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import re | |
| # PDF format reference: http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf | |
| # pages 12 to 13 define the character sets | |
| WHITESPACE = '\x00\x09\x0A\x0C\x0D\x20' | |
| DELIMITER = '()<>[]{}/%' | |
| def to_re_char_group(charset): |