Skip to content

Instantly share code, notes, and snippets.

On macOS, I'd like to use docker-compose on port 80. But, having the Mac OS Server App installed, this app already blocks port 80.

Which services are listening on port 80?

sudo lsof -i ':80'

Source: https://superuser.com/a/598287/273249

@fiedl
fiedl / manual-ubuntu-mate-install.md
Last active July 31, 2017 12:20
Installing ubuntu mate manually
@fiedl
fiedl / veranstaltungen.html
Created May 30, 2017 12:43
Veranstaltungen auf Homepage einbinden
<!-- Dieser Teil lädt die Bibliothek jQuery (jquery.com). -->
<script src="//code.jquery.com/jquery-3.2.1.min.js"></script>
<!-- Dieser Teil platziert einen Container für die Veranstaltungs-Anzeige: -->
<h2>Veranstaltungen:</h2>
<p id="events">
Veranstaltungen werden geladen.
</p>
<!-- Dies ist der Kalender-Abo-Link. Hier den gewünschten HTML-Feed (aus Schritt 2) eintragen: -->
@fiedl
fiedl / README.md
Last active May 4, 2017 05:13
Write markdown emails in os x

Using markdown-service-tools, write markdown emails and convert to rich text via hot key before sending.

Install

brew cask install markdown-service-tools
brew install multimarkdown 
@fiedl
fiedl / macos-server-calendar-and-addressbook-reset.md
Last active November 8, 2016 15:59
macOS Calendar & Address Book Server: Reset

Issue

  • I cannot sync my contacts with macOS Server anymore.
  • pythonwrapper cpu usage is high.
  • "Unable to verify account or password."
  • There are hundreds of addressbook groups called "addressbook".

Resolution

Attention: This will only backup the calendar and addressbook data. If you use other macOS server services, make sure to backup their data as well!

@fiedl
fiedl / Columns of equal height.markdown
Created June 30, 2016 16:33
Columns of equal height

Columns of equal height

Bootstrap columns with boxes of equal height inside.

A Pen by Fiedl on CodePen.

License.

@fiedl
fiedl / gmaps_turbolinks.js.coffee
Created September 15, 2013 18:26
"Hack" that dynamically loads the [gmaps4rails google api](https://github.com/apneadiving/Google-Maps-for-Rails) when using [turbolinks](https://github.com/rails/turbolinks/).
@fiedl
fiedl / sshfs.sh
Created January 5, 2014 11:48
mount ssh folder with rw access for my own user
# install tools (Mac OS)
brew install sshfs
# mount ssh folder with rw access for my own user
mkdir /Volumes/foo
sshfs fiedl@192.168.0.105:/path/to/folder /Volumes/foo -o idmap=user -o uid=$(id -u) -o gid=$(id -g)
# References
#
# * http://wiki.ubuntuusers.de/FUSE/sshfs