Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am bureado on github.
  • I am bureado (https://keybase.io/bureado) on keybase.
  • I have a public key whose fingerprint is 3A0B EE9E EE0E 1B7E CC64 24E0 C032 42A9 88D4 B7DF

To claim this, I am signing this object:

+2013-12-07 Andrey Borzenkov <[email protected]>
+
+ Revert commit 69ca97c820, it caused failures when using OS device name
+ in grub-install. Instead just strip off parenthesis in grub-install
+ if (hdX) was passed.
+
+2013-12-07 Andrey Borzenkov <[email protected]>
+
+ * util/grub-install.c (push_partmap_module): Add helper to convert
+ partmap names to module names and use it in probe_mods(). Fixes

Recorded Event Sun Jan 18 2015 23:03:59 GMT+0000 (UTC)

Mean for 250 packets in sta hwk3 is 0.002385 previous was 0.002012

That's a 1.185455459542006 increase! Threshold: 1.03

Mean for 250 packets in sta hwk2 is 0.001458 previous was 0.001254

That's a 1.1620366394660777 increase! Threshold: 1.03

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" >
<!-- The title element is optional and will not be displayed anywhere. -->
<title>Sender and Recipient</title>
<!-- Add these two references to MicrosoftAjax.js and Office.js. -->
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.2.min.js"></script>
<script src="https://appsforoffice.microsoft.com/lib/1.1/hosted/Office.js" type="text/javascript"></script
</head>
<?xml version="1.0" encoding="utf-8"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="MailApp">
<!-- Id is a unique UUID for the mail app -->
<Id>FA22EEEA-5845-4198-B298-F106D124C863</Id>
<Version>1.0</Version>
<ProviderName>Contoso</ProviderName>
<DefaultLocale>en-us</DefaultLocale>
@bureado
bureado / gist:5dbddb0bb24bb7c0b447
Created May 20, 2015 18:49
Setting up python-saml for Azure AD
#!/usr/bin/env python
"""
This script will help you authenticate a Django application using python-saml with Azure AD.
This is sample code.
Usage:
@bureado
bureado / switch.sh
Created July 30, 2015 13:54
Script to switch RAID array from master to slave in Azure
#!/bin/sh
master=$1
slave=$2
date
echo "Assuming master down: $master"
echo "Switching to slave: $slave"
azure vm show $master --json > /tmp/$master.json
@bureado
bureado / gist:24e0d6b1e13c6f9a50b6
Last active April 29, 2016 20:06
Using docker client with a Windows Server Container Preview docker daemon in Azure (no TLS)

Deploy the VM and setup endpoint

  • In portal.azure.com, go to New -> Compute -> Marketplace and search for Windows Server Container Preview.
  • Make sure the TCP 2375 endpoint is open in Azure (Settings -> Endpoint)

Enable Docker daemon networking

  • Access the VM via RDP
  • Edit C:\ProgramData\Docker\runDockerDaemon.cmd, and add -H 0.0.0.0:2375 on line 11, in the docker daemon invocation inside the run target
  • Enable docker.exe in the firewall: netsh advfirewall firewall add rule name="Allow Docker" dir=in action=allow program="C:\windows\system32\docker.exe"
@bureado
bureado / gist:cf2ab22185cbaa090f20162837fa2cf9
Last active July 31, 2017 21:48
Dockerfile and ARM template for Debian package builder in ACI example
# Dockerfile
FROM debian:sid
MAINTAINER Jose Miguel Parrella <[email protected]>
RUN echo deb-src http://ftp.us.debian.org/debian/ sid main >> /etc/apt/sources.list
RUN apt update
RUN apt -y install devscripts
RUN apt clean
@bureado
bureado / mentoring.markdown
Last active September 17, 2017 16:52
Speed networking & mentoring @ Open Source Summit North America

Speed networking & mentoring @ Open Source Summit North America

As soon as I learned that the Linux Foundation was setting up a speed networking & mentoring session at Open Source Summit North America in Los Angeles, I signed up as a career mentor.

Over the last few years, my day job has brought me to LinuxCon, Open Source Leadership Summit, Open Source Summit and many other gatherings and allowed me to interact first-hand with participants from across the globe and I thought that this could be one more way to contribute to the event beyond speaking, etc.

This is my report back to the community on my experience as a career mentor this year.

I had the opportunity to talk to four groups of people that included high school and college students and folks in different stages of their career across industries such as airspace, government, communications, etc. The Linux F