Skip to content

Instantly share code, notes, and snippets.


Sebastian Ludwig sebastianludwig

View GitHub Profile
sebastianludwig / jira.css
Last active Jun 24, 2021
User CSS to increase JIRA's and GitHub's information desity
View jira.css
/* GitHub */
/* project view */
/* pack columns tighter together */
div.project-columns-container > div {
margin-right: 8px !important;
/* reduce card to column spacing */
sebastianludwig / git-clang-format-os-x
Created Oct 13, 2016
git-clang-format which also strips \t at the end of filenames in extract_lines - this was necessary for me on OS X 10.11 with git 2.8.4
View git-clang-format-os-x
#!/usr/bin/env python
#===- git-clang-format - ClangFormat Git Integration ---------*- python -*--===#
# The LLVM Compiler Infrastructure
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
View slim_jira.css
/* Header */
#ghx-header {
padding-top: 3px !important;
padding-bottom: 0px !important;
#ghx-header h2 {
line-height: 1 !important;
font-size: 12px !important;
sebastianludwig / lldb_commands.txt
Last active Nov 2, 2015
LLDB command description (including Chisel)
View lldb_commands.txt
# lldb
apropos -- Find a list of debugger commands related to a particular
b -- ('_regexp-break') Set a breakpoint using a regular expression
to specify the location, where <linenum> is in decimal and
<address> is in hex.
bt -- ('_regexp-bt') Show a backtrace. An optional argument is
accepted; if that argument is a number, it specifies the number
sebastianludwig /
Last active Aug 29, 2015
Activate second I2C bus on Raspberry Pi with Python
#!/usr/bin/env python3
# W. Greathouse 13-Feb-2013
# S. Ludwig 26-Oct-2014
# Inspired by bcm2835 source -
# Enable I2C on P1 and P5 (Rev 2 boards only)
sebastianludwig / smbusmodule.c
Last active Oct 29, 2016
SMbus for Python3.4 on Raspberry Pi running Raspbian - source
View smbusmodule.c
* smbusmodule.c - Python bindings for Linux SMBus access through i2c-dev
* Copyright (C) 2005-2007 Mark M. Hoffman <mhoffman@xxxxxxxxxxxxx>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
sebastianludwig / Post archive action script
Last active Jan 2, 2016
Xcode post archive Rakefile to prepare files for upload
View Post archive action script
# Rakefile needs ruby > 1.8, so add brew location to path
# setup logging
echo '' > $LOG
# run post_archive rake task
rake post_archive >> $LOG 2>&1