Skip to content

Instantly share code, notes, and snippets.

View lgg's full-sized avatar
Trying to make the world a better place

Fedor lgg

Trying to make the world a better place
View GitHub Profile
lgg / gist:4343c02a153c63bf0aa2ffc41d441bb3
Created July 30, 2023 19:56 — forked from jdye64/gist:ca07e01ff3d8e93210c3
Convert .dav files in current directory to .mp4
print "Converting all of the .dav files in this current directory into .mp4 files using ffmpeg"
import os
from subprocess import call
files = [f for f in os.listdir('.') if os.path.isfile(f)]
for f in files:
ext = f.split(".")[-1]
if ext == "dav" or ext == "DAV":
lgg /
Created September 10, 2022 14:54 — forked from andrewssobral/
Tips and Tricks for Jetson AGX Xavier
lgg /
Created July 14, 2022 00:00 — forked from mate-h/
Reverse Engineering Python executable

Reverse engineering

Obtained binaries from Discord server. The download link:

Basic information about binaries. There are two main versions of the program in question: aimful-kucoin.exe and aimful-binance.exe. They are both Windows executables. From the FAQ section of the discord server, the following information is available:

In what language was this bot written?

  • Python.
lgg / telegram-desktop-multiple-accounts.rst
Created June 30, 2022 12:24 — forked from Nachtalb/telegram-desktop-multiple-accounts.rst
Add multiple accounts in Telegram Desktop [Linux | MacOSX | Windows]


Spoiler warning

Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the <details> tag... just make sure you close <details> afterward.

console.log("I'm a code block!");
lgg / vk-audio-downloader.js
Created June 30, 2022 12:24 — forked from abler98/vk-audio-downloader.js
Скрипт для скачивания музыки VK
Инструкция по использованию:
- заходим в раздел с аудиозаписями
- листаем в самый низ (чтобы прогрузились все аудиозаписи)
- открываем консоль браузера (F12 -> Консоль)
- вставляем код и нажимаем ENTER
- скачивание началось...
- браузер может потребовать разрешение на сохранение файлов, необходимо подтвердить действие
"use strict";
const { addObserver, notifyObservers } = Cc[";1"].
const { getEnumerator } = Cc[";1"].
const isBrowser = window => {
try {
return window.document.documentElement.getAttribute("windowtype") === "navigator:browser";
lgg /
Created June 30, 2022 12:24 — forked from st4lk/
Python: ( audio music downloader
# -*- coding: utf-8 -*-
Скрипт для скачивания музыки с сайта (
Принцип работы:
Скрипт проверяет сохраненный access_token. Если его нет или срок истек,
то открывается страница в браузере с запросом на доступ к аккаунту.