Skip to content

Instantly share code, notes, and snippets.

Danny Kopping dannykopping

View GitHub Profile
dannykopping / ansi-color.php
Created Jun 15, 2016 — forked from superbrothers/ansi-color.php
ANSI color terminal output module for php
View ansi-color.php
* php-ansi-color
* Original
* @code
* <?php
* require_once "ansi-color.php";
View my.cnf
performance_schema = 0
table_definition_cache = 400
View gist:f57fe350e63f0fc12a44
["n", "Next unreviewed file", "nextUnreviewedFile()"],
["p", "Previous unreviewed file", "prevUnreviewedFile()"],
[null, "Next file", "nextFile()"],
[null, "Previous file", "prevFile()"],
["shift+n", "Next changed file", "nextChangedFile()"],
["shift+p", "Previous changed file", "prevChangedFile()"],
["x", "Mark file as reviewed / unreviewed", "toggleCurrentFileReviewed()"],
["j", "Next unreplied comment", "nextUnrepliedDiscussion()"],
["k", "Previous unreplied comment", "prevUnrepliedDiscussion()"],
View On Not Smoking
The pang, the lust
for the murky mist;
it shall be sorely missed.
A life without cigarettes
- eternal life attained.
Oh goody.
Without those minutes of smoky mirth,
activities seem devoid of punctuation.
dannykopping / gist:3841025
Created Oct 5, 2012
php composer.phar install - issues
View gist:3841025
Danny-Koppings-MacBook-Pro:spore-test dannykopping$ php composer.phar install
Loading composer repositories with package information
Installing dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for dannykopping/spore dev-master -> satisfiable by dannykopping/spore dev-master.
- dannykopping/spore dev-master requires dannykopping/docblock dev-master -> no matching package found.
Potential causes:
View phing-build-2.xml
<?xml version="1.0" encoding="UTF-8"?>
<project name="test-deploy-ci" default="default">
<target name="default">
<isset property="value.entered"/>
<echo msg="You entered: ${value.entered}"/>
test-deploy-ci > default:
Please enter a value: Bob # I typed "Bob" in
[echo] You entered: Bob
View phing-build-1.xml
<?xml version="1.0" encoding="UTF-8"?>
<project name="test-deploy-ci" default="default">
<target name="default">
<input message="Please enter a value:" propertyName="value.entered"/>
<echo msg="You entered: ${value.entered}"/>
dannykopping /
Created Apr 9, 2012
VersionControl_Git PEAR install
# set pear state to accept alpha packages
pear config-set preferred_state alpha
sudo pear install VersionControl_Git
# reset pear state
pear config-set preferred_state stable
# make sure you run this from the root of the project
behat tests/behat/
# Expected output:
# Feature: Test the Sample application
# Scenario Outline: Test the greeting # tests/behat/features/sample.feature:2
# Given that an instance exists # FeatureContext::thatAnInstanceExists()
# And its name is "<name>" # FeatureContext::itsNameIs()
# And make it greet me # FeatureContext::makeItGreetMe()
You can’t perform that action at this time.