This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SYMFONY="Symfony_Standard_Vendors_2.0.0BETA3.tgz" | |
APPLICATION_ROOT="/var/www" | |
REMOTE_IP="127.0.0.1" | |
DB_HOST="localhost" | |
DB_DRIVER="pdo_pgsql" | |
DB_USER="test" | |
DB_PASSWORD="test" | |
echo "Please enter the company name and project name (in the format CompanyName ProjectName)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Add an available argument to the list | |
* @param $name | |
* @param string $type | |
* @param string $description | |
* @param bool $required | |
*/ | |
public function addArgument($name, $type = self::ARG_TYPE_MIXED, $description = '', $required = false) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MatrixGenerateOption extends Custom_TaskOptionAbstract | |
{ | |
protected function configure() | |
{ | |
$this->addArgument('config', self::ARG_TYPE_FILE, 'The config file.', true); | |
$this->addArgument('dir', self::ARG_TYPE_STRING, 'The output directory.', true); | |
$this->addArgument('file', self::ARG_TYPE_STRING, 'The output filename.', true); | |
$this->addArgument('metanames', self::ARG_TYPE_FILE, 'The metaname file in text format.', true); | |
$this->addArgument('offset', self::ARG_TYPE_INT, 'The offset where to start. Defaults to 1.', false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input | |
id="val1" | |
type="text" | |
data-validate-required | |
data-validate-minlength="3" | |
data-validate-email /> | |
<input /> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'nokogiri' | |
require 'typhoeus' | |
require 'date' | |
module Agents | |
class TvrageAgent < Agent | |
cannot_receive_events! | |
def working? | |
!recent_error_logs? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo python -m smtpd -n -c DebuggingServer localhost:25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Generate qrcode images from a csv file | |
""" | |
import argparse | |
import csv | |
import qrcode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Setup and start Sauce Connect for your Codeship Build | |
CONNECT_URL="http://saucelabs.com/downloads/Sauce-Connect-latest.zip" | |
CONNECT_DIR="/tmp/sauce-connect-$RANDOM" | |
CONNECT_DOWNLOAD="Sauce_Connect.zip" | |
READY_FILE="connect-ready-$RANDOM" | |
# Get Connect and start it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ret_status="%(?:%{$fg_bold[green]%}%{$fg_bold[green]%}%m%{$reset_color%} ➜:%{$fg_bold[red]%}➜ )" | |
PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |
OlderNewer