Skip to content

Instantly share code, notes, and snippets.

adejoux

Block or report user

Report or block adejoux

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .irbrc
require 'rubygems' unless defined? Gem # rubygems is only needed in 1.8
### START debundle.rb ###
# Copyright (c) Conrad Irwin <conrad.irwin@gmail.com> -- MIT License
# Source: https://github.com/ConradIrwin/pry-debundle
# Pry references removed by Jan Lelis <mail@janlelis.de>
module Debundle
VERSION = '0.8.d'
View .zshrc
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
#ZSH_THEME="alanpeabody"
ZSH_THEME="bira"
View RPM-GPG-KEY-RDO-Icehouse
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.11 (GNU/Linux)
mQINBFLKi4cBEADTxh9Xzd9Lko0D2OxFLLI9QlVEl/oTXMR24A2wKGYJxdCHabWH
wMGd+4FNNop7zKBDdp03aZGapfMihlxGYFH886xZSqalEwt88OA7WKmi2/oA98RI
2XfcnEs+J8Plk3XpS9dlrZTbKUBxn37Ouy60tJHd1gJQTI50Z1a1NwzgNaWZdmH8
eHZ+OlhWSgcGKZA94/3YFxMtnWidT7GITOYHeynnVSnFfgZwHkIbHzrCNuXsi+L8
nkl9C4E8Of19apHjthafZp3KLc2ICxfAEMnMiRoTURjzvnx2pwmZoMFYThFRjZ56
6/IXBKzreMVeYNA4xBsjPpCwr5gAkcFK8diUk0jh6wENsffG5ZkwHdGbGmBvZuqG
KytCJrwNoeudxz8Bx4Tiy/RpEOYqX65NU/ch7rdA6T4b3uhBMmohncQEEnb+BKVZ
View aix_profile
PS1="$(whoami)@$(hostname)(\$PWD)# "
export PS1
export EDITOR=/usr/bin/vi
set -o vi
@adejoux
adejoux / grafanaclient_demo.go
Created Nov 12, 2016
simple example program to show use case of grafanaclient library
View grafanaclient_demo.go
// simple example program to show use case of grafanaclient library:
// https://github.com/adejoux/grafanaclient
// author: Alain Dejoux
package main
import (
"fmt"
"log"
"time"
@adejoux
adejoux / ansible_aix_quick.yml
Created Nov 17, 2016
a simple ansible playbook to run initial customization on AIX.
View ansible_aix_quick.yml
---
- hosts: aixtestlab
gather_facts: False
tasks:
- name: add group adejoux
group: name=adejoux state=present
- name: create user adejoux
user: name=adejoux comment="Alain Dejoux" uid=1000 group=adejoux
- name: generate ssh key for adejoux
user: name=adejoux generate_ssh_key=yes ssh_key_type=ecdsa ssh_key_file=.ssh/id_ecdsa ssh_key_bits=256
View Example of HMC PCM data for partition
{
"sampleType": "LogicalPartition",
"lparsUtil": [
{
"id": 5,
"name": "WM-SLES1",
"type": "AIX/Linux",
"affinityScore": 74,
"memory": {
"logicalMem": [
@adejoux
adejoux / Vagrantfile
Last active Jun 11, 2018
vagrant chef configuration file
View Vagrantfile
#use libvirt
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'libvirt'
VMCOUNT = (ENV['VMCOUNT'] || 1).to_i
VAGRANTFILE_API_VERSION = "2"
Vagrant.require_version ">= 1.5.0"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "virtualbox"
You can’t perform that action at this time.