This file contains hidden or 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 | |
/** | |
* @file | |
* Drush policies to restrict what is allowed for certain drush commands. | |
*/ | |
/** | |
* Prevent production databases from being overwritten using drush sql-sync. | |
*/ |
This file contains hidden or 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/sh | |
# | |
# This script will hold your hand during the process of converting an existing Drupal 7 file field from public to private. | |
# | |
# http://twitter.com/thsutton | |
# http://www.linkedin.com/pub/thomas-sutton/55/391/350 | |
# http://thomas-sutton.id.au/ | |
set -eu |
This file contains hidden or 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 node | |
var path = require('path'), | |
fs = require('fs'), | |
extend = require('util')._extend, | |
exec = require('child_process').exec; | |
var appOptions = { | |
settings: 'settings.json', | |
port: 3000, | |
env: { |
This file contains hidden or 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 | |
# Startup Chimp testing instance | |
MONGO_PORT=3001 | |
METEOR_PORT=3100 | |
MONGO_URL=mongodb://localhost:$MONGO_PORT/chimp_db meteor --port $METEOR_PORT --settings=settings.json $@ |
This file contains hidden or 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
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; |
This file contains hidden or 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
$ find . -name '2016_apc_rvu.php' -print0 | xargs -0 perl -pi -e 's/<a href=\"surveys.php\" class=\"LeftNavLink\">SATRO\®\; Surveys</a><br>/<a href=\"surveys.php\" class=\"LeftNavLink\">SATRO\®\; Surveys</a><br>\n<a href=\"2016_apc_rvu.php\" class=\"LeftNavLink\">2016 APCs and RVUs</a><br>/g' | |
$ Can't find string terminator '"' anywhere before EOF at -e line 1. |
This file contains hidden or 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
describe('logActivity server method', function() { | |
it('saves an activity document to the posts collection', function() { | |
// Get the testuser document. | |
testUser = Meteor.users.findOne( { 'profile.userName': 'testuser' } ); | |
// Mock Meteor.userId(). | |
spyOn(Meteor, 'userId').and.returnValue(testUser._id); | |
// Mock inserts for activity. | |
spyOn(Activity, 'insert'); | |
type = 'post'; |
This file contains hidden or 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
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] |
This file contains hidden or 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 () { | |
'use strict'; | |
module.exports = function () { | |
var url = require('url'); | |
this.Given(/^I am a new user$/, function () { | |
//Reset the Database and reseed it |
This file contains hidden or 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
GitHub pull request #1 of commit c777da4ad9b015e776336635b18a55485a29c900, no merge conflicts. | |
Setting status of c777da4ad9b015e776336635b18a55485a29c900 to PENDING with url http://jenkins.blackboot.biz:8080/job/ci-test/18/ and message: Build started, sha1 is merged | |
Building in workspace /var/lib/jenkins/jobs/ci-test/workspace | |
> git rev-parse --is-inside-work-tree # timeout=10 | |
Fetching changes from the remote Git repository | |
> git config remote.origin.url https://github.com/hb5co/ci-test.git # timeout=10 | |
Fetching upstream changes from https://github.com/hb5co/ci-test.git | |
> git --version # timeout=10 | |
using .gitcredentials to set credentials | |
> git config --local credential.helper store --file=/tmp/git4317210699226004625.credentials # timeout=10 |