This file contains 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
class authconfig::samba { | |
require authconfig::params | |
require authconfig::packages | |
require authconfig::kerberos | |
require authconfig::ldap | |
require expect | |
File { | |
mode => 0644, |
This file contains 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/bash | |
filename=$(mktemp --tmpdir=/dev/shm/ cooker.XXXXX) | |
echo -n "finding drivers..." >&2 | |
yum list all \ | |
| awk -F. '/xorg-x11-drv/{print $1}' \ | |
| grep -v debuginfo \ | |
| sort -u \ | |
> $filename |
This file contains 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
--- rpmsack.py.orig 2012-02-06 13:12:54.000000000 -0500 | |
+++ rpmsack.py 2012-02-06 13:29:20.000000000 -0500 | |
@@ -67,9 +67,13 @@ | |
if varname.startswith('__') and varname.endswith('__'): | |
raise AttributeError, "%s has no attribute %s" % (self, varname) | |
- if varname != 'hdr': # This is unusual, for anything that happens | |
- val = val[varname] # a lot we should preload at __init__. | |
- # Also note that pkg.no_value raises KeyError. | |
+ if varname != 'hdr': |
This file contains 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
Summary: Tool for finding memory management bugs in programs | |
Name: valgrind | |
Version: 3.6.0 | |
Release: 4%{?dist} | |
Epoch: 1 | |
Source0: http://www.valgrind.org/downloads/valgrind-%{version}.tar.bz2 | |
Patch1: valgrind-3.6.0-cachegrind-improvements.patch | |
Patch2: valgrind-3.6.0-openat.patch | |
Patch3: valgrind-3.6.0-glibc-2.10.1.patch | |
Patch4: valgrind-3.6.0-helgrind-race-supp.patch |
This file contains 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
require 'irb/completion' | |
require 'puppet' | |
require 'pp' |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>eHarbor</title> | |
<!--[if lt IE 9]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<%= csrf_meta_tag %> | |
<%= stylesheet_link_tag 'application' %> | |
<%= javascript_include_tag 'application' %> |
This file contains 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
Given "I am signed in" do | |
user = User.create!(:email => 'alice@example.com' :password => 'password', :password_confirmation => 'password' | |
step 'I go to the homepage' | |
step 'I follow "Sign In"' | |
step %Q|I fill in "user_email" with "#{user.email}"| | |
step 'I fill in "user_password" with "password"' | |
step 'I press "Sign in"' | |
end |
This file contains 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
#!/usr/bin/env ruby | |
# An example cross-platform (Linux, Windows, Mac, etc.) | |
# pre-commit hook script to verify what is about to be committed. | |
# Called by "git commit" with no arguments. The hook should | |
# exit with non-zero status after issuing an appropriate message if | |
# it wants to stop the commit. | |
# To enable this hook: | |
# - save this file as <path-to-git-clone>/.git/hooks/pre-commit |
This file contains 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
#!/usr/bin/env ruby | |
require 'fileutils' | |
require 'net/smtp' | |
today = %x!date +'%Y-%m-%d'!.chomp | |
counter = 0 | |
sum = 0.0 |
This file contains 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
#!/usr/bin/env ruby | |
require 'yaml' | |
require './helpfulfunctions' | |
include HelpfulFunctions | |
rc = 1 | |
begin | |
in_file = ARGV[0] |