I hereby claim:
- I am teknikqa on github.
- I am teknikqa (https://keybase.io/teknikqa) on keybase.
- I have a public key whose fingerprint is 2DF7 6C8B 02F3 92F7 885B 6D14 0F8E 60C9 55D0 5294
To claim this, I am signing this object:
| <?php | |
| /** | |
| * @file | |
| * Drush policies to restrict what is allowed for certain drush commands. | |
| */ | |
| /** | |
| * Prevent production databases from being overwritten using drush sql-sync. | |
| */ |
| #!/usr/bin/env bash | |
| # | |
| # This script will purge the Varnish cache on Acquia for the given URLs | |
| # Requires cURL | |
| # | |
| # Usage purge-cache.sh <url> | |
| # Author: Nick Mathew <nm7.org> | |
| # Date: 2016-04-03 | |
| # |
| <?php | |
| /** | |
| * This script will initialize the fields for controlling research and publications | |
| * with the default value for all users. This field was added later and so this | |
| * step is necessary. | |
| * | |
| * Run this script only if email notifications are disabled or if reroute email | |
| * is enabled. | |
| * |
I hereby claim:
To claim this, I am signing this object:
| # new drupal vagrant install | |
| # A function, when added to bash profile, clones the Vagrant Drupal-Dev-VM (https://github.com/geerlingguy/drupal-dev-vm), | |
| # augments config (based on d7 or d8), renames the VM to something other than drupaltest.dev and starts vagrant up. Uses | |
| # include <newd 7 my-drupal-site> and <newd 8 my-other-drupal-site>. | |
| function newd { | |
| if [ $2 == ]; then | |
| echo 'USAGE: newd8 <version> <sitename>' |
| #allows a single uri through the .htaccess password protection | |
| SetEnvIf Request_URI "/testing_uri$" test_uri | |
| #allows everything if its on a certain host | |
| SetEnvIf HOST "^testing.yoursite.com" testing_url | |
| SetEnvIf HOST "^yoursite.com" live_url | |
| Order Deny,Allow | |
| AuthName "Restricted Area" | |
| AuthType Basic |
| <?php | |
| /** | |
| * Download helper to download files in chunks and save it. | |
| * | |
| * @author Syed I.R <[email protected]> | |
| * @link https://github.com/irazasyed | |
| * | |
| * @param string $srcName Source Path/URL to the file you want to download | |
| * @param string $dstName Destination Path to save your file | |
| * @param integer $chunkSize (Optional) How many bytes to download per chunk (In MB). Defaults to 1 MB. |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Responsive Design Testing</title> | |
| <style> | |
| body { margin: 20px; font-family: sans-serif; overflow-x: scroll; } | |
| .wrapper { width: 6000px; } | |
| .frame { float: left; } | |
| h2 { margin: 0 0 5px 0; } |