Skip to content

Instantly share code, notes, and snippets.

View bobschi's full-sized avatar
🏠
Working from home

Florian Holzner bobschi

🏠
Working from home
View GitHub Profile
@DoubleMalt
DoubleMalt / technical-due-diligence.md
Last active October 4, 2019 18:20
A checklist what you should ask when talking over a code base

Technical Due Diligence

Architecture

  • Component Overview
  • Technologies (DB, Languages, Frameworks)

Functionalities

@jaltek
jaltek / .a_readme.md
Last active August 23, 2018 11:52
uberspace, maildrop & MySQL

uberspace, maildrop & MySQL

A simple maildrop sender filter with MySQL backend

This is a simple maildrop filter which filters incoming messages by the sender address and move it to the corresponding folder. E-Mail address and destination folder are both defined in a MySQL table.

This example is used in an uberspace environment.

Step 1: Create MySQL table

For convenience we use the already existing database corresponding to your uberspace account (e.g. your uberspace username is melanie there will be already a database called melanie.

@LEW21
LEW21 / config.ru
Created August 1, 2014 22:48
Gollum HTTP Basic Auth
require 'gollum/app'
class GollumAuth
User = Struct.new(:name, :email, :password_hash)
def users
if @_users
return @_users
end
all_users = YAML.load_file(File.expand_path('users.yml', File.dirname(__FILE__)))
@skyggeovn
skyggeovn / README.md
Last active June 26, 2016 15:00 — forked from henare/mw-to-gollum.rb
Convert a wiki from MediaWiki to Gollum.

Note that while this will convert a wiki from MediaWiki to Gollum, and links will be preserved, content formatting for the most part will be broken until you set the proper content type for Gollum.

  1. Install dependancies:

    gem install hpricot
    gem install gollum
    gem install gollum-lib
    gem install wikicloth
@cmod
cmod / minmal_twitter.css
Created September 13, 2012 18:45 — forked from maxfenton/gist:3670929
Twitter stylebot
/* -------------------------------------------------
MINIMAL TWITTER FOR FLUID / USERSTYLES
Special thanks to:
Max Fenton (@maxfenton) for kicking this off
------------------------------------------------- */
.trends, .bird-topbar-etched, .wtf-module, .site-footer, .topics {
@troelskn
troelskn / app.rb
Last active August 12, 2021 17:25 — forked from dstrelau/app.rb
Gollum protected by HTTP Basic
require 'gollum/frontend/app'
require 'digest/sha1'
class App < Precious::App
User = Struct.new(:name, :email, :password_hash, :can_write)
before { authenticate! }
before /^\/(edit|create|delete|livepreview|revert)/ do authorize_write! ; end
helpers do
@bobschi
bobschi / 2012-01-16 patho & physio.md
Created January 17, 2012 11:49
ws11 pathologie und grundlagen der pyhsiologie

mögliche prüfungsfragen

klassiche/sicher todeszeichen

  1. rigor/totenstarre
  2. totenflecken
  3. fäulnis

evtl. auch verletzungen, die mit dem leben nicht vereinbar sind. ist aber kein sicheres todeszeichen für den pathologen.

@edavis10
edavis10 / _config.yml
Created November 6, 2009 02:18
Pagination in Jekyll
# ....other stuff here
paginate: 10