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 | |
/** | |
* | |
* @category Phing | |
* @package CopyPropertyTask | |
*/ | |
/** | |
* Inlude Copytask for extending | |
*/ |
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 | |
use Doctrine\ORM\EntityManager, | |
Doctrine\ORM\Configuration, | |
Doctrine\DBAL\Event\Listeners\MysqlSessionInit, | |
Doctrine\Common\Cache\ArrayCache, | |
Doctrine\Common\Annotations\AnnotationRegistry, | |
Doctrine\Common\Annotations\AnnotationReader, | |
Doctrine\Common\Annotations\CachedReader, | |
Doctrine\Common\Annotations\IndexedReader, | |
Doctrine\ORM\Mapping\Driver\Driver, |
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 | |
return array( | |
'modules' => array( | |
'DoctrineModule', | |
'DoctrineORMModule', | |
'DysBase', | |
'DysAcl', | |
'Application', | |
'Smd', | |
'Site', |
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
#!/usr/bin/env ruby | |
## git-publish-branch: a simple script to ease the unnecessarily complex | |
## task of "publishing" a branch, i.e., taking a local branch, creating a | |
## reference to it on a remote repo, and setting up the local branch to | |
## track the remote one, all in one go. you can even delete that remote | |
## reference. | |
## | |
## Usage: git publish-branch [-d] <branch> [repository] | |
## |
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 | |
/** | |
* V5 | |
* LICENSE | |
* | |
* Insert License here | |
* | |
* @package Service | |
*/ |
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 | |
function uploadImage { | |
curl -F "image=@$1" -F "key=b64253965d1905005c02f8c8e591f958" http://api.imgur.com/2/upload.xml | grep -E -o "<original>(.)*</original>" | grep -E -o "http://i.imgur.com/[^<]*" | |
} | |
http_proxy= | |
scrot -s "shot.png" | |
uploadImage "shot.png" | xclip -selection c | |
rm "shot.png" | |
#notify-send "Done" |
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 | |
/** | |
* V5 | |
* LICENSE | |
* | |
* Insert License here | |
* | |
* @category Phing | |
* @package CopyPropertyTask | |
* @copyright Copyright (c) 2012 Doyousoft |
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
#!/usr/bin/env ruby | |
## git-publish-branch: a simple script to ease the unnecessarily complex | |
## task of "publishing" a branch, i.e., taking a local branch, creating a | |
## reference to it on a remote repo, and setting up the local branch to | |
## track the remote one, all in one go. you can even delete that remote | |
## reference. | |
## | |
## Usage: git publish-branch [-d] <branch> [repository] | |
## |
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 | |
# Go to root of the repository | |
echo 'Checking PHPCS'; | |
width=$(tput cols); | |
if [ `git rev-parse --verify HEAD` ]; then | |
against='HEAD' | |
else |