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
name: sailing-the-seas | |
services: | |
# Torrent searching | |
prowlarr: | |
image: lscr.io/linuxserver/prowlarr:latest | |
container_name: Prowlarr | |
environment: | |
- PUID=1000 |
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
2024-12-01 01:32:39.2|Trace|CommandQueueManager|Updating command status | |
2024-12-01 01:32:39.3|Trace|EventAggregator|Publishing CommandUpdatedEvent | |
2024-12-01 01:32:39.3|Trace|EventAggregator|CommandUpdatedEvent -> CommandController | |
2024-12-01 01:32:39.3|Trace|EventAggregator|CommandUpdatedEvent <- CommandController | |
2024-12-01 01:32:39.3|Trace|EventAggregator|Publishing CommandExecutedEvent | |
2024-12-01 01:32:39.3|Trace|EventAggregator|CommandExecutedEvent -> TaskManager | |
2024-12-01 01:32:39.3|Trace|EventAggregator|CommandExecutedEvent <- TaskManager | |
2024-12-01 01:32:39.3|Trace|EventAggregator|CommandExecutedEvent -> TaskController | |
2024-12-01 01:32:39.3|Trace|EventAggregator|CommandExecutedEvent <- TaskController | |
2024-12-01 01:32:39.3|Trace|EventAggregator|CommandExecutedEvent -> QualityDefinitionController |
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
$('body').on('click','#log',function(){ | |
alert('!'); | |
}); |
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 just the code for the button and hidden input --> | |
<input id="backdrop_upload_button" value="Upload/Select Image" type="button" class="button" /> | |
<input type="hidden" name="the_image" id="the_image" value="<?= $settings['the_image'] ?>" /> |
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
# What this does is enable rewriting, then checks if your trying to access something that exits | |
# if not it will take you to the index, with the path your requesting attached to the url varible | |
Options +FollowSymLinks | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-l | |
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L] |
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 javascript will create a complex google javascript map with multiple locations selected marked. The | |
// map will be centered in the middle and zoomed so that all point can be seen. It also stylizes the map | |
// making it mostly desaturated with bits of orange. More explanation as to how to set this up and change it | |
// at the url. | |
// http://fatfolderdesign.com/607/code/google-maps-api-2-the-second-post-multiple-locations-map-styling-and-the-new-geolocation | |
window.onload = function(){ | |
// Define addresses, define varible for the markers, define marker counter | |
var addrs = ['219 4th Ave N Seattle Wa 98109','200 2nd Avenue North Seattle Wa 98109','325 5th Ave N Seattle Wa 98109']; | |
var markers = []; |
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 javascript will create a google map on the div with the ID "the_map" and centered on an address with | |
// a marker on it. In this example the address is for Jet City Improv. More information on setup and | |
// customization at: | |
// http://fatfolderdesign.com/607/code/google-maps-api-2-the-second-post-multiple-locations-map-styling-and-the-new-geolocation | |
window.onload = function(){ | |
var geocoder = new google.maps.Geocoder(); | |
geocoder.geocode({'address':'5510 University Way NE Seattle, WA 98105'},function(result,status){ | |
if(status==google.maps.GeocoderStatus.OK){ | |
var map = new google.maps.Map(document.getElementById("the_map"),{ |
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
<!-- Below are several different types of google static maps. | |
The first is a map with a single marker on the Space Needle. The second is one with 3 marks, one on the Space | |
Needle, one on the Seattle Science Center, and One on the EMP Museum. The last three have the same 3 markers | |
but varios styles. | |
Generally markers are separated with "|" pipes, styles are a bit more complex and require multiple parts | |
separated with pipes and for more advanced stuff multiple markers. I have a writeup at: | |
http://fatfolderdesign.com/607/code/google-maps-api-2-the-second-post-multiple-locations-map-styling-and-the-new-geolocation --> |
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 should take everything in the path and pass it to the index file as the path get varible | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} !index.php | |
RewriteRule (.*) index.php?page=$1 [QSA,L] | |
# More explanation : http://fatfolderdesign.com/583/php/ajax-sites-with-real-url-using-history-pushstate |
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
// The Base Function | |
wp_redirect('http://www.urlofsite.com/path/to/location',301); | |
/* This needs to be run on an action, or at least I wanted able to get it to run outside of an action, I suggest template_redirect */ | |
// In Use Example | |
add_action('template_redirect', 'redirect'); | |
function redirect(){ | |
if($redirect){ | |
wp_redirect(get_bloginfo('url').'/wp-content/plugins/redirector/site/index.php',302); |