View .gitignore
/.idea/
/vendor/
/composer.lock
View PlaylistGenerator.php
<?php
namespace PetrKnap\Gist;
use DirectoryIterator;
use SplFileInfo;
class PlaylistGenerator
{
const TYPE_M3U = "m3u";
View rest-break
#!/usr/bin/env bash
#
# Pomodoro timer for zenity by Petr Knap <dev@petrknap.cz>
#
# Usage: ./rest-break <work_time> <rest_time>
#
if [ "$1" = "" ]
then
View phpunit.macro
#!/usr/bin/env bash
phpunit() {
local RETURN_CODE=0
for D in `find . -type f -name "phpunit.xml" -printf "%h\n"`
do
(
cd "$D"
echo "${PWD}"
command phpunit "$@"