Renewal date.
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
| { | |
| "comment": "This works on https://xkpasswd.net/ but not with the Perl hsxkpasswd CLI tool.", | |
| "num_words": 2, | |
| "word_length_min": 4, | |
| "word_length_max": 8, | |
| "case_transform": "LOWER", | |
| "separator_character": "NONE", | |
| "padding_digits_before": 0, | |
| "padding_digits_after": 2, | |
| "padding_type": "NONE", |
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
| .filter(function() { | |
| return this.id.match(/[A-Z]*\-/) | |
| }) |
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/bash | |
| # Originally copied from https://linode.com/docs/applications/configuration-management/vagrant-linode-environments | |
| apt-get install apache2 -y | |
| mv /etc/apache2/ports.conf /etc/apache2/ports.conf.backup | |
| mv /etc/apache2/ports1.conf /etc/apache2/ports.conf | |
| a2dissite 000-default.conf | |
| a2ensite vhost.conf | |
| service apache2 reload |
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 perl | |
| # Convert from USD to AUD. | |
| # Time-stamp: <2009-03-15 19:55:57 claudine> | |
| use strict; | |
| use warnings; | |
| use Carp; | |
| use Finance::Quote; | |
| use Getopt::Long; |
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 python | |
| """ | |
| Calculate Body Mass Index. | |
| BMI = mass (kg) / height (m) ^ 2 | |
| Mass and height must be numbers. | |
| """ |
Use Git and git-flow to manage code.
If we're working across multiple major Drupal versions, prefix the branch with d7-, d8- etc.
Two options:
The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
I hereby claim:
- I am claudinec on github.
- I am claudinec (https://keybase.io/claudinec) on keybase.
- I have a public key whose fingerprint is C08E 1BCD 9B5B 1E9D 192F 3529 37AE 0BD2 7DA6 E10C
To claim this, I am signing this object:
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
| SELECT GROUP_CONCAT(name SEPARATOR ' and ') AS name, | |
| company_name, primary_address_1, primary_address_2, primary_city, primary_state, primary_postal_code, primary_country | |
| FROM db | |
| GROUP BY primary_address_1, primary_address_2, primary_city, primary_state, primary_postal_code, primary_country | |
| ORDER BY primary_country, primary_postal_code |