Skip to content

Instantly share code, notes, and snippets.

Simon Olofsson simono

Block or report user

Report or block simono

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@simono
simono / .gitignore
Last active Dec 4, 2015
postcss-middleware/issues/2
View .gitignore
node_modules
@simono
simono / ansible-fix-resolv-conf
Last active Feb 24, 2017
Ansible example to fix the resolv.conf on Ubuntu/Debian Systems. See https://github.com/mitchellh/vagrant/issues/1172
View ansible-fix-resolv-conf
- name: Configure resolvconf
sudo: yes
lineinfile: dest=/etc/resolvconf/resolv.conf.d/base line='options single-request-reopen'
- name: Update resolvconf
sudo: yes
command: resolvconf -u
View highlight.sh
#!/bin/zsh
#
# Highlight a given file and copy it as RTF.
#
# Simon Olofsson <simon@olofsson.de>
#
set -o errexit
set -o nounset
You can’t perform that action at this time.