Skip to content

Instantly share code, notes, and snippets.

@ar-jan
ar-jan / nginx_ttrss_include.conf
Last active December 25, 2015 09:39 — forked from omega8cc/gist:1677835
omega8cc's nginx include example for wordpress, updated for Tiny Tiny RSS.
#######################################################
### nginx.conf site tt-rss vhost include start
### create as /var/aegir/config/includes/nginx_ttrss_include.conf
#######################################################
###
### deny crawlers without 403 response
###
if ($http_user_agent ~* (HTTrack|HTMLParser|libwww|wget) ) {
return 444;
diff -burp a/drupal/drush/civicrm.drush.inc b/drupal/drush/civicrm.drush.inc
--- a/drupal/drush/civicrm.drush.inc 2014-09-18 11:46:17.000000000 +0000
+++ b/drupal/drush/civicrm.drush.inc 2015-02-04 16:13:25.000000000 +0000
@@ -257,6 +257,20 @@ function civicrm_drush_command() {
* Implementation of drush_hook_COMMAND_validate for command 'civicrm-install'
*/
function drush_civicrm_install_validate() {
+
+ switch (substr(drush_core_version(), 0, 1)) {
+ case '7':

Keybase proof

I hereby claim:

  • I am ar-jan on github.
  • I am ar_jan (https://keybase.io/ar_jan) on keybase.
  • I have a public key ASBJsWkDfQsFXxc41-F21sMV0xVkRci702GfIe3an_5Ymgo

To claim this, I am signing this object:

{
"addons": {
"lidia-annotations@dig.hum.uu.nl": {
"updates": [
{
"version": "0.1",
"update_link": "https://github.com/UUDigitalHumanitieslab/lidia-zotero/releases/download/v0.1.0/lidia-zotero-0.1.0.xpi",
"update_hash": "sha256:xxxx",
"applications": {
"gecko": {