Skip to content

Instantly share code, notes, and snippets.

View ThePixelDeveloper's full-sized avatar

Mathew Davies ThePixelDeveloper

View GitHub Profile
@ThePixelDeveloper
ThePixelDeveloper / .zshrc
Created September 14, 2015 09:34
Antigen configuration
source ~/antigen/antigen.zsh
# Load colours
autoload -U colors && colors
# Parse prompt string
setopt promptsubst
antigen use oh-my-zsh
antigen bundle git
I asked this girl on a date, I got denied, and then i called her and left a message saying she was a cunt, a robot, and that she had acadamia. I waited about 3 months and then i sent a bunch of emails and she didn't resond until about two thirds of the way through them. Then she didn't reply to the rest of them so I went to her house to talk to her in person, and I think she called a detective and turned in the emails to the school and then I got kicked out, only two quarters away for graduating. here is what I sent her before going to dorm and simply standing on the outside looking in the window for about half an our before being confronted by her friend to leave, which i did.
hi mel, I didn't ,mean any of the mean things i said, and I don't want you to think that I am trying to make you feel bad about not wanting to go on that date because It's just a date, It really doesn't make a difference if it's not what you want to do then we don't have to do it. It's not like it's really anything special because we'
@ThePixelDeveloper
ThePixelDeveloper / selenium.bash
Created June 11, 2013 15:55
init.d file for selenium
#!/bin/bash
### BEGIN INIT INFO
# Provides: selenium
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start selenium at boot time
# Description: Enable service provided by selenium.
### END INIT INFO
file { 'create sasl_passwd':
ensure => present,
owner => root,
group => root,
path => '/etc/postfix/sasl_passwd',
source => 'puppet:///modules/postfix/sasl_passwd',
require => Package['postfix'],
} ->
exec { 'postmap hash:/etc/postfix/sasl_passwd':
@ThePixelDeveloper
ThePixelDeveloper / ni.bash
Created January 15, 2013 11:01
No internet command
#!/bin/bash
COMMAND="$1"
shift
for arg; do
COMMAND="$COMMAND \"$arg\""
done
sg no-internet "$COMMAND"
@ThePixelDeveloper
ThePixelDeveloper / UsersCommand.php
Created December 9, 2012 16:33
Generating 15,000 fake users for local development
<?php
namespace Nolimits\Dummy\Commands;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
@ThePixelDeveloper
ThePixelDeveloper / PKGBUILD.txt
Created January 5, 2012 13:33
AUR - chromedriver
# Maintainer: grimsock <lord.grimsock at gmail dot com>
pkgname=chromedriver
pkgver=18.0.995.0
pkgrel=1
pkgdesc="ChromeDriver is a standalone server which implements WebDriver's wire protocol"
arch=('i686' 'x86_64')
url="http://code.google.com/p/selenium/wiki/ChromeDriver"
license=('Apache')
depends=('chromium>=12.0.712.0' 'libpng12')
arg: 5.3.0
Source directory does not exist; trying to extract
php-5.3.0
php-5.3.0/ext
php-5.3.0/ext/gd
php-5.3.0/ext/gd/gd.c
php-5.3.0/ext/gd/gd_ctx.c
php-5.3.0/ext/gd/libgd
php-5.3.0/ext/gd/libgd/gd.c
php-5.3.0/ext/gd/libgd/gd.h
<?php
/**
* The directory in which your application specific resources are located.
* The application directory must contain the bootstrap.php file.
*
* @see http://kohanaframework.org/guide/about.install#application
*/
$application = '';
/**
<phpunit colors="true" bootstrap="../../application/test_bootstrap.php">
<testsuites>
<testsuite name="Exchange">
<directory suffix=".php">tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./classes/policy</directory>
</whitelist>