Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Tim Meusel bastelfreak

🏠
Working from home
View GitHub Profile
View .sync.yml
---
appveyor.yml:
delete: true
.vscode:
delete: true
.travis.yml:
delete: true
.devcontainer/Dockerfile:
delete: true
.devcontainer/devcontainer.json:
View gist:4aea7bb15fadc9acafc2d0f7535a6ab9
haproxy in front of CERN's puppetserves uses [puppetlabs-haproxy](https://forge.puppet.com/puppetlabs/haproxy)
## HaProxy Service
We use `rh-haproxy18-haproxy`
```puppet
exec{'/usr/bin/yum -y erase haproxy':
View keybase.md

Keybase proof

I hereby claim:

  • I am bastelfreak on github.
  • I am bastelfreak (https://keybase.io/bastelfreak) on keybase.
  • I have a public key whose fingerprint is C10B 6298 A584 A563 2E25 4DA3 04D6 59E6 BF1C 4CC0

To claim this, I am signing this object:

View gist:290392d06805effd4e989c1d28335fee
# installimage - Style Guide
---
## Contents
+ [Indentation Guidelines](#indentation-guidelines)
+ [Multiline Output to File](#multiline-output-to-file)
+ [Functions](#functions)
+ [Escaping](#escaping)
+ [Preferred Usage of Bash Builtins](#preferred-usage-of-bash-builtins)
View gist:36a382ee66d262d8f2ca
LABEL archrescue
MENU LABEL Arch Linux Live Rescue
KERNEL http://10.30.7.40/archrescue/arch/boot/x86_64/vmlinuz
INITRD http://10.30.7.40/archrescue/arch/boot/x86_64/intel_ucode.img
INITRD http://10.30.7.40/archrescue/arch/boot/x86_64/archiso.img
APPEND archiso_http_srv=http://10.30.7.40/archrescue/ archisobasedir=arch checksum=y nomodeset quiet systemd.mask=systemd-machine-id-commit systemd.mask=systemd-tmpfiles-setup systemd.mask=ldconfig
SYSAPPEND 3
View bad_foo_spec.rb
# This basically tests that Puppet works.
describe 'foo' do
let(:params) { :param => 'somevalue' }
it do
should contain_file('bar').with({
:ensure => present,
:owner => root,
:group => root,
:mode => 0644,
View gist:7dc16b618c9c9d0450a7
UPDATE
`media_movies`
SET
`media_movies`.`tmdb_id` = '86838' ,
`media_movies`.`release` = '2012-10-12' ,
`media_movies`.`average_vote` = '6.2' ,
`media_movies`.`original_title` = 'Seven Psychopaths' ,
`media_movies`.`poster_path` = 'http://image.tmdb.org/t/p/w500/3Zs6Ne6QAEOzQRz85VToH8ml6ab.jpg'
WHERE
`media_movies`.`title` = '7 Psychos';