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
$info = [ | |
'deal' => [ | |
'name' => 'Plan Name', | |
'amount' => 100, | |
'stage_name' => 'won', | |
'closed_date' => '2017-06-02', | |
'deal_stage_id' => 'DEAL-STAGE-ID', | |
'sales_account' => [ | |
'name' => 'Account Name', | |
'website' => 'http://example.org' |
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
function sendFormByEmail(e) | |
{ | |
// Remember to replace this email address with your own email address | |
var email = "you@example.com"; | |
var s = SpreadsheetApp.getActiveSheet(); | |
var headers = s.getRange(1,1,1,s.getLastColumn()).getValues()[0]; | |
var message = ""; | |
var subject = "New Hire: "; |
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 script is now available at banbuilder.com or https://github.com/snipe/banbuilder |
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
# -------------------------------------------- | |
# REQUIRED: BASIC APP SETTINGS | |
# -------------------------------------------- | |
APP_ENV=production | |
APP_DEBUG=false | |
APP_KEY=ChangeMe | |
APP_URL=null | |
APP_TIMEZONE='UTC' | |
APP_LOCALE=en |
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
Upgrade Sentry to v 2.1.* |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Set some basic project information and targets --> | |
<project name="My ZF Project" default="build"> | |
<target name="build" | |
depends="prepare, lint, phploc, phpmd, phpcpd, phpcs, phpunit"/> | |
<target name="build-parallel" | |
depends="prepare,lint, tools-parallel, phpcpd, phpunit"/> |
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 | |
# Set these variables | |
USER_NAME="you@example.com" | |
API_KEY="XXXXXXXX_YOUR_DHQ_API_KEY_XXXXXXXXXXXXX" | |
START_REV='SOME_ARBITRARY_GIT_REVISION_HASH_TO_START_FROM' | |
DHQ_API_PROJ="your-project-shortname" | |
DHQ_BASE_URL="https://yoursite.deployhq.com/" | |
DHQ_SERVER_GROUP="YOUR_SERVER_GROUP_UUID" | |
DHQ_SERVER_USERNAME="your-server-username" |
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 | |
/** | |
* This service provider handles a few custom validation rules. | |
* | |
* PHP version 5.5.9 | |
* @package Snipe-IT | |
* @version v3.0 | |
*/ | |
namespace App\Providers; |
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
# Welcome to your htaccess file. | |
# Remember that modifying this file can break the entire website | |
# so please edit carefully. | |
# Also remember that the order of the rules below does matter, | |
# so be sure of what you're doing before shuffling things around. | |
AuthType Basic | |
AuthName "My Dev Environment" | |
# Specify what user/password file the server should look |
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
foreach (range(1,100) as $i) | |
echo (''==($x=($i%3==0?"Fuck You ":"").($i%5==0?"Choke on a Bag of Dicks":""))?$i:$x)."\n"; |