brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
| // ==UserScript== | |
| // @name Jureeka | |
| // @namespace http://www.jureeka.org | |
| // @description Turns legal citations in webpages into hyperlinks that direct you to online legal source material. | |
| // ==/UserScript== | |
| /* | |
| Warnings: | |
| * This triggers a memory leak bug in Firefox. |
| //------------------------------------------------------------------------------ | |
| // <auto-generated> | |
| // This code was generated by a tool. | |
| // Runtime Version:2.0.50727.4206 | |
| // | |
| // Changes to this file may cause incorrect behavior and will be lost if | |
| // the code is regenerated. | |
| // </auto-generated> | |
| //------------------------------------------------------------------------------ |
| function simpleSearch(text, str) { | |
| var matches = []; | |
| for (var i = 0; i <= text.length; i++) { | |
| if (matchesAtIndex(i, text, str)) { | |
| matches.push(i); | |
| } | |
| } | |
| return matches; | |
| } |
| # -*- coding: utf-8 -*- | |
| ''' | |
| Usage: | |
| >>> f = open('usc08.10') | |
| >>> x = getlines(f) | |
| >>> x.next() | |
| GPOLocatorLine(code='F', arg='5800', data=u'\r\n') | |
| >>> print x.next().data | |
| TITLE 8–ALIENS AND NATIONALITY |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" | |
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <xsl:strip-space elements="*" /> | |
| <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> | |
| <xsl:template match="node()|@*"> | |
| <xsl:copy> | |
| <xsl:apply-templates select="@*|node()"/> | |
| </xsl:copy> | |
| </xsl:template> |
| function Invoke-Elasticsearch { | |
| [CmdletBinding()] | |
| Param( | |
| [Uri]$Uri, | |
| [Microsoft.PowerShell.Commands.WebRequestMethod]$Method = 'Get', | |
| $Body = $null, | |
| [PSCredential]$Credential | |
| ) | |
| $headers = @{} |
| nginx/ | |
| !nginx/.gitkeep | |
| !nginx/logs/.gitkeep | |
| src/ | |
| tmp/ |
| #!/usr/bin/env bash | |
| # | |
| # gh-dl-release! It works! | |
| # | |
| # This script downloads an asset from latest or specific Github release of a | |
| # private repo. Feel free to extract more of the variables into command line | |
| # parameters. | |
| # | |
| # PREREQUISITES | |
| # |