I hereby claim:
- I am aubreyhewes on github.
- I am aubz (https://keybase.io/aubz) on keybase.
- I have a public key ASC3wMoMN2EgSqyGR6DsvQ3LN5HpEPVUWbYneS5JLtOS-wo
To claim this, I am signing this object:
#!/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) |
#!/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 |
/** | |
* Configured "Multiple Domain" plugin does not redirect root properly when working with WPML... | |
* | |
* X.nl -> / | |
* Y.nl -> / | |
* X.com -> /en/ | |
* Y.com -> /en/ | |
*/ | |
function fix_multiple_domain_plugin_redirects() { | |
if (strpos(MULTIPLE_DOMAIN_DOMAIN, '.com') === false) { |
<?php | |
// | |
// Usage Example: | |
// importhorde.php -r sqlite:////roundcube.sqlite?mode=0646 -h mysql://user:pass@127.0.0.1:3306/horde -c -p | |
// | |
define('INSTALL_PATH', realpath(__DIR__ . '/..') . '/' ); | |
require_once INSTALL_PATH.'program/include/clisetup.php'; | |
ini_set('memory_limit', -1); |
I hereby claim:
To claim this, I am signing this object:
#!/usr/local/bin/bash | |
# Slack notification script for Munin | |
# Mark Matienzo (@anarchivist) | |
# | |
# To use: | |
# 1) Create a new incoming webhook for Slack | |
# 2) Edit the configuration variables that start with "SLACK_" below | |
# 3) Add the following to your munin configuration: | |
# |
#!/bin/bash | |
# After updating from 17.04 I get apt errors as the `ttf-mscorefonts-installer` package is not downloading | |
# the fonts properly timeouts/forbidden et al | |
sudo apt purge ttf-mscorefonts-installer | |
wget http://httpredir.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.7_all.deb | |
sudo apt install ./ttf-mscorefonts-installer_3.7_all.deb && rm ./ttf-mscorefonts-installer_3.7_all.deb |
IE9, IE10, and IE11 don't properly scale SVG files added with img
tags when viewBox
, width
and height
attributes are specified. View this codepen on the different browsers.
Image heights will not scale when the images are inside containers narrower than image widths. This can be resolved in 2 ways.
As per this answer on Stackoverflow, the issue can be resolved by removing just the width
and height
attributes.
############################################################################### | |
# The MIT License | |
# | |
# Copyright 2012-2014 Jakub Jirutka <jakub@jirutka.cz>. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
#!/bin/sh | |
# Reference ip6tables firewall rules for ICMPv6. | |
# Ref: https://www.cert.org/downloads/IPv6/ip6tables_rules.txt | |
# | |
# 11/07/2008 | |
# Ryan Giobbi, CERT | |
# | |
# Please send feedback to <rag@cert.org> | |
# Don't use these rules on production systems without testing. |