These are the current alternatives (with links when possible):
- NewPipe (which you should have either way for youtube-dl/yt-dlp integration)
- NewPipe fork by polymorphicshade, which includes SponsorBlock support.
- LibreTube (still in early beta)
- A web browser with uBlock Origin (or another ad-blocker; Enhancer for YouTube has one build-in, but uBlock is universal and more powerfull, in addition to allowing to also remove non-advertisement parts of the website, like the top shelf with recommended tags / search querries), Enhancer for YouTube, SponsorBlock and [Return YouTube Dislike](https://
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
/* Example using caching */ | |
import { ExpirationPlugin } from 'workbox-expiration'; | |
import { precacheAndRoute } from 'workbox-precaching'; | |
import { registerRoute } from 'workbox-routing'; | |
import { StaleWhileRevalidate } from 'workbox-strategies'; | |
// Inject workbox in Service Worker | |
precacheAndRoute(self.__WB_MANIFEST); | |
// Enable navigation preload (work in Chrome) |
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
.FORM_CLASS { | |
// Form styles | |
&--complete { | |
#submitForm { | |
position: relative; | |
&::after { | |
content: ""; | |
position: absolute; | |
z-index: 100; | |
cursor: not-allowed; |
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
/* Example using caching */ | |
import { ExpirationPlugin } from 'workbox-expiration'; | |
import { precacheAndRoute } from 'workbox-precaching'; | |
import { registerRoute } from 'workbox-routing'; | |
import { StaleWhileRevalidate } from 'workbox-strategies'; | |
// Inject workbox in Service Worker | |
precacheAndRoute(self.__WB_MANIFEST); | |
// Enable navigation preload (work in Chrome) |
A summary of the main ideas from the "Clean Code: A Handbook of Agile Software Craftsmanship" book by Robert C. Martin (aka. Uncle Bob).
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
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\Traits; | |
use Illuminate\Http\JsonResponse; | |
use Symfony\Component\HttpFoundation\Response; | |
trait ApiResponses | |
{ | |
/** |
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
# path on linux /usr/share/dbeaver/dbeaver.ini | |
# path on macos /Applications/DBeaverEE.app/Contents/Eclipse/dbeaver.ini | |
-vm | |
/usr/bin/java | |
-startup | |
plugins/org.eclipse.equinox.launcher_1.5.600.v20191014-2022.jar | |
--launcher.library | |
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.1100.v20190907-0426 | |
-vmargs | |
-XX:+IgnoreUnrecognizedVMOptions |
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 | |
$user = $request->user(); | |
$submissions = $user->submissions; | |
// do these in the end | |
$submissions = $submissions->sortByDesc(function($submission){ | |
return $submission->created_at; | |
}); | |
$submissions = array_values($submissions->toArray()); |
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
/** | |
* @usage: | |
* | |
* <CheckBox label="Foo" value="foo" v-model="MySelectedValues" /> | |
* <CheckBox label="Bar" value="bar" v-model="MySelectedValues" /> | |
* <CheckBox label="Baz" value="baz" v-model="MySelectedValues" /> | |
* | |
* data(){ | |
* return { | |
* MySelectedValues: [], |
NewerOlder