Discover gists
! Custom static filter list - Sushant Aggarwal | |
!__________________________ Google & Youtube Ads __________________________ | |
# Zero Ads in Youtube Videos | No watermarks, Cards, Info. Nothing! Zilch! Nada! | |
||youtube.com/annotations_ | |
youtube.com##.ytp-ce-element-show | |
youtube.com##.ytp-ce-element | |
youtube.com##.ytp-cards-teaser-text | |
youtube.com##.ytp-cards-button-icon-default | |
youtube.com##.annotation-type-text.annotation |
Recently a friend of mine showed me a way to use hyperlinks on Discord. Discord has a markdown notation support, so users can enhance their messages with formatting, using bold, itallic, titles, etc. It's also possible to use what Discord calls masked links, which are hyperlinks, just like normal markdown, using the syntax [text](https://example.com)
. The result is the following:
In the context of cybersecurity, one of the first things that comes to mind is to try to make a fake link, putting another URL on the "text" part. It would be something like [https://malicious.com](https://example.com)
. By doing so, an user would see the URL https://example.com
, but by clicking on it, he would be redirected to https://malicious.com
.
UNLEASH ARTISTIC MASTERY WITH STABLE DIFFUSION!
There are similar text-to-image generation services like DALLE and MidJourney. Why use Stable Diffusion?
- Open-source: Many enthusiasts have created free tools and models.
- Designed for low-power computers.
- It’s free to download, use and run.
const I = x => x | |
const K = x => y => x | |
const A = f => x => f (x) | |
const T = x => f => f (x) | |
const W = f => x => f (x) (x) | |
const C = f => y => x => f (x) (y) | |
const B = f => g => x => f (g (x)) | |
const S = f => g => x => f (x) (g (x)) | |
const S_ = f => g => x => f (g (x)) (x) | |
const S2 = f => g => h => x => f (g (x)) (h (x)) |
import { Client } from "@upstash/qstash" | |
import { NextRequest } from "next/server" | |
const baseUrl = process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL | |
? `https://${process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL}` | |
: "http://localhost:3000" | |
interface Step<I> { | |
create: <O>(action: (prevResult: Awaited<I>) => O) => Step<O> | |
finally: (action: (prevResult: Awaited<I>) => any) => any |
https://git-scm.com/docs/pretty-formats
git config --list
git config core.editor code (configuring to use VsCode)
git config --global --edit (After you call to edit)
import numpy as np | |
import soundfile as sf | |
from scipy.fftpack import fft, ifft | |
def rotateSignal(signal,flip): | |
if flip: | |
signal = signal[::-1] | |
x = np.concatenate((signal, signal[1:][::-1])) # concatenating the array with a reverse of itself makes it such that the fourier transform doesn't layer over a reversed version of itself in the inverse fft | |
rotSig = np.real(ifft(x)) |
CREATE TABLE IF NOT EXISTS cards ( | |
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, | |
entry TEXT NOT NULL, | |
created_at TIMESTAMP DEFAULT (strftime('%s', 'now')) NOT NULL, | |
updated_at TIMESTAMP DEFAULT (strftime('%s', 'now')) NOT NULL | |
); | |
CREATE VIRTUAL TABLE IF NOT EXISTS cards_fts USING fts5( | |
entry, | |
content='cards', |