Skip to content

Instantly share code, notes, and snippets.

View LBranco27's full-sized avatar
💭
Old mechanical keyboards are really good

Lucas Branco LBranco27

💭
Old mechanical keyboards are really good
View GitHub Profile
@LBranco27
LBranco27 / convertl2ogg.c
Created July 18, 2023 20:57
Change the "L2SD" (used for some reason on lineage 2 music files) to "OggS" on .ogg files. Making it recognizable to common audio players.
#include <dirent.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main (int argc, char *argv[]) {
if (argc == 1){
printf("Usage: convertl2ogg [DIRECTORY]\n");
}
@LBranco27
LBranco27 / MFacebookVideoDWNLD.user.js
Last active July 29, 2020 15:05
Remove the attribute in the html video that prevents you from downloading video on m.facebook
// ==UserScript==
// @name MFacebookVideoDWNLD
// @namespace http://tampermonkey.net/
// @version 1.1.1
// @description Remove the attribute in the html video that prevents you from downloading video on m.facebook
// @author Lucas Branco
// @match https://m.facebook.com/*
// @grant none
// @run-at document-start
// ==/UserScript==