Skip to content

Instantly share code, notes, and snippets.

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

Simon Hönscheid SimonHoenscheid

🏠
Working from home
View GitHub Profile
@csschwe
csschwe / gist:cbdd36e27ee708aba441
Created November 12, 2014 17:53
puppetserver error
Nov 12 17:45:47 fqdn.com systemd[1]: Starting puppetserver Service...
Nov 12 17:45:47 fqdn.com systemd[1]: Started puppetserver Service.
Nov 12 17:46:12 fqdn.com java[56495]: Failed to load feature test for posix: can't find user for 0
Nov 12 17:46:12 fqdn.com java[56495]: Cannot run on Microsoft Windows without the win32-process, win32-dir and win32-service gems: Win32API only supported on win32
Nov 12 17:46:12 fqdn.com java[56495]: Puppet::Error: Cannot determine basic system flavour
Nov 12 17:46:12 fqdn.com java[56495]: (root) at /usr/share/ruby/vendor_ruby/puppet/feature/base.rb:32
Nov 12 17:46:12 fqdn.com java[56495]: require at org/jruby/RubyKernel.java:1065
Nov 12 17:46:12 fqdn.com java[56495]: (root) at /usr/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
Nov 12 17:46:12 fqdn.com java[56495]: require at /usr/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55
Nov
@rocketraman
rocketraman / .gitconfig
Last active January 17, 2024 01:52
.gitconfig aliases useful for gitworkflow (https://github.com/rocketraman/gitworkflow)
[alias]
# Basically `log --oneline --decorate --graph` with different colors and some additional info (author and date)
lg = log --graph --abbrev-commit --decorate --format=format:'%C(yellow)%h%C(reset) %C(normal)%s%C(reset) %C(dim white)%an%C(reset) %C(dim blue)(%ar)%C(reset) %C(dim black)%d%C(reset)'
# lg (see above) with --first-parent
lgp = log --graph --abbrev-commit --decorate --format=format:'%C(yellow)%h%C(reset) %C(normal)%s%C(reset) %C(dim white)%an%C(reset) %C(dim blue)(%ar)%C(reset) %C(dim black)%d%C(reset)' --first-parent
# https://stackoverflow.com/questions/61510067/show-specific-commits-in-git-log-in-context-of-other-commits
hl = "!f() { cd -- ${GIT_PREFIX:-.}; grep --color -E \"$(git log --pretty=%h \"$@\" | tr '\n' '|')\" || true; }; f"
hlp = "!f() { cd -- ${GIT_PREFIX:-.}; less -R -p $(git log --pretty=%h \"$@\" | tr '\n' '|'); }; f"
@jlstrater
jlstrater / bananabread.txt
Last active February 15, 2018 07:29
Banana Bread Recipe
Banana Bread (adapted from the St. Peter's Catholic Church Cookbook from my childhood)
1/2 cup butter (about half a 250g bar) softened
1 1/4 cup sugar (about 250 g)
2 eggs
1 1/2 cup flour (about 180 g)
3/4 tsp baking powder
2 1/2 tsp milk
1/2 tsp vinegar
1 tsp vanilla