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
/** | |
* Fix post permalink not overriding config permalink in Hexo v3.2.2 | |
* Add a `mypermalink: hello-example` to any post front-matter to override config. | |
* Place this script in your project/scripts directory (project/scripts/hexo-post-permalink-fix.js) | |
*/ | |
hexo.extend.filter.register('post_permalink', function(data) { | |
if (typeof data.mypermalink != "undefined") { | |
// unregister default post_permalink filter that doesn't respect custom post permalink | |
hexo.extend.filter.unregister('post_permalink', require('hexo/lib/plugins/filter/post_permalink') ); | |
// hacky way to bypass an error due to newly missing filter above |
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"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<false/> | |
<key>Label</key> | |
<string>homebrew.mxcl.elasticsearch24</string> | |
<key>ProgramArguments</key> | |
<array> |
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 | |
namespace App\Listeners; | |
use Hyn\Tenancy\Database\Connection; | |
use Hyn\Tenancy\Events; | |
use Hyn\Tenancy\Events\Database\Creating; | |
use Hyn\Tenancy\Traits\DispatchesEvents; | |
use Illuminate\Queue\InteractsWithQueue; | |
use Illuminate\Contracts\Queue\ShouldQueue; |
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
--- | |
openapi: 3.0.1 | |
info: | |
title: OpenWeatherMap API | |
description: 'Get current weather, daily forecast for 16 days, and 3-hourly forecast 5 days for your city. Helpful stats, graphics, and this day in history charts are available for your reference. Interactive maps show precipitation, clouds, pressure, wind around your location stations. Data is available in JSON, XML, or HTML format. **Note**: This sample Swagger file covers the `current` endpoint only from the OpenWeatherMap API. <br/><br/> **Note**: All parameters are optional, but you must select at least one parameter. Calling the API by city ID (using the `id` parameter) will provide the most precise location results.' | |
termsOfService: https://openweathermap.org/terms | |
contact: | |
name: OpenWeatherMap API | |
url: https://openweathermap.org/api | |
email: [email protected] |