Skip to content

Instantly share code, notes, and snippets.

@amitsaha
amitsaha / job_fedora_centos.xml
Created October 3, 2014 06:19
Beaker job: Fedora host, CentOS docker container
<job retention_tag="scratch">
<whiteboard>Run test in docker - Fedora host, CentOS 7 &quot;guest&quot;</whiteboard>
<recipeSet priority="Normal">
<recipe kernel_options="" kernel_options_post="" ks_meta="contained_harness harness_docker_base_image=centos:centos7 selinux=--disabled" role="None" whiteboard="">
<autopick random="false"/>
<watchdog panic="ignore"/>
<packages/>
<ks_appends/>
<repos>
<repo name="restraint" url="http://192.168.122.1:8000"/>
@amitsaha
amitsaha / job_fedora_fedora.xml
Created October 3, 2014 06:21
Beaker job: Fedora host, Fedora docker container
<job retention_tag="scratch">
<whiteboard>Run test in docker - Fedora host/guest</whiteboard>
<recipeSet priority="Normal">
<recipe kernel_options="" kernel_options_post="" ks_meta="contained_harness selinux=--disabled" role="None" whiteboard="">
<autopick random="false"/>
<watchdog panic="ignore"/>
<packages/>
<ks_appends/>
<repos>
<repo name="restraint" url="http://10.64.41.123/localrepo/"/>
@amitsaha
amitsaha / job_atomic_fedora.xml
Created October 8, 2014 22:56
Beaker recipe: Atomic host, fedora guest
<?xml version="1.0" encoding="utf8"?>
<job retention_tag="scratch">
<whiteboard>RHEL7 Atomic : Fedora guest</whiteboard>
<recipeSet priority="Normal">
<recipe kernel_options="" kernel_options_post="" ks_meta="harness_docker_base_image=registry.hub.docker.com/fedora:20 ostree_repo_url=http://link/to/ostree/repo/ ostree_ref=my-atomic-host/20/x86_64/standard selinux=--disabled" role="RECIPE_MEMBERS" whiteboard="">
<autopick random="false"/>
<watchdog panic="ignore"/>
<packages/>
<ks_appends/>
<repos>
diff --git a/beaker-branches/develop b/beaker-branches/develop
index 2c3d9b6..4f6710c 160000
--- a/beaker-branches/develop
+++ b/beaker-branches/develop
@@ -1 +1 @@
-Subproject commit 2c3d9b6fa349bc31fb94cc3d1a52f5fea757fca5
+Subproject commit 4f6710c9a6151112c0ebad0c0a880b2b9a18fcb3
diff --git a/docs-develop/_sources/admin-guide/tftp.txt b/docs-develop/_sources/admin-guide/tftp.txt
index 1e16d9e..1b83e53 100644
--- a/docs-develop/_sources/admin-guide/tftp.txt
from sympy import Point, Triangle
from matplotlib.collections import LineCollection
import matplotlib.pyplot as plt
import itertools
import random
# using LineCollection
sides = []
ax = plt.axes()
for _ in range(10):
Timer unit: 1e-06 s
Total time: 0.300853 s
File: test_point.py
Function: create_points at line 2
Line # Hits Time Per Hit % Time Line Contents
==============================================================
2 @profile
3 def create_points():
@amitsaha
amitsaha / beaker.html
Created January 8, 2015 02:21
LCA 2015 miniconf slides
<!DOCTYPE html>
<html>
<head>
<title>Beaker's Hardware Inventory System</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
@amitsaha
amitsaha / conda.rst
Created February 15, 2015 00:11
conda

conda install matplotlib=1.3.1 Fetching package metadata: .... Solving package specifications: . Package plan for installation in environment /home/gene/work/anaconda3:

The following packages will be downloaded:

package | build --------------------------- py34_0 7.2 MB

// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
;(function () {
window.SystemAccessPolicyView = Backbone.View.extend({
events: {
@amitsaha
amitsaha / imshow_matplotlib.ipynb
Created May 24, 2015 09:23
matplotlib imshow
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.