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 | |
# URL to fetch Cloudflare IP ranges | |
ipv4_url="https://www.cloudflare.com/ips-v4" | |
ipv6_url="https://www.cloudflare.com/ips-v6" | |
# Temporary files to store IP ranges | |
tmp_ipv4="/tmp/cloudflare_ipv4.tmp" | |
tmp_ipv6="/tmp/cloudflare_ipv6.tmp" |
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 the main Apache HTTP server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information. | |
# In particular, see | |
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html> | |
# for a discussion of each configuration directive. | |
# | |
# Do NOT simply read the instructions in here without understanding | |
# what they do. They're here only as hints or reminders. If you are unsure |
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
.alignnone { | |
margin: 0 20px 20px 0; | |
} | |
.aligncenter, | |
div.aligncenter { | |
display: block; | |
margin: 0 auto 0 auto; | |
} |
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
/** | |
* Initialise Swipers. | |
*/ | |
var swiper_no = 0; | |
var swipers = []; | |
$('.swiper-container').each(function() { | |
swiper_no++; | |
var slides = 1; | |
if($(this).data('slides')) { |
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
var $status = $('.nav.status.color-status span'); | |
$status.each( function() { | |
var $element = $( this ); | |
if ( $element.prop( 'title' ) == 'In Progress' || $element.prop( 'title' ) == 'Paused' ) { | |
$element.parent().parent().css( 'background-color', '#ffd699' ); |