Skip to content

Instantly share code, notes, and snippets.

@ifosch
ifosch / init.el
Created March 10, 2019 07:49
My init.el
;;; init.el --- Personal emacs configuration
;;; Commentary:
;;; This is a configuration from scratch
;;; Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; # Package management
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Package.el setup with unstable MELPA
#! /usr/bin/env python
"""
"PYSTONE" Benchmark Program
Version: Python/1.1 (corresponds to C/1.1 plus 2 Pystone fixes)
Author: Reinhold P. Weicker, CACM Vol 27, No 10, 10/84 pg. 1013.
Translated from ADA to C by Rick Richardson.
package main
import (
"flag"
"fmt"
"log"
"net"
"strings"
"github.com/olorin/nagiosplugin"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ifosch
ifosch / 1. Weather Solved - Slides.ipynb
Last active April 21, 2017 16:42
Basic TDD, Python, and py.test introduction dojo - Weather Kata
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ifosch
ifosch / Gemfile
Last active December 4, 2015 17:11
Hackathon #39 - External sources
source 'https://rubygems.org'
gem 'hashie', '~> 3.3.1'
gem 'httparty', '0.11.0'
gem 'restcountry'
@ifosch
ifosch / pytomaquet.md
Last active April 21, 2017 16:43
Notas PyConES 2016 - BCN

PyConES 2016 - BCN

Fecha

La idea sería hacerlo durante el último trimestre de 2016, procurando no solaparse con otros eventos similares que se organizan habitualmente en la ciudad. Conviene que se confirme la fecha en el primer trimestre del año, con tal de que posibles asistentes de nivel profesional consigan los presupuestos anuales de sus empresas.

Asistentes

Se espera poder organizar un evento para una asistencia de entre 300 y 500 personas, aunque esto podría depender de varios factores.

@ifosch
ifosch / gist:af0cf9c5b0b4b225f6a4
Created July 9, 2015 14:46
Chef library helper test and error
# spec/opsworks_spec.rb
require_relative '../spec_helper.rb'
describe OpsWorks::Helper do
describe '#local?' do
let(:recipe) { Object.new.extend(OpsWorks::Helper) }
before do
@run = ChefSpec::Runner.new.converge 'common::default'
end
context 'without opsworks' do
@ifosch
ifosch / slides.md
Last active April 21, 2017 16:44
Diapos ELK
### Keybase proof
I hereby claim:
* I am ifosch on github.
* I am natx (https://keybase.io/natx) on keybase.
* I have a public key whose fingerprint is AC3C 20DD CAC6 9C35 9297 A51B 32AF DEB4 20E8 4190
To claim this, I am signing this object: