Skip to content

Instantly share code, notes, and snippets.

@s0j0hn
s0j0hn / mandros3.py
Created April 16, 2020 16:07 — forked from xassiz/mandros.py
Reverse MSSQL shell
import sys
import requests
import threading
import base64
from html.parser import HTMLParser
from http.server import BaseHTTPRequestHandler, HTTPServer
'''
Description: Reverse MSSQL shell through xp_cmdshell + certutil for exfiltration
Author: @xassiz
@tkfu
tkfu / srd_5e_monsters.json
Last active December 26, 2024 17:21
A JSON file with all the D&D 5e SRD monster data
[
{
"name": "Aboleth",
"meta": "Large aberration, lawful evil",
"Armor Class": "17 (Natural Armor)",
"Hit Points": "135 (18d10 + 36)",
"Speed": "10 ft., swim 40 ft. ",
"STR": "21",
"STR_mod": "(+5)",
"DEX": "9",
@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)); \
} \