Skip to content

Instantly share code, notes, and snippets.

Avatar

Alan Hartless alanhartless

View GitHub Profile
@BrizzleRocker
BrizzleRocker / github_issues_to_csv.py
Created Mar 15, 2019 — forked from patrickfuller/github_issues_to_csv.py
Export Issues from Github repo to CSV (API v3)
View github_issues_to_csv.py
"""
Exports issues from a list of repositories to individual csv files.
Uses basic authentication (Github username + password) to retrieve issues
from a repository that username has access to. Supports Github API v3.
Forked from: unbracketed/export_repo_issues_to_csv.py
"""
import argparse
import csv
from getpass import getpass
import requests
@peihsinsu
peihsinsu / gce-snapshot.sh
Created Sep 19, 2014
GCE daily scheduling snapshot backup
View gce-snapshot.sh
#!/bin/bash
# Environments
export PATH=/root/google-cloud-sdk/bin:$PATH
# Daily create snapshot for "backup_path" listed disks
# And remove snapshot 1 week old before
# Create snap date
export DT=`date +%Y%m%d`
@malarkey
malarkey / Contract Killer 3.md
Last active Oct 22, 2020
The latest version of my ‘killer contract’ for web designers and developers
View Contract Killer 3.md

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@danielestevez
danielestevez / gist:2044589
Last active Oct 21, 2020
GIT Commit to an existing Tag
View gist:2044589
1) Create a branch with the tag
git branch {tagname}-branch {tagname}
git checkout {tagname}-branch
2) Include the fix manually if it's just a change ....
git add .
git ci -m "Fix included"
or cherry-pick the commit, whatever is easier
git cherry-pick {num_commit}
You can’t perform that action at this time.