This middleware can connect to other namespaces.
moleculer.config.js
const InterNamespaceMiddleware = require("./inter-namespace.js");| #!/usr/bin/env python3 | |
| """ | |
| yt_to_mp3.py | |
| Download audio from YouTube video(s)/playlist(s) and save as MP3. | |
| Requirements: | |
| 1. Python 3.7+ | |
| 2. yt-dlp -> pip install -U yt-dlp (or use the menu's install/update option) | |
| 3. ffmpeg -> must be installed and available on your system PATH | |
| (see download links in the README / chat message) |
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\Collection; | |
| use Illuminate\Pagination\LengthAwarePaginator; | |
| class AppServiceProvider extends ServiceProvider | |
| { | |
| public function boot() |
| <?php | |
| use Notification; | |
| use Aws\Sns\Message; | |
| use Aws\Sns\MessageValidator; | |
| use Aws\Sns\Exception\InvalidSnsMessageException; | |
| class SNSController extends Controller | |
| { |
| <?php | |
| Route::group([ | |
| 'namespace' => 'Eder\Controllers\Aws', | |
| 'prefix' => 'aws', | |
| ], | |
| function () { | |
| Route::post('/sns/handle-bounces', 'SNSController@handleNotification'); | |
| } | |
| ); |
| <?php | |
| namespace Eder\Jobs; | |
| use Eder\Jobs\Job; | |
| use Illuminate\Contracts\Mail\Mailer; | |
| use Illuminate\Queue\SerializesModels; | |
| use Illuminate\Queue\InteractsWithQueue; | |
| use Illuminate\Contracts\Bus\SelfHandling; | |
| use Illuminate\Contracts\Queue\ShouldQueue; |
| "use strict"; | |
| const defaultsDeep = require("lodash/defaultsDeep"); | |
| /** | |
| * | |
| * | |
| * @class StatRequestStore | |
| */ | |
| class StatRequestStore { |
| <?php | |
| //Don't forget to change the namespace! | |
| namespace App\Traits; | |
| use Cron\CronExpression; | |
| use Illuminate\Support\Carbon; | |
| use Illuminate\Console\Scheduling\ManagesFrequencies; | |
| trait Schedulable{ |
| <div class="base"> | |
| <div class="menu"> | |
| <div class="icon"> | |
| <div class="bar"></div> | |
| </div> | |
| </div> | |
| <div class="icons"> | |
| <i class="fa fa-user" aria-hidden="true"></i> | |
| <i class="fa fa-calendar-o" aria-hidden="true"></i> | |
| <i class="fa fa-tachometer" aria-hidden="true"></i> |