I hereby claim:
- I am trq on github.
- I am trq (https://keybase.io/trq) on keybase.
- I have a public key whose fingerprint is 3AAF 3A5E D969 174C 8F0D 63D9 99E0 98C4 EE5D 02BF
To claim this, I am signing this object:
| // src/Trq/FooBundle/Helper/SingleProcess.php | |
| <?php | |
| namespace Trq\FooBundle\Helper; | |
| class SingleProcess | |
| { | |
| protected $callback; | |
| protected $fp; |
| <?php | |
| class Foo | |
| { | |
| public $bar = 'bob'; | |
| } | |
| class Whatever | |
| { | |
| public function __construct(Foo $foo) |
| <?php include 'login-register-header.php'; ?> | |
| <h2>Your Profile</h2> | |
| <p>Have your say, choose your avatar and more.</p> | |
| <h3>Your Avatar</h3> | |
| <?php | |
| require 'connect.php'; | |
| var_dump($_SESSION['user']); | |
| // Outputs the avatar based on the SQL entry | |
| if(!empty($_SESSION['user'])){ | |
| <?php | |
| $output = ''; | |
| SSH::run($commands, function($line) use (&$output) | |
| { | |
| $output .= $line; | |
| }); | |
| echo $output; |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| function write_config($key, $value) { | |
| require 'config.php'; | |
| $config[$key] = $value; | |
| file_put_contents('config.php', "<?php\n\n" . var_export($config, true)); | |
| } |
| SELECT * from vouchers v | |
| WHERE v.name = "?" | |
| AND (v.plan_type = "?" OR v.plan_type IS NULL) |
| irssi_notifier() { | |
| ssh freaks 'echo -n "" > ~/.irssi/fnotify; tail -f ~/.irssi/fnotify' | \ | |
| while read heading message; do | |
| url=`echo \"$message\" | grep -Eo 'https?://[^ >]+' | head -1`; | |
| if [ ! "$url" ]; then | |
| terminal-notifier -title "\"$heading\"" -message "\"$message\"" | |
| else | |
| terminal-notifier -title "\"$heading\"" -message "\"$message\"" -open "\"$url\""; | |
| fi; |
| sudo chown -R $USER:www-data /var/www | |
| find /var/www -type d -exec chmod 775 {} \; | |
| find /var/www -type d -exec chmod 664 {} \; | |
| chmod g+s /var/www |
| /** | |
| * Dvd | |
| * | |
| * @ORM\Table(name="dvd") | |
| * @ORM\Entity | |
| */ | |
| class Dvd | |
| { | |
| /** | |
| * @var integer |