Skip to content

Instantly share code, notes, and snippets.

View lamawithonel's full-sized avatar

Lucas Yamanishi lamawithonel

  • Capital One
  • Washington, D.C.
View GitHub Profile
@jeefberkey
jeefberkey / Gemfile
Last active October 3, 2018 13:58
get the ci status of every project in a gitlab org
source "https://rubygems.org"
gem 'gitlab'
gem 'pry'
gem 'awesome_print'
gem 'colorize'
@DamianZaremba
DamianZaremba / c7_int_name.rb
Created July 23, 2014 19:29
CentOS 7 Interface Name Calculator for Puppet
require 'facter'
# Function to figure out old school to new school mappings
# Uses the biosdevname info to generate a mapping
module Puppet::Parser::Functions
newfunction(:c7_int_name, :type => :rvalue) do |args|
if args.length != 1
raise(Puppet::ParseError, "No interface name passed to convert")
end
int_name = args[0]
@XVilka
XVilka / TrueColour.md
Last active April 8, 2024 14:02
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!

@jumanjiman
jumanjiman / pre-commit
Created August 6, 2012 15:00
cross-platform git pre-commit hook for puppet repos
#!/usr/bin/env ruby
# An example cross-platform (Linux, Windows, Mac, etc.)
# pre-commit hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
# To enable this hook:
# - save this file as <path-to-git-clone>/.git/hooks/pre-commit
@msztolcman
msztolcman / export_github_issues.py
Created December 11, 2011 02:02 — forked from jj0hns0n/export_github_issues.py
Export GitHub issues and comments to a csv files
#!/usr/bin/env python -tt
# -*- coding: utf-8 -*-
from __future__ import print_function, unicode_literals
import os, os.path
import sys
import re
import time
from pprint import pprint