/\_/\ /\_/\ =( owo )= =( owo )= \\ ) ( ) ( // \\(_ _ _) (_ _ _)//
- C
/\_/\ /\_/\ =( owo )= =( owo )= \\ ) ( ) ( // \\(_ _ _) (_ _ _)//
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
##Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:alexpchin/.git
| <select name="state"> | |
| <option value="AL">Alabama</option> | |
| <option value="AK">Alaska</option> | |
| <option value="AZ">Arizona</option> | |
| <option value="AR">Arkansas</option> | |
| <option value="CA">California</option> | |
| <option value="CO">Colorado</option> | |
| <option value="CT">Connecticut</option> | |
| <option value="DE">Delaware</option> | |
| <option value="FL">Florida</option> |
When working with Git, there are two prevailing workflows are Git workflow and feature branches. IMHO, being more of a subscriber to continuous integration, I feel that the feature branch workflow is better suited, and the focus of this article.
If you are new to Git and Git-workflows, I suggest reading the atlassian.com Git Workflow article in addition to this as there is more detail there than presented here.
I admit, using Bash in the command line with the standard configuration leaves a bit to be desired when it comes to awareness of state. A tool that I suggest using follows these instructions on setting up GIT Bash autocompletion. This tool will assist you to better visualize the state of a branc
OSM Lab is an organization for OpenStreetMap related projects - libraries, applications, and other code. We're liberal with membership.
README.md is required| import scala.xml._ | |
| import scala.xml.transform._ | |
| object Main extends App { | |
| import Stuff._ | |
| val sourceXml = XML.loadFile("metadata.switchaai.xml") | |
| val allEntities = sourceXml \\ "EntityDescriptor" |
| import lxml.etree | |
| def pprint(elem): | |
| print lxml.etree.tostring(elem, pretty_print=True) | |
| class Bind(object): | |
| def __init__(self, path, converter=None, first=False): | |
| ''' | |
| path -- xpath to select elements | |
| converter -- run result through converter | |
| first -- return only first element instead of a list of elements |
| Ruby Quickstart for Refugees: | |
| -- | |
| # is a comment. | |
| You don't need semicolons. | |
| Ruby aims to be elegant and readable, so punctuation and boilerplate are | |
| minimal. | |
| -- |