Skip to content

Instantly share code, notes, and snippets.

View sudogem's full-sized avatar

r_man sudogem

View GitHub Profile
#!/bin/bash
MHOST="$1"
MUSER="$2"
MPASS="$3"
MDB="$4"
# Detect paths
MYSQL=$(which mysql)
AWK=$(which awk)
GREP=$(which grep)
set -g buffer-limit 100
set -g history-limit 10000
#set -g status-utf8 on
set-option -g status-position top
set -g default-terminal "xterm"
set -g status-bg black
set -g status-fg blue
set -g status-attr dim
$ echo $PATH | sed ‘s/\:/\n/g’ | sort
Output:
/bin
/home/artheman/.nvm/versions/node/v6.2.2/bin
/home/artheman/.pyenv/bin
/home/artheman/.pyenv/shims
/home/artheman/.rbenv/bin
/home/artheman/.rbenv/plugins/ruby-build/bin
/home/artheman/.rbenv/shims
/home/artheman/.rvm/bin
@sudogem
sudogem / export_repo_issues_to_csv.py
Created December 5, 2016 17:06 — forked from unbracketed/export_repo_issues_to_csv.py
Export Issues from Github repo to CSV (API v3)
"""
Exports Issues from a specified repository to a CSV file
Uses basic authentication (Github username + password) to retrieve Issues
from a repository that username has access to. Supports Github API v3.
"""
import csv
import requests
This CA certificate is for verifying HTTPS connection to;
- https://rubygems.org/ (obtained by RubyGems team)
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 1 (0x1)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=SE, O=AddTrust AB, OU=AddTrust External TTP Network, CN=AddTrust External CA Root
Validity