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
<?php | |
/** | |
* An helper file for Laravel 4, to provide autocomplete information to your IDE | |
* Generated with https://github.com/barryvdh/laravel-ide-helper | |
* Updated for Laravel 4.1.8 (2013-12-13) | |
* | |
* @author Barry vd. Heuvel <[email protected]> | |
*/ | |
exit('Only to be used as an helper for your IDE'); |
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
# Autogenerated configuration file template | |
################################# | |
# allow-axfr-ips If enabled, restrict zonetransfers to originate from these | |
# IP addresses | |
# | |
allow-axfr-ips=10.0.0.2 | |
################################# | |
# allow-recursion List of netmasks that are allowed to recurse | |
# |
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
# Autogenerated configuration file template | |
################################# | |
# allow-axfr-ips If enabled, restrict zonetransfers to originate from these | |
# IP addresses | |
# | |
# allow-axfr-ips= | |
################################# | |
# allow-recursion List of netmasks that are allowed to recurse | |
# |
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
#!/usr/bin/env bash | |
echo ">>> Installing Supportly Customisations..." | |
laravel_root_folder="/vagrant" | |
# Test if Composer is installed | |
composer --version > /dev/null 2>&1 | |
COMPOSER_IS_INSTALLED=$? |
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
#!/usr/bin/env bash | |
echo ">>> Installing BindHub specific customisations..." | |
laravel_root_folder="/vagrant" | |
# Test if Composer is installed | |
composer --version > /dev/null 2>&1 | |
COMPOSER_IS_INSTALLED=$? |
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
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<system.webServer> | |
<urlCompression doDynamicCompression="true" doStaticCompression="true" dynamicCompressionBeforeCache="true"/> | |
<staticContent> | |
<remove fileExtension=".svg" /> | |
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> | |
<mimeMap fileExtension=".woff" mimeType="application/font-woff" /> | |
<clientCache httpExpires="Sun, 29 Mar 2020 00:00:00 GMT" cacheControlMode="UseExpires" /> | |
</staticContent> |
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 static string DegreesToCardinal(double degrees) | |
{ | |
string[] caridnals = { "N", "NE", "E", "SE", "S", "SW", "W", "NW", "N" }; | |
return caridnals[ (int)Math.Round(((double)degrees % 360) / 45) ]; | |
} | |
public static string DegreesToCardinalDetailed(double degrees) | |
{ | |
string[] caridnals = { "N", "NNE", "NE", "ENE", "E", "ESE", "SE", "SSE", "S", "SSW", "SW", "WSW", "W", "WNW", "NW", "NNW", "N" }; | |
return caridnals[ (int)Math.Round(((double)degrees*10 % 3600) / 225) ]; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer