This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- | |
# vim: set filetype=sh sw=3 sts=3 expandtab autoindent: | |
# | |
# openldap backup handler script for backupninja | |
# | |
getconf backupdir /var/backups/ldap | |
getconf suffixes all | |
getconf compress yes | |
getconf ldif yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# chruby-exec 2.1.2 -- ruby y.rb | |
{:a=>:foo} | |
# chruby-exec 2.1.3 -- ruby y.rb | |
y.rb:2: syntax error, unexpected modifier_if | |
a: if true; :foo; end | |
^ | |
y.rb:2: syntax error, unexpected keyword_end, expecting end-of-input |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo add-apt-repository 'deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.6 main' | |
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install llvm-3.6-dev |