- virtualenv
- virtualenvwrapper
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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/bash | |
# Use -gt 1 to consume two arguments per pass in the loop (e.g. each | |
# argument has a corresponding value to go with it). | |
# Use -gt 0 to consume one or more arguments per pass in the loop (e.g. | |
# some arguments don't have a corresponding value to go with it such | |
# as in the --default example). | |
# note: if this is set to -gt 0 the /etc/hosts part is not recognized ( may be a bug ) | |
while [[ $# -gt 0 ]] | |
do | |
key="$1" |
This file contains 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
# # Convertion TOOL: from double to adouble | |
# | |
# ## Description: | |
# | |
# In the header/source files mark double that should be considered as adouble as: | |
# `double\*a*\` | |
# The conversion tool will simple change those declaration to `adouble` | |
# | |
# ## Usage: | |
# |
See Answer: https://tex.stackexchange.com/questions/266879/latex-git-mark-differences-since-specific-commit
- Start by getting the version of a file from a previous commit, with
git show <commit>:filename.tex > tmp.tex
- Run latexpand to include possible \input and \include files
$ pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime
$ pacman -Su
$ pacman -Sy base-devel msys2-devel
$ pacman -Sy mingw-w64-x86_64-python3 mingw-w64-x86_64-python3-pip mingw-w64-x86_64-python3-numpy mingw-w64-x86_64-python3-scipy mingw-w64-x86_64-python3-matplotlib mingw-w64-x86_64-python3-pandas mingw-w64-x86_64-python3-Pillow
This file contains 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
# LaTeX Makefile | |
FILE=thesis | |
all: $(FILE).pdf | |
.PHONY: clean | |
clean: | |
rm -rf *.blg | |
rm -rf *.out |
This file contains 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
def cat_vector(args): | |
noArray = False | |
for y in args: | |
if isinstance(y, np.ndarray): | |
if y.size != 1: | |
x = y | |
noArray = True | |
break | |
if noArray == False: | |
raise 'One of the args has to be a numpy array' |
OlderNewer