Skip to content

Instantly share code, notes, and snippets.

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

Tim Meusel bastelfreak

🏠
Working from home
View GitHub Profile
---
appveyor.yml:
delete: true
.vscode:
delete: true
.travis.yml:
delete: true
.devcontainer/Dockerfile:
delete: true
.devcontainer/devcontainer.json:
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':
#!/bin/bash
echo "this is an awesome script"
exit 0

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:

# 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)
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
@bastelfreak
bastelfreak / bad_foo_spec.rb
Created October 21, 2015 15:58 — forked from danzilio/bad_foo_spec.rb
Good vs Bad Tests
# 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,
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';