Update 2025-07-16: Use either Revanced, NewPipe or Firefox with add-ons. Revanced is my personal pick, due to it being a mod of the official App like Vanced, but better (e.g. it has integration of Sponsor Block, Return YouTube Disklike and more).
I wouldn't recommend Kiwi Browser anymore as it has been discontinued. AFAIK it has been accuired by Microsoft and the extension support has been merged into Edge (Canary). But you'd have to use Edge. Yuck.
/* 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) |
.FORM_CLASS { | |
// Form styles | |
&--complete { | |
#submitForm { | |
position: relative; | |
&::after { | |
content: ""; | |
position: absolute; | |
z-index: 100; | |
cursor: not-allowed; |
/* 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.
<?php | |
namespace App\Traits; | |
use Illuminate\Http\JsonResponse; | |
use Symfony\Component\HttpFoundation\Response; | |
trait ApiResponses | |
{ | |
/** |
# 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 | |
-javaagent:/home/tunknown/.apps/dbeaver/dbeaver-agent.jar |
<?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()); |
/** | |
* @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: [], |