Commands to get commit statistics for a Git repository from the command line -
using git log
, git shortlog
and friends.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
AUTHOR=$(git config user.name) | |
DATE=$(date +%F) | |
git log --no-merges --format="%cd" --date=short --no-merges --author="$AUTHOR" --all | sort -u -r | while read DATE ; do | |
if [ $NEXT != "" ] | |
then | |
echo | |
echo [$NEXT] | |
fi | |
GIT_PAGER=cat git log --no-merges --format=" %s" --since=$DATE --until=$NEXT --author="$AUTHOR" --all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// API access key from Google API's Console | |
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
$registrationIds = array( $_GET['id'] ); | |
// prep the bundle | |
$msg = array |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
try { | |
$sxe = simplexml_load_string($xmlstring, 'SimpleXMLIterator'); | |
for ($sxe->rewind(); $sxe->valid(); $sxe->next()) { | |
if ($sxe->hasChildren()) { | |
foreach ($sxe->getChildren() as $element=>$value) { | |
echo $value->species . '<br />'; | |
} | |
} | |
} |
A collection of open source TYPO3 Vagrant boxes (mostly /w Puppet).
- TYPO3 Vagrant
A Vagrant file to get you up and running with TYPO3 in a few minutes.
git clone https://github.com/irnnr/vagrant-typo3.git
- TYPO3 Bootstrap Package + Test-VM
- TYPO3 (7.6) Bootstrap Package
If you're working on a Windows machine and have the composer.bat
in your $PATH
(or %PATH%
),
Cygwin's Mintty terminal as well as the Gitbash will still complain about composer
not being a known command.
If you try to use composer
from a Mintty/Gitbash terminal, you'll get something like:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\chef\serversetup>vagrant up | |
DEPRECATION: The 'recipe_url' setting for the Chef Solo | |
provisioner is deprecated. This value will be removed in | |
Chef 12. It is recommended you use the Chef Apply provisioner | |
instead. The 'recipe_url' setting will be removed in the next | |
version of Vagrant. | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'ubuntu/trusty64'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Destroying VM and associated drives... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
.tri-down { | |
/* Styling block element, not required */ | |
position: relative; | |
margin-bottom: 2em; | |
padding: 1em; | |
border-bottom: 1px solid #999; | |
background: #f3f3f3; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!--[if (lte IE 8) ]><html lang="de-DE" class="no-js lte-ie8"><![endif]--> | |
<!--[if (gt IE 8)|!(IE)]><!--><html class="no-js" lang="de"><!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>CSS for IE 10</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +eyecatchup is my blockchain ID. https://onename.com/eyecatchup |