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 python | |
from boto.ec2.connection import EC2Connection | |
from boto.regioninfo import RegionInfo | |
host = "svc.uc.futuregrid.org" | |
region = RegionInfo(name="Nimbus", endpoint=host) | |
conn = EC2Connection(region=region, port=8444, validate_certs=False) |
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/sh | |
ALL_USERS=`nimbus-list-users % | awk '/display name/ { print $4; }'` | |
for user in $ALL_USERS; do | |
if ! id $user > /dev/null 2>&1; then | |
echo "$user" | |
fi | |
done |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant::Config.run do |config| | |
config.vm.box = "precise32" | |
config.vm.box_url = "http://files.vagrantup.com/precise32.box" | |
config.vm.provision :shell, :inline => "apt-get -y update" | |
config.vm.provision :shell, :inline => "apt-get -y install ack-grep ant build-essential default-jdk git junit4 python-dev python-pexpect sqlite3 vim" | |
config.vm.provision :shell, :inline => "su -l vagrant -c 'git clone git://github.com/nimbusproject/nimbus.git'" |
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 python | |
import random | |
import sys | |
print random.expovariate(1.0/int(sys.argv[1])) |
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 'restfully' | |
grid = Restfully::Session.new(:base_uri => 'https://api.grid5000.fr/sid/grid5000').root | |
nnodes = grid.sites.inject(0) do |sum, s| | |
sum + s.clusters.inject(0) do |sum, c| | |
sum + c.nodes.length | |
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 'restfully' | |
grid = Restfully::Session.new(:base_uri => 'https://api.grid5000.fr/sid/grid5000').root | |
ncores = grid.sites.inject(0) do |sum, s| | |
sum + s.clusters.inject(0) do |sum, c| | |
sum + (c.nodes.first['architecture']['smt_size'] * c.nodes.length) | |
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
ack | |
aspell --lang=en,fr | |
bash-completion | |
ctags | |
dos2unix | |
gist | |
git | |
gnuplot --pdf | |
hub | |
ipcalc |
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
--- /home/priteau/hiredis/adapters/libev.h 2011-01-14 12:56:48.000000000 +0100 | |
+++ /usr/local/include/hiredis/adapters/libev.h 2011-01-14 13:01:59.000000000 +0100 | |
@@ -1,3 +1,6 @@ | |
+#ifndef __HIREDIS_ADAPTERS_LIBEV_H | |
+#define __HIREDIS_ADAPTERS_LIBEV_H | |
+ | |
#include <sys/types.h> | |
#include <ev.h> | |
#include "../hiredis.h" | |
@@ -10,7 +13,7 @@ |
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/xen.spec b/xen.spec | |
index 5222b70..30b9a69 100644 | |
--- a/xen.spec | |
+++ b/xen.spec | |
@@ -3,7 +3,7 @@ | |
Summary: Xen is a virtual machine monitor | |
Name: xen | |
Version: 3.0.3 | |
-Release: 105%{?dist}.5 | |
+Release: 105%{?dist}.6 |
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/xen-blktap-qcow-empty.patch b/xen-blktap-qcow-empty.patch | |
new file mode 100644 | |
index 0000000..adf2026 | |
--- /dev/null | |
+++ b/xen-blktap-qcow-empty.patch | |
@@ -0,0 +1,39 @@ | |
+# HG changeset patch | |
+# User Keir Fraser <keir.fraser@citrix.com> | |
+# Date 1244023910 -3600 | |
+# Node ID c5fb6374e79fba152e149cdd55a5744d43762667 |
NewerOlder