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
#!/usr/bin/env python3 | |
# coding: utf-8 | |
# written for Python 3.9.4 | |
# Copyright (C) 2021 by Björn Rüffer | |
# | |
"Print a list of all git repositories found below your home directory along with their remotes." | |
import glob | |
import itertools | |
import pathlib |
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
\ProvidesFile{bib.lco} | |
% | |
% Provide a bibliography for letters that is numbered alphabetically. | |
% This file is in the public domain and it can be included in letters | |
% written in the scrlttr2-class by stating it as an option. See | |
% `letter class options` in the KOMA guide. | |
% | |
% Some of the following is taken from | |
% http://tex.stackexchange.com/questions/18033/using-bibtex-with-letter-class | |
% but see also |
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
$gsutil acl get gs://mybucket | |
[ | |
{ | |
"entity": "project-owners-1234567890", | |
"projectTeam": { | |
"projectNumber": "1234567890", | |
"team": "owners" | |
}, | |
"role": "OWNER" | |
}, |
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 | |
# Copyright (C) 2012 by Bjoern Rueffer | |
# take given files and put them into ~/Documents20xx under a | |
# descriptive name | |
date=`date +%m-%d` | |
destdir=~/Documents`date +%Y` | |
prefix="" | |
if [ ! \( -d "$destdir" \) ]; then |
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 | |
# (c) Bjoern Rueffer 2012 | |
function usagetext() | |
{ | |
cat<<EOF | |
Usage: $0 [-d] filename.pdf | |
Will burst a file into single pages, numbered as filename_##.pdf. If -d | |
is specified, filename.pdf will be deleted afterwards. |
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
(defun org-find-dangling-clock () | |
"Find a dangling clock entry in an org-mode buffer" | |
(interactive) | |
(re-search-forward "CLOCK: \\[[^]]*\\] *$") | |
) |
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 | |
# Time-stamp: <2013-03-01 18:33:01 rueffer> | |
# Copyright (C) 2011-2013 by Bjoern Rueffer | |
function usage { | |
cat <<EOF | |
Usage: `basename $0` [-p] <files> | |
`basename $0` --clean |