(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
type ShapeOf<T extends Record<string, any>> = keyof { | |
[K in keyof T as T[K] extends string ? K: T[K] extends Record<string, unknown> ? `${K & string}.${ShapeOf<T[K]> & string}` : never]: any | |
} | |
const locales = { | |
en: { | |
welcome: 'welcome', | |
job: { | |
title: 'Job title', |
<?php | |
namespace App\Http\Requests; | |
use Illuminate\Validation\Rule; | |
use App\Http\Requests\Request; | |
/** | |
* Class TestRequest. | |
*/ |
<?php | |
namespace App\Providers; | |
use App\Http\Requests\Request; | |
use Laravel\Lumen\Http\Redirector; | |
use Illuminate\Support\ServiceProvider; | |
use Symfony\Component\HttpFoundation\Request; | |
use Illuminate\Contracts\Validation\ValidatesWhenResolved; |
<?php | |
namespace App\Http\Requests; | |
use Illuminate\Http\Request; | |
use Illuminate\Http\Response; | |
use Illuminate\Http\JsonResponse; | |
use Laravel\Lumen\Http\Redirector; | |
use Illuminate\Container\Container; | |
use Illuminate\Contracts\Validation\Validator; |
/** | |
* | |
* @param transformFn | |
* @returns {{subscribe: *, subscribe: *, map: map, map: map, filter: filter, filter: filter, delay: delay, delay: delay, reduce: reduce, reduce: reduce}} | |
*/ | |
function map(transformFn){ | |
const inputObservable = this; | |
const outputObservable = createObservable(function subscribe(outputObserver) { | |
inputObservable.subscribe({ | |
next: function (x) { |
Execute this on YouTube.com JS console. Then refresh the page and click on your Profile Pic. | |
You will see new options | |
var cookieDate = new Date(); | |
cookieDate.setFullYear(cookieDate.getFullYear( ) + 1); | |
document.cookie="VISITOR_INFO1_LIVE=fPQ4jCL6EiE; expires=" + cookieDate.toGMTString( ) + "; path=/"; |
#!/usr/bin/python3 | |
# Joomla! <= 3.6.4 Admin TakeOver | |
#Make sure you have python3 on your machine | |
#To run the script: chnage the target url variable | |
#Then open terminal | |
#in bash run : python3 joomla_take_over.py | |
#thats it | |
import bs4 | |
import requests |