Skip to content

Instantly share code, notes, and snippets.

View aespinosa's full-sized avatar

Allan Espinosa aespinosa

View GitHub Profile

Deepening DevOps with Math

DevOps is a young but fast evolving discipline. Like other young practices, the community may still be discovering itself. As more people learn from their experience or incorporate experiences from other backgrounds, DevOps continues to mature.

DevOpsDays is one of those events where the DevOps community gathers together and share experiences. This year, there's a lot of topics where people start stepping back and build a model around the practice of DevOps. There were a lot of DevOps talks that started using math to describe the practice this year.

error: while evaluating the attribute ‘nativeBuildInputs’ of the derivation ‘haskell-environment’ at /home/user/Documents/website/default.nix:4:3:
while evaluating ‘ghcWithPackages’ at /home/user/nixpkgs/pkgs/development/haskell-modules/default.nix:60:27, called from /home/user/Documents/website/default.nix:6:6:
while evaluating ‘withPackages’ at /home/user/nixpkgs/pkgs/development/haskell-modules/default.nix:49:22, called from /home/user/nixpkgs/pkgs/development/haskell-modules/default.nix:60:39:
while evaluating ‘callPackage’ at /home/user/nixpkgs/pkgs/development/haskell-modules/default.nix:47:26, called from /home/user/nixpkgs/pkgs/development/haskell-modules/default.nix:49:32:
while evaluating ‘callPackageWithScope’ at /home/user/nixpkgs/pkgs/development/haskell-modules/default.nix:41:42, called from /home/user/nixpkgs/pkgs/development/haskell-modules/default.nix:47:32:
while evaluating ‘callPackageWith’ at /home/user/nixpkgs/lib/customisation.nix:93:35, called from /home/user/nixpkgs/pkgs/development/ha
@aespinosa
aespinosa / Error message
Created April 21, 2016 00:12
disabling ssl_verify_mode
Recipe: chef-server::default
* ruby_block[ensure node can resolve API FQDN] action run (skipped due to not_if)
* chef_ingredient[chef-server] action install
Recipe: <Dynamically Defined Resource>
* chef_gem[mixlib-install] action install (up to date)
* ruby_block[stop chef run] action nothing (skipped due to action :nothing)
* apt_package[chef-server] action install (up to date)
(up to date)
Recipe: chef-server::default
* file[/tmp/kitchen/cache/chef-server-core.firstrun] action create (up to date)
@aespinosa
aespinosa / docker.nix
Last active April 9, 2016 21:55
building a nix docker image
with import <nixpkgs> {};
let
niximage = dockerTools.buildImage {
name = "nix";
tag = "1.11.2";
contents = [ nix cacert bash ];
};
nixpkgs = import /nix/store/xxxxx-nixpkgs.drv;
@aespinosa
aespinosa / install.sh
Last active April 3, 2016 20:50
Installing https://nixos.org/nix through a proxy like apt-cacher-ng
curl --silent http://nixos.org/nix/install | sed 's,https://nixos.org,http://proxy.dev:3142/nixos.org,' | bash
@aespinosa
aespinosa / job.groovy
Last active September 16, 2024 18:27
create a jenkins job in the script console
import jenkins.model.Jenkins;
import hudson.model.FreeStyleProject;
import hudson.tasks.Shell;
job = Jenkins.instance.createProject(FreeStyleProject, 'job-name')
job.buildersList.add(new Shell('echo hello world'))
job.save()
@aespinosa
aespinosa / gist:7d0d6726ccfb31bbba4f
Created March 25, 2016 20:25
RSA .pem public key to jwk
ruby -r'json/jwt' -e 'puts OpenSSL::PKey::RSA.new(STDIN.read).to_jwk.to_json'
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
// * 1. Set default font family to sans-serif.
// * 2. Prevent iOS text size adjust after orientation change, without disabling user zoom.
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
@aespinosa
aespinosa / haskell.nix
Created March 17, 2016 16:29
haskell Env
haskellEnv = haskellPackages.ghcWithPackages (p: with p; [
hakyll
])
#!/usr/bin/env nix-shell
#!nix-shell -i bash
jupyter --version