Skip to content

Instantly share code, notes, and snippets.

View mschae's full-sized avatar

Michael Schaefermeyer mschae

View GitHub Profile
@mschae
mschae / Dockerfile
Last active January 28, 2020 21:32
FROM node:12.2-slim as assets
WORKDIR /app/assets
COPY assets/package*.json ./
RUN npm install
# Copy the entire app so we can put files into /app/priv/static
COPY . /app
@mschae
mschae / install_postgres.md
Last active March 21, 2018 18:43
Postgres Installieren

Zuerst führt installiert ihr postgres:

sudo apt-get update

sudo apt-get install postgresql

Dann startet ihr die Datenbank:

sudo services postgresql start

Keybase proof

I hereby claim:

  • I am mschae on github.
  • I am mschae (https://keybase.io/mschae) on keybase.
  • I have a public key ASAq4ztI5vr2n7MN5O6OMTI2Mavve0WhDp2Ev-1CbIv0Ewo

To claim this, I am signing this object:

[{
"id": 1,
"value": {
"text": "1 article",
"widget": 1
}
},
{
"id": 2,
"value": {
@mschae
mschae / Gemfile
Created September 10, 2013 05:27
Millercast
source "https://rubygems.org"
gem 'tweetstream'
@mschae
mschae / 0-readme.md
Last active December 16, 2015 18:49 — forked from samgranieri/0-readme.md

ruby-1.9.3-p385 cumulative performance patch for rbenv

This installs a patched ruby 1.9.3-p385 with various performance improvements and a backported COW-friendly GC, all courtesy of funny-falcon.

Requirements

You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf using homebrew.

@mschae
mschae / installation.md
Created October 1, 2012 13:43
LaTex Uni Münster installation
  1. Download MacTex from here (I linked the Uni Münster Mirror directly since this is a Uni Münster specific guide)
  2. Run the installer
  3. Install non-free fonts that you will need for the Uni Münster template as follows:
  4. Download the installer from here
  5. cd into the directory where you downloaded the file to (you will need to open your Terminal for this): cd ~/Downloads
  6. Run the installer from the terminal: sudo texlua install-getnonfreefonts
  7. Install all fonts (because why not): getnonfreefonts --all
  8. Install slashbox as follows:
  9. Download it here
  10. Copy it to /usr/local/texlive/texmf-local/tex/latex/
@mschae
mschae / installation.md
Created October 1, 2012 13:42
LaTex Uni Münster installation
@mschae
mschae / ical_todo.scpt
Created December 19, 2011 11:03
Alfred iCal Todo Script
on alfred_script(q)
tell application "iCal"
set newtodo to (make new todo at end of todos of calendar "Reminders")
tell newtodo
if "!!!" is in q then
set priority to high priority
else if "!!" is in q then
set priority to medium priority
else if "!" is in q then
set priority to low priority
@mschae
mschae / frowl.rb
Created November 14, 2011 17:03
Fritz.Box Anrufmonitor
# Requires the following gems:
# - prowler (v. 1.2)
# - gdata
# Also requires prowl on your iPhone
# As always: Feel free to use as is, I'm not responsible for anything
prowl_api_key = ""
fritz_box_host = ""
google = {
:user => "",