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
/* | |
This is for demonstration purposes. Ideally, you should never use the star selector. | |
I recommend that you use this early on in your development, and then once you've established | |
your HTML element palette, go back and replace * with a comma-separated list of your | |
tag names. Additionally, the !important shouldn't have to be used, but I'm leaving it here | |
because some enterprising goons will probably copy and paste this directly into their project - | |
the !important will ensure these settings override other attempts that were either never | |
deleted or are part of an installed CSS file the user is unaware of. | |
*/ | |
* { |
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
// This is an example of how an array can be created and a recursive mixin used to generate complex css. | |
@platforms: "ios", "android", "windows", "amazon", "roku", "xbox", "xbox_one", "chrome"; | |
.loopPlatforms(@i) when (@i > 0) { | |
@name: extract(@platforms, @i); | |
@id: ~"#@{name}"; | |
a[href="@{id}"] { | |
background-image: url("/Content/images/apps/@{name}_off.png"); | |
} |
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 | |
GET_IP_URL="https://api.ipify.org/" | |
UPDATE_SCRIPT=$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )/update | |
LOGGER_SCRIPT=$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )/log | |
source $( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )/config | |
HOST_RESULT="$(host $freenom_domain_name 80.80.80.80)" | |
DNS_IP=$(echo $HOST_RESULT | cut -d' ' -f 12) | |
CURR_IP="$(curl -s $GET_IP_URL)" |