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
Now that bitbucket supports git, it's easy to use their service as a free, private, offsite code backup. Just create an empty repo for your project on bitbucket, add it as a remote to your development repo: | |
username@host:~/project$ git remote add bitbucket https://[email protected]/username/project.git | |
### initial push of something in order for the mirror to succeed | |
username@host:~/project$ git push bitbucket master | |
The mirror command only works after the remote has been initially filled. | |
Use this post-commit hook to silently and automatically push your changes up after each commit. |
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 | |
### CUSTOM SETTINGS ### | |
USERNAME=<jira_username> | |
PASSWORD=<jira_password> | |
HOSTNAME=<jira_hostname> | |
### FIXED SETTINGS ### | |
DASHBOARD_PAGE_URL=http://${HOSTNAME}/secure/Dashboard.jspa | |
INDEX_PAGE_URL=http://${HOSTNAME}>/secure/admin/jira/IndexReIndex.jspa | |
COOKIE_FILE_LOCATION=jiracoookie |
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
aubrey@ubend:~/projectX$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Clearing any previously set forwarded ports... | |
[default] Creating shared folders metadata... | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... | |
[default] -- 22 => 2222 (adapter 1) | |
[default] Running 'pre-boot' VM customizations... | |
[default] Booting VM... |
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 bash | |
####################################################################################################################### | |
# | |
# Updates/Install the latest PhpStorm EAP | |
# | |
# -------------------------------------------------------------------------------------------------------------------- | |
# | |
# * Retrieves the current version from the EAP wiki | |
# * If the new version is not the current version (based on symlink to PhpStorm) then updates | |
# * Creates a symlink from versioned folder to PhpStorm |
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
/*jshint strict: false, -W116: false, -W098: false */ | |
/** | |
* Copy of the Bootstrap 3 Theme; tweaked for horizontal form (form-horizontal) | |
* | |
* @todo remove ridiculous amount of nesting; is a lib issue; create issue? | |
*/ | |
JSONEditor.defaults.themes.bootstrap3horizontal = JSONEditor.AbstractTheme.extend({ | |
labelWidth: 3, |
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
/*jshint strict: false, -W116: false, -W098: false */ | |
/*global jjv*/ | |
/** | |
* JJV Validation + own stuff (non production) .. uses jquery due to JSONEditor not exposing libraries | |
*/ | |
JSONEditor.Validator.JJV = JSONEditor.Validator.extend({ | |
_validateSchema: function (schema, value, path) { | |
var me = this, errors = [], valid, i, j; |
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 | |
// | |
// Usage Example: | |
// importhorde.php -r sqlite:////roundcube.sqlite?mode=0646 -h mysql://user:[email protected]:3306/horde -c -p | |
// | |
define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); | |
require_once INSTALL_PATH.'program/include/clisetup.php'; | |
ini_set('memory_limit', -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
<?php | |
// is default config.php though using db config from linked dokku-alt database via env var "DATABASE_URL" | |
// diff against original config.php for changes... | |
/** | |
* The base configurations of the WordPress. | |
* | |
* This file has the following configurations: MySQL settings, Table Prefix, | |
* Secret Keys, WordPress Language, and ABSPATH. You can find more information | |
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing |
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 | |
#################################################################################### | |
# | |
# Download Compile and Install BitchX on Ubuntu | |
# | |
#################################################################################### | |
# download bitchx source | |
# @todo make smarter, i.e. regexp, though now uses _always_ available commands (sic) |
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
FROM ubuntu:14.10 | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update && \ | |
apt-get upgrade -y --no-install-recommends && \ | |
apt-get install -y --no-install-recommends \ | |
build-essential \ | |
libssl-dev \ | |
ncurses-dev \ |
OlderNewer