Skip to content

Instantly share code, notes, and snippets.

@Ryah
Ryah / customNetflixSubsForYoutube.js
Last active December 26, 2024 17:13 — forked from jcchikikomori/netflixSubForYoutube.js
Custom Netflix Youtube Subtitles (modified to optimize other videos that doesn't have line breaks)
// ==UserScript==
// @name YouTube Custom Netflix Subtitles
// @namespace http://userstyles.org
// @description The famous Netflix subtitltes with the drop shadow for YouTube. Added black outlines (lines 87-94) and fixed text-wrapping for subtitles without line breaks to prevent them running off screen.
// @author @Ryah
// @homepage https://gist.github.com/Ryah/b758ba5a76ccc91cb276107d8b7c0dfb#file-customnetflixsubsforyoutube-js
// @match https://www.youtube.com/watch*
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @require https://gist.githubusercontent.com/BrockA/2625891/raw/9c97aa67ff9c5d56be34a55ad6c18a314e5eb548/waitForKeyElements.js
// @run-at document-start
```
OCaml compilation pipeline
┌────────────────┐
│ │
│ Source code │
Tomado de : https://desarrolloweb.com/articulos/especificar-versiones-git-tag.html
Crear un tag
Se supone que cuando comienzas con un repositorio no tienes ninguna numeración de versión y ningún tag, por lo que empezaremos viendo cómo se crean.
Supongamos que empezamos por el número de versión 0.0.1. Entonces lanzarás el comando:
git tag v0.0.1 -m "Primera versión"
Como ves, es una manera de etiquetar estados del repositorio, en este caso para definir números de versión. Los acompañas con un mensaje, igual que se envían mensajes en el commit.
Nota: Este es el mecanismo que se conoce como "Etiquetas ligeras", existen otros tipos de etiquetado que es posible hacer mediante Git.
@almahmudbd
almahmudbd / browser-userscript-list.md
Last active December 26, 2024 17:12
some useful Userscript collection, can be used with a browser and tamper/violent monkey extension

Here is a collection of some useful userscripts that can be used with a browser along with the Tampermonkey or Violentmonkey extension. Please note that some scripts might be expired or no longer functional.

UserScript List

  1. FB - Clean my feeds - https://greasyfork.org/en/scripts/431970-fb-clean-my-feeds
  2. FB Mobile - Clean my feeds - https://greasyfork.org/en/scripts/479868-fb-mobile-clean-my-feeds
  3. Return YouTube Dislike - https://returnyoutubedislike.com/install
  4. Download protected PDF from GDrive - https://greasyfork.org/en/scripts/493184-download-protected-pdf-file-from-google-drive
  5. Selection and Copying Restorer - https://greasyfork.org/en/scripts/427575-selection-and-copying-restorer-universal
  6. Bypass All Shortlinks n Captcha (not sure) - https://greasyfork.org/en/scripts/431691-bypass-all-shortlinks
  7. Bypass All Shortlinks (debloated ver) - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated
#include <stdio.h>
#include <stdlib.h>
#define da_append(xs, x) \
do { \
if ((xs)->count >= (xs)->capacity) { \
if ((xs)->capacity == 0) (xs)->capacity = 256; \
else (xs)->capacity *= 2; \
(xs)->items = realloc((xs)->items, (xs)->capacity*sizeof(*(xs)->items)); \
} \
@jcchikikomori
jcchikikomori / netflixSubForYoutube.js
Last active December 26, 2024 17:07
Youtube Netflix Subtitles (modified to optimize other videos that doesn't have line breaks)
// ==UserScript==
// @name YouTube Netflix Subtitles
// @namespace http://userstyles.org
// @description The famous Netflix subtitltes with the drop shadow for YouTube.
// @author @ang3lo_azedo
// @homepage https://userstyles.org/styles/206563
// @include https://www.youtube.com/watch*
// @run-at document-start
// @version 0.20211221154624
// ==/UserScript==
@hunternsk
hunternsk / crc.c
Last active December 26, 2024 17:06
CRC-8-SAE J1850 test
// gcc crc.c -std=c99 -o crctest
#include <inttypes.h>
#include <stdio.h>
uint8_t crcTable[256];
uint8_t CalcCRC(uint8_t * buf, uint8_t len);
void CRCInit(void);
@tatumroaquin
tatumroaquin / archlinux-qemu-kvm.md
Last active December 26, 2024 17:06
QEMU-KVM Installation for Arch Linux

QEMU-KVM in Arch Linux

Check Virtualization Support

lscpu | grep -i Virtualization
  • VT-x for Intel
  • AMD-Vi for AMD

Ensure that your kernel includes KVM modules

@joao-neves95
joao-neves95 / emu8086-license-key.txt
Last active December 26, 2024 17:05
emu8086 License Key
User: ISHAAN,glaitm
Key: 27R3VDEFYFX4N0VC3FRTQZX
@grugq
grugq / gist:03167bed45e774551155
Last active December 26, 2024 17:03
operational pgp - draft

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.