I hereby claim:
- I am eduncan911 on github.
- I am eduncan911 (https://keybase.io/eduncan911) on keybase.
- I have a public key ASCm86SHMqJZdxyA3BUcpZKRZ8FKk7y93384uEKOOA1SZAo
To claim this, I am signing this object:
#!/bin/bash | |
# bash script to create a GoLang README.md in the current and all sub-directories. | |
# | |
# installation: | |
# place this in your ~/bin or similar. make sure to: chmod 755 godoc2md-all | |
# | |
# it is recommended to have a doc.go for each package, that allows for samples and | |
# additional instructions. | |
# |
I hereby claim:
To claim this, I am signing this object:
# add this code to your .bashrc file | |
# gitpending() transverses from the current directory to | |
# inspect 1 directory level deep for any git repos that have | |
# pending changes to commit. | |
function gitpending() | |
{ | |
for d in */ ; do | |
pushd $d > /dev/null | |
DIRNAME=$(basename "$d") |
/*Package main is a simple test of Json Identing (aka pretty print) | |
To run: | |
$ go run main.go | |
{ | |
"eventId": "xyz", | |
"articleId": "123" | |
} |
Sourced from: http://kernowsoul.com/blog/2012/06/20/4-ways-to-avoid-merge-commits-in-git/
$ # from an individual repo
$ git config branch.master.rebase true
$ # or, set it globally (only works for new repos forward)
$ git config --global branch.autosetuprebase always
If needing to go back and set all branches to rebase by default, run this bash
script.
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,52,e0,4f,e0,4f,e0,52,e0,00,00,00,00 |
# add this to your Rakefile for your Jekyll or Octopress source. | |
# you can then call it like this: | |
# | |
# $ rake isolate_posts | |
# | |
# remember, do NOT 'git add .' because your posts will be deleted (stashed) in | |
# a git-ignored directory! | |
# | |
# when you are ready to commit, the workflow should be like: | |
# |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
version 1.0 | |
to use, make sure to change the following: | |
1) replace "www.MyDomain.com/forum/" with the actual url of your site. Such | |
as "www.acmecorp.com/" or "www.acmecorp.com/forum/". |