Skip to content

Instantly share code, notes, and snippets.

View mkorostoff's full-sized avatar

Jersey Len mkorostoff

View GitHub Profile
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAum7mnwvFbPqb8v1h4dxBWnpZvv4Xtcj989Lp8WTJdtX+yEapXL4pn1cXYaxOgrBkHCWKA50PS1PM8rUhTA5tuEfQeghRzyD9U0YVNN2FPPEuU7a2hkOmwQ4wjHfd1gyLa5p+Qz7oZpl3nwcYliIyBuqLJCKFMFYiFnOPjVXlmmErP631p62nkj5NER2FxIk0dx6ONgvQde8gCHL9JzVRkfaOakQbZ9EJDbS/KeZiCRPH2L6ZmwbetiICtBW2ShGQqTBeIdk+9fybdssb4Up+2gL2b/tEIfS8rUz7IGf+oGx4Y2FSgu+t1UjBdSpBPTF036R8ofMvzeXSe5IRniMQsw== [email protected]
X orioles: shop -> talk
X capitals: shop -> talk
X lax -> dedupe
X ravens - dummy link in 'talk'
X capitals - dummy link in 'talk'
X orioles - invisible link in 'talk'
X terps - invisible link in 'talk'
X other -> dedupe
X other -> fantasy should have rlvnt content
merged upstream shop link -> fix padding, remove if not possible
@mkorostoff
mkorostoff / bootstrap.inc
Created October 17, 2012 19:42
RSN fast 404 conf
/**
* Returns a simple 404 Not Found page.
*
* If fast 404 pages are enabled, and this is a matching page then print a
* simple 404 page and exit.
*
* This function is called from drupal_deliver_html_page() at the time when a
* a normal 404 page is generated, but it can also optionally be called directly
* from settings.php to prevent a Drupal bootstrap on these pages. See
* documentation in settings.php for the benefits and drawbacks of using this.
function drushall {
echo '[Starting Houston Local]'
drush @houston.local "$@";
echo '[End Houston Local]'
echo '[Starting Baltimore Local]'
drush @baltimore.local "$@";
echo '[End Baltimore Local]'
echo '[Starting Washington Local]'
drush @washington.local "$@";
echo '[End Washington Local]'
function drushall {
echo -e '\033[38;5;148m[****Starting Houston Local****]\033[39m'
drush @houston.local "$@";
echo -e '\n\033[38;5;148m[****Starting Baltimore Local****]\033[39m'
drush @baltimore.local "$@";
echo -e '\n\033[38;5;148m[****Starting Washington Local****]\033[39m'
drush @washington.local "$@";
}
function drushall {
echo -e '\033[38;5;148m[****Starting Houston Local****]\033[39m'
drush @houston.local "$@";
echo -e '\n\033[38;5;148m[****Starting Baltimore Local****]\033[39m'
drush @baltimore.local "$@";
echo -e '\n\033[38;5;148m[****Starting Washington Local****]\033[39m'
drush @washington.local "$@";
}
function drushall_dev {
: git fetch acquia
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
3a:9d:c5:a5:d6:49:a9:a6:01:af:9d:f2:cf:76:d5:9e.
Please contact your system administrator.
function gbs {
git rev-list --left-right HEAD...origin/master -- 2>/dev/null >/tmp/git_upstream_status_delta || continue
LEFT_AHEAD=$(grep -c '^<' /tmp/git_upstream_status_delta)
RIGHT_AHEAD=$(grep -c '^>' /tmp/git_upstream_status_delta)
echo "current branch is (ahead $LEFT_AHEAD) | (behind $RIGHT_AHEAD) origin/master"
git rev-list --left-right HEAD...upstream/master -- 2>/dev/null >/tmp/git_upstream_status_delta || continue
LEFT_AHEAD=$(grep -c '^<' /tmp/git_upstream_status_delta)
RIGHT_AHEAD=$(grep -c '^>' /tmp/git_upstream_status_delta)
$ git diff --stat acquia/rsn-hotfix..acquia/rsn-prod
.gitignore | 3 +-
.../nbcsports/modules/custom/rsn/rsn.install | 12 +-
.../rsn_article_feed/rsn_article_feed.module | 43 +--
.../rsn_custom_page_content_type.info | 2 +-
.../rsn_custom_page_content_type.strongarm.inc | 19 +-
.../custom/rsn_dart/rsn_dart.dart_tag_default.inc | 24 -
.../rsn_dart.features.fe_block_settings.inc | 471 ++++++++++++++++++
.../modules/custom/rsn_dart/rsn_dart.info | 7 +-
.../themes/custom/rsn_base/css/custom.css | 4 -
function gbs {
git rev-list --left-right HEAD...origin/master -- 2>/dev/null >/tmp/git_upstream_status_delta || continue
LEFT_AHEAD=$(grep -c '^<' /tmp/git_upstream_status_delta)
RIGHT_AHEAD=$(grep -c '^>' /tmp/git_upstream_status_delta)
echo "current branch is (ahead $LEFT_AHEAD) | (behind $RIGHT_AHEAD) origin/master"
git rev-list --left-right HEAD...upstream/master -- 2>/dev/null >/tmp/git_upstream_status_delta || continue
LEFT_AHEAD=$(grep -c '^<' /tmp/git_upstream_status_delta)
RIGHT_AHEAD=$(grep -c '^>' /tmp/git_upstream_status_delta)