I hereby claim:
- I am Graham42 on github.
- I am graham42 (https://keybase.io/graham42) on keybase.
- I have a public key whose fingerprint is 6312 6E73 DA79 A2D9 DB23 92BC 324C F799 431B D7B5
To claim this, I am signing this object:
| DIR=path/to/wherever/; stat -c%n $DIR/* | xargs -I'{}' bash -c "printf \"%-40s\" {}; stat -c%s {} | xargs printf \"%'10.f\n\"" |
| # do something in each subfolder, excludes hidden folders | |
| function foreach_dir(){ | |
| for arg in $(ls --color=none); do | |
| if [ -d "$arg" ] ; then | |
| cd $arg | |
| eval $@ | |
| cd .. | |
| fi | |
| done | |
| } |
| body { | |
| margin: 40px auto; | |
| padding: 0 20px; | |
| max-width: 650px; | |
| color: #444444; | |
| background-color: #f2f2f2; | |
| line-height: 1.6; | |
| font-size: 16px; | |
| font-family: sans-serif; | |
| } |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| function usage { | |
| echo "USAGE: git merge-svn <from> [<to>]" | |
| echo "" | |
| echo " from The branch name to be merged FROM" | |
| echo " to Optional branch name to be merged onto. Default: HEAD" | |
| echo "" | |
| } |
| I, Graham McGregor, have read and do accept the MuleSoft Contributor Agreement | |
| at http://www.mulesoft.org/legal/contributor-agreement.html | |
| Accepted on Thu Feb 19 2015 19:31:36 GMT-0500 (EST) |
| #!/bin/bash | |
| # @arg 1 - the git repository on someone elses machine or a server | |
| # ie. git@192.168.1.337:/home/gmcgregor/MODULE_NAME | |
| # @arg 2 - the svn url to point to | |
| # ie. https://svn.my-company.com/MODULE_NAME | |
| # check if required programs are installed | |
| type svn >/dev/null 2>&1 || { echo >&2 "svn needs to be installed for this script to run."; exit 1; } | |
| type git >/dev/null 2>&1 || { echo >&2 "git needs to be installed for this script to run."; exit 1; } | |
| git svn --help >/dev/null 2>&1 || { echo >&2 "git-svn needs to be installed for this script to run."; exit 1; } |
| ls -1 | sed 's/\([^\n]*\)/"\1"/g' |
| 'use strict'; | |
| /* | |
| * ngInclude functionality but waits until a list of dependencies have resolved. | |
| * | |
| * = Directive args = | |
| * deps-ng-include = <path/to/template.html> | |
| * deps = <comma separated list of dependencies> | |
| * | |
| * == Example == |