Skip to content

Instantly share code, notes, and snippets.

@bureado
bureado / k-docs-es-tips.md
Last active May 28, 2019 21:25
Tips & tricks #kubernetes-docs-es

Tips & tricks para contribuir a #kubernetes-docs-es

¿Por dónde empiezo?

Este documento no sustituye los lineamientos de estilo y procedimientos formales del proyecto. Te sugerimos las siguientes lecturas previas:

@bureado
bureado / sustainability-elsewhere-resources.md
Last active March 14, 2019 12:57
Resources for the "Open Source Sustainability Elsewhere" exercise

Here are the accompanying resources for The Future of Open Source Sustainability, as Seen Elsewhere, a talk presented at the Open Source Leadership Summit 2019.

It's my hope that communities can bring these questions to a broader sample, focusing on more equal gender representation and detecting significant differences across native languages and community of affinity (e.g., CNCF, Python, JS, etc.)

See the slides for additional commentary and my key takeaways and insights for the sample below or subscribe to RSS for new developments on this topic.

Feedback, questions and comments are very welcome! Get in touch.

Questions asked

@bureado
bureado / photon-azure.sh
Last active March 10, 2019 00:59
Deploys Photon OS 3.0 GA in Azure
#!/bin/sh
#
# This script deploys a custom Photon 3.0 GA VHD to Azure and starts a VM
# See https://dev.to/bureado/getting-started-with-photon-os-on-azure-32h8 for more.
#
# Usage: ./script.sh photon.vhd
#
set -x
@bureado
bureado / linux-postmodern-packaging-edyo.md
Created December 23, 2018 19:26
Resumen de la encuesta sobre el futuro de sistemas de paquetes en Linux (Entre Dev y Ops)

Gracias a la comunidad de Entre Dev y Ops por participar en este estudio informal (n=18) sobre el futuro de los sistemas de paquetes en Linux. Estas son algunas de las conclusiones:

  • APT prevalece como sistema de paquetes preferido en esta muestra (56%) y aunque RPM está presente, es importante resaltar que cerca de un cuarto de las respuestas no se identifican ni con APT ni con RPM, o usan otro sistema
  • Más allá de estar íntimamente relacionado con la "distro estándar" de cada organización, el sistema de paquetes no parece determinar otras áreas del gasto de TI, excepto quizás ser un factor en la elección de sistemas de automatización en el caso de los ISVs.
  • Prácticamente toda la muestra usa repositorios adicionales a los oficiales, y tienen que lidiar con otros sistemas de paquetes como Docker Hub/Store, PyPI, NPM/YARN, Maven o Helm (en ese orden de popularidad)
  • Es interesante resaltar que la mayoría de las personas que respondieron mantienen paquetes personalizados, y
@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

@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 <j@bureado.com>
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 / 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 / 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
<?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>
<!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>