I hereby claim:
- I am sbmueller on github.
- I am sbmueller (https://keybase.io/sbmueller) on keybase.
- I have a public key whose fingerprint is 17E7 FD02 7AB1 951A 71C0 461F 9FFB D55D DC2A A3EE
To claim this, I am signing this object:
-- nvim-lint settings | |
local lint = require("lint") | |
local lspconfig = require("lspconfig") | |
-- Add an additional generic linter | |
vim.api.nvim_create_autocmd( | |
{"BufWritePost"}, | |
{ | |
group = "Fixers", | |
pattern = "*", |
#! /bin/sh | |
# The name of the container to run `clangd` in must be passed as the first and only argument | |
[ "$#" -ne 1 ] && echo "Container name required as first and only argument" >&2 && exit 1 | |
CLANGD_ARGS="--clang-tidy --background-index --all-scopes-completion --header-insertion=iwyu --suggest-missing-includes --completion-style=detailed" | |
PATH_MAPPINGS="host=docker,host=docker" # change me | |
# Verify that a contianer by this name actually exists, and is running | |
if [ -z "$(docker ps -q -f name=$1 -f status=running)" ]; then |
#!/bin/sh | |
# solution found at | |
# https://github.com/webpack/webpack-dev-server/issues/854 | |
# replace [IP] with the correct ip address | |
# assumes you have macports openssl installed. Alter -config path if needed. | |
openssl req \ | |
-newkey rsa:2048 \ | |
-x509 \ |
FILENAME = letter | |
${FILENAME}.pdf: ${FILENAME}.tex | |
latexmk -pdf -outdir=latex ${FILENAME}.tex | |
cp latex/${FILENAME}.pdf ./ | |
clean: | |
latexmk -CA |
#/usr/bin/env python3 | |
import numpy as np | |
from scipy import fftpack | |
import pyfftw | |
import unittest | |
import time | |
class Timer: | |
def __enter__(self): |
/* | |
This file will create a python module named `hello` (l. 42) | |
It's important that the project is set to output a file named | |
`hello.pyd` which must be identical to the module name. | |
Python will then search for the method `PyInit_hello(void)` | |
and call it. There, `PyModule_Create` must be called with | |
a `struct PyModuleDef` as argument. | |
Within there, the module's methods are defined. This is done |
#include <stdio.h> | |
int convert(int number, unsigned int base) { | |
if(number == 0) { | |
return number; | |
} | |
return number % base + 10*convert(number/base, base); | |
} |
I hereby claim:
To claim this, I am signing this object: