This file contains 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
/* | |
* Available context bindings: | |
* COLUMNS List<DataColumn> | |
* ROWS Iterable<DataRow> | |
* OUT { append() } | |
* FORMATTER { format(row, col); formatValue(Object, col) } | |
* TRANSPOSED Boolean | |
* plus ALL_COLUMNS, TABLE, DIALECT | |
* | |
* where: |
This file contains 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 | |
# | |
# I made this because bitbucket does not a have a team view on all the | |
# pipeline builds. | |
# | |
# See https://community.atlassian.com/t5/Bitbucket-questions/Where-can-I-get-a-view-of-all-the-pipeline-builds-for-a-team/qaq-p/786264 | |
# | |
# Requires curl and jq | |
# | |
# Use it like this: |
This file contains 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
# Copy of https://gist.github.com/antonio/4586456 | |
# With a modification to collect all the branch names so we can make one git request | |
# Set DRY_RUN=1 to get an echo of the command | |
# Format that works with `git log --since`, e.g. 2018-01-01 | |
date=$1 | |
branches= | |
for branch in $(git branch -a | sed 's/^\s*//' | sed 's/^remotes\///' | grep -v 'master$'); do |
This file contains 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
remote="$1" | |
url="$2" | |
z40=0000000000000000000000000000000000000000 | |
# Don't bother unless this is origin | |
if [ "$remote" != "origin" ] | |
then | |
exit 0 | |
fi |
This file contains 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 | |
namespace Doctrine\ODM\MongoDB\Tests\Functional\Ticket; | |
use Doctrine\Common\Collections\ArrayCollection; | |
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM; | |
class GH1525Test extends \Doctrine\ODM\MongoDB\Tests\BaseTest | |
{ | |
public function testEmbedClone() |
This file contains 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
cd $SF_HOME/lib/vendor/symfony/lib/plugins | |
$ svn status |grep '^M' | |
M sfDoctrinePlugin/config/sfDoctrinePluginConfiguration.class.php | |
M sfDoctrinePlugin/lib/task/sfDoctrineDataDumpTask.class.php | |
M sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Cli.php | |
M sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Task/DumpData.php | |
M sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Core.php | |
$ for a in `svn status |grep '^M' |awk '{print $2}'`; |