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:
{ | |
"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", |
.filter(function() { | |
return this.id.match(/[A-Z]*\-/) | |
}) |
#!/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 |
#!/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; |
#!/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:
I hereby claim:
To claim this, I am signing this object:
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 |
<h3>Important Information</h3> | |
<p>Residents wishing to move in or out must pre-book their move date and time with a minimum of 48 hours notice. Moves can only be booked during the following times:</p> | |
<p>Monday – Friday: 9:00am – 1:00pm, 1:00pm – 4:00pm. | |
<br/>Saturday/Sunday/Public Holidays: No Bookings</p> | |
<h4>Lift Allocation</h4><p>Use of the Riverfront lift applies to apartments: 1LG - 6LG, 1G - 6G, 101A - 115A and 217A-229A ONLY. All other apartments to use the central lift.</p> | |
<h4>Hire of Ferry Vehicle</h4><p>A Ferry Vehicle is available for hire for a flat fee of $70.00. | |
<span id="read-more">Read more [+].</span> | |
<span id="read-full" style="display: none">View full information.</span></p> | |
<h4>Indemnity Form</h4><p>This form must be completed and signed in conjunction with the Building Manager. <span id="read-full">Download form.</span><p> |