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
{ | |
"name": "firewall-general", | |
"description": "General firewall rules", | |
"json_class": "Chef::Role", | |
"default_attributes": { | |
}, | |
"override_attributes": { | |
"firewall": { | |
"rules": [ | |
{ |
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
diff --git a/source/javascripts/github.js b/source/javascripts/github.js | |
index 678775a..bc4c9bd 100644 | |
--- a/source/javascripts/github.js | |
+++ b/source/javascripts/github.js | |
@@ -3,22 +3,22 @@ var github = (function(){ | |
var i = 0, fragment = '', t = $(target)[0]; | |
for(i = 0; i < repos.length; i++) { | |
- fragment += '<li><a href="'+repos[i].url+'">'+repos[i].name+'</a><p>'+repos[i].description+'</p></li>'; | |
+ fragment += '<li><a href="'+repos[i].html_url+'">'+repos[i].name+'</a><p>'+repos[i].description+'</p></li>'; |
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
include_recipe "apt" | |
apt_repository "moomoo" do | |
distro = (node[:platform_version].to_i == 5) ? "lenny" : "squeeze" | |
uri "http://debian.foo.us/debian" | |
components [ "main", "contrib" ] | |
distribution distro | |
key "http://debian.foo.us/bar.asc" | |
action :add | |
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
{% if site.twitter_user %} | |
<section> | |
<h1>On Twitter:</h1> | |
<div> | |
<p><br /><a href="http://twitter.com/{{ site.twitter_user }}" target="_blank">My Tweets, on Twitter.</a></p> | |
<a href="http://twitter.com/{{ site.twitter_user }}" class="twitter-follow-button" data-show-count="{{ site.twitter_show_follower_count }}">Follow @{{ site.twitter_user }}</a> | |
</div> | |
</section> | |
{% endif %} |
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
int xiafs_rename(struct inode * old_dir, const char * old_name, int old_len, | |
struct inode * new_dir, const char * new_name, int new_len, | |
int must_be_dir) | |
{ | |
/* TODO: Come back and fix race condition stuff */ | |
static struct wait_queue_head_t * wait = NULL; | |
static int lock = 0; | |
int result; | |
while (lock) |
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
--- tcp_wrappers-20.orig/tcp_wrappers/fix_options.c 1999-04-22 18:57:28.000000000 -0700 | |
+++ tcp_wrappers-20/tcp_wrappers/fix_options.c 2013-06-30 17:27:44.000000000 -0700 | |
@@ -28,7 +28,7 @@ static char sccsid[] = "@(#) fix_options | |
#define BUFFER_SIZE 512 /* Was: BUFSIZ */ | |
/* fix_options - get rid of IP-level socket options */ | |
- | |
+void | |
fix_options(request) | |
struct request_info *request; |
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 'formula' | |
class BsdgamesOsx < Formula | |
homepage 'https://github.com/ctdk/bsdgames-osx' | |
url 'https://github.com/ctdk/bsdgames-osx/archive/bsdgames-osx-2.19.3.tar.gz' | |
sha1 '31013cbc8fbad71f1e3e0b9b85fd7c943219a99b' | |
head 'https://github.com/ctdk/bsdgames-osx.git' | |
version '2.19.3' | |
depends_on :bsdmake => :build |
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
Linux d390 2.6.32-5-s390x #1 SMP Sun May 6 03:12:45 UTC 2012 s390x | |
The programs included with the Debian GNU/Linux system are free software; | |
the exact distribution terms for each program are described in the | |
individual files in /usr/share/doc/*/copyright. | |
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent | |
permitted by applicable law. | |
Last login: Thu May 31 15:06:52 2012 from 10.21.1.1 | |
jeremy@d390:~$ ohai |
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
%w{sites-available sites-enabled mods-available mods-enabled}.each do |dir| | |
directory "#{node[:apache][:dir]}/#{dir}" do | |
mode 0755 | |
owner "root" | |
group "root" | |
action :create | |
end | |
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 | |
require 'chef-api' | |
require 'fauxhai' | |
include ChefAPI::Resource | |
ChefAPI.configure do |config| | |
config.endpoint = 'http://nineveh.local:4545' | |
config.client = 'admin' |