I hereby claim:
- I am dogmatic69 on github.
- I am dogmatic69 (https://keybase.io/dogmatic69) on keybase.
- I have a public key whose fingerprint is 57CD 94AF F90D 1C18 C9AD B8C4 C616 7B02 CD5D 8480
To claim this, I am signing this object:
pgweb: | |
image: sosedoff/pgweb:latest | |
links: | |
- "postgresql:db" | |
environment: | |
DATABASE_URL: "postgres://postgres:postgres@db:5432/postgres" |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* A bunch of methods that can be used to aid the development and release of | |
* an Application | |
* | |
* Copyright (c) 2010 Carl Sutton ( dogmatic69 ) | |
* | |
* @filesource | |
* @copyright Copyright (c) 2010 Carl Sutton ( dogmatic69 ) | |
* @link http://www.infinitas-cms.org |
<?php | |
class Foo { | |
function bar($a, $b, $c) { | |
echo '$a - $b - $c :: ' . implode(' - ', func_get_args()); | |
} | |
} | |
function angular($callable, $args) { | |
$reflection = new ReflectionMethod($callable[0], $callable[1]); | |
$params = array(); |
#!/bin/bash | |
DAY=$(date +"%a") | |
NOW=$(date +"%Y-%m-%d") | |
DATETIME=$(date +"%Y-%m-%d-%H:%M") | |
BACKUPHOME=/home/backups | |
BACKUPWORKING=$BACKUPHOME/.working | |
BACKUP=$BACKUPWORKING/.$$ | |
EMAIL="some@email.com" |
[ | |
{ "keys": ["ctrl+shift+a"], "command": "select_all" }, | |
{ "keys": ["ctrl+a"], "command": "expand_selection", "args": {"to": "scope"} }, | |
{ "keys": ["alt+shift+f"], "command": "reindent", "args": {"single_line": false} } | |
] |
<?php | |
/** | |
* Class with private methods that you need to access | |
*/ | |
class Something { | |
private function _wtf() { | |
return 'yey'; | |
} |
#!/bin/sh | |
cd .. | |
env -i git reset --hard | |
env -i git submodule update --recursive | |
env -i Console/cake data.clear_cache |
#!/bin/bash | |
################################## | |
# Convert files to png # | |
# # | |
# # | |
################################## | |
files=`ls ./`; | |
if [ ! -d png ] | |
then |
#!/usr/bin/php5 | |
<?php | |
$branches = array_filter(explode("\n", `git branch -r`)); | |
`clear`; | |
foreach((array)$branches as $branch) { | |
echo sprintf("Working on %s\n======================================\n\n", $branch); | |
$commands = array(); | |
$branch = trim($branch); | |
if(empty($branch)) { |