This file contains 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 | |
set -eo pipefail | |
if [ "$MYSQL_RANDOM_ROOT_PASSWORD" ] && [ -z "$MYSQL_USER" ] && [ -z "$MYSQL_PASSWORD" ]; then | |
# there's no way we can guess what the random MySQL password was | |
echo >&2 'healthcheck error: cannot determine random root password (and MYSQL_USER and MYSQL_PASSWORD were not set)' | |
exit 0 | |
fi | |
host="$(hostname --ip-address || echo '127.0.0.1')" |
This file contains 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
sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock |
This file contains 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
// ---- | |
// libsass (v3.1.0) | |
// ---- | |
@function strip-unit($num) { | |
@if type-of($num) == "number" { | |
@return $num / ($num * 0 + 1); | |
} @else { | |
@warn "Not a number value: #{num}"; | |
@return $num; |
This file contains 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
// ---- | |
// libsass (v3.1.0) | |
// ---- | |
@function strip-unit($num) { | |
@if type-of($num) == "number" { | |
@return $num / ($num * 0 + 1); | |
} @else { | |
@warn "Not a number value: #{num}"; | |
@return $num; |
This file contains 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
// ---- | |
// libsass (v3.1.0) | |
// ---- | |
@function strip-unit($num) { | |
@if type-of($num) == "number" { | |
@return $num / ($num * 0 + 1); | |
} @else { | |
@warn "Not a number value: #{num}"; | |
@return $num; |
This file contains 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
// ---- | |
// libsass (v3.1.0) | |
// ---- | |
@function strip-unit($num) { | |
@if type-of($num) == "number" { | |
@return $num / ($num * 0 + 1); | |
} @else { | |
@warn "Not a number value: #{num}"; | |
@return $num; |
This file contains 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
// ---- | |
// libsass (v3.1.0) | |
// ---- | |
@function strip-unit($num) { | |
@if type-of($num) == "number" { | |
@return $num / ($num * 0 + 1); | |
} @else { | |
@warn "Not a number value: #{num}"; | |
@return $num; |
This file contains 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
// ---- | |
// libsass (v3.1.0) | |
// ---- | |
@function strip-unit($num) { | |
@if type-of($num) == "number" { | |
@return $num / ($num * 0 + 1); | |
} @else { | |
@warn "Not a number value: #{num}"; | |
@return $num; |
This file contains 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
// ---- | |
// Sass (v3.4.4) | |
// Compass (v1.0.1) | |
// ---- | |
@mixin fancy-underline-support { | |
.cssgradients.backgroundsize.textshadow { | |
@content; | |
} | |
} |
This file contains 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
public List<report> getDashboardReports() | |
{ | |
// Get matching report folder ID | |
folder[] folders = [ | |
SELECT | |
id, | |
name, | |
developername | |
FROM | |
folder |
NewerOlder