-
create a supressions file
openssl.supp -
run valgrind with the suppressions file
valgrind --suppressions=openssl.supp
{
| # | |
| # calculate a dobule integral using naive approach | |
| # python 3.13.0 | |
| # | |
| # analytical solution of the example below is -7 | |
| # step 0.0100: -6.9976327434199135 (44 ms) | |
| # step 0.0010: -7.000145573771798 (2.7 s) | |
| # step 0.0001: -7.000002405139909 (4 m 49 s) | |
| # | |
| # possible improvements |
| #!/bin/bash | |
| # | |
| # originally from ima2-sbirka repo | |
| # | |
| # brief: | |
| # ------ | |
| # | |
| # A script to convert a single svg file to pdf | |
| # Usage: ./svg2pdf SVGFILE |
| #!/bin/bash | |
| # | |
| # imports aliases from .bash_aliases to config.fish as abbreviations | |
| # | |
| FISHCFG=~/.config/fish/config.fish | |
| BASH_ALIASES=~/.bash_aliases | |
| echo "" >> $FISHCFG |
| set autoindent | |
| set guidestripe 80 |
| # | |
| # for fish shell: | |
| # .. put it into ~/.config/fish/config.fish | |
| # .. tested with fish 3.7.1 | |
| # | |
| # cd's into a directory and creates it if it doesn't | |
| # exist yet | |
| # | |
| # USAGE: cdd DIR | |
| # |
| # ask if something is ok, exit if it's not | |
| # if OPTION_Y variable is "-y", do nothing | |
| prompt_confirm () { | |
| if [ "$OPTION_Y" != "-y" ]; then | |
| printf "%s (y/n) " "$*" | |
| read -r PROCEED | |
| if [ "$PROCEED" != "y" ]; then | |
| echo "abort" | |
| exit | |
| fi |
| #!/bin/sh | |
| # WARNING | |
| # replaced by https://github.com/okurka12/dotfiles/blob/main/install-bash.sh | |
| # one-liner | |
| # curl https://gist.githubusercontent.com/okurka12/f00b18199ac17154e50ecad6866b3bd2/raw > deleteme.sh && chmod +x deleteme.sh && ./deleteme.sh aliases && rm -v deleteme.sh | |
| ALIASES_URL=https://gist.githubusercontent.com/okurka12/cc3769db8e6f57dfdf091428095b7e00/raw |
| # | |
| # a bash function to mkdir and cd | |
| # add to the end of .bashrc | |
| # | |
| # author: vit pavlik | |
| # part of https://github.com/okurka12/dotfiles | |
| # | |
| # command to change directory to a directory that doesnt exist yet | |
| cdd () { |
| # | |
| # Prints stdin input without diacritics. | |
| # Expects a text in czech language. | |
| # | |
| # Author: okurka12 | |
| # | |
| # Date: 2024-07-21 | |
| # | |
| # reads from stdin and outputs on stdout | |
| # |