Skip to content

Instantly share code, notes, and snippets.

@cstroe
cstroe / OpenSourceCRM.rst
Last active December 26, 2024 17:19
A distilled list of open-source CRM software
@Klerith
Klerith / flutter-instalaciones.md
Last active December 26, 2024 17:18
Instalaciones del curso de Flutter - Móvil de cero a experto
@dsample
dsample / README.md
Last active December 26, 2024 17:16
ASCII art diagrams

ASCI art characters for creating diagrams

Characters:

Single line

  • ASCII code 191 = ┐ ( Box drawing character single line upper right corner )
  • ASCII code 192 = └ ( Box drawing character single line lower left corner )
  • ASCII code 193 = ┴ ( Box drawing character single line horizontal and up )
  • ASCII code 194 = ┬ ( Box drawing character single line horizontal down )
@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);