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
lgg / README.md
Created August 28, 2026 05:22
How to fix: Your current account is not eligible for Google Antigravity, because it is not currently available in your location

Your current account is not eligible for Google Antigravity, because it is not currently available in your location

Your current account is not eligible for Antigravity. Try signing in with another personal Google account. Learn more by visiting the FAQ.

  1. Check your current country, do not apply for change yet: https://policies.google.com/country-association-form
  2. Before applying check and edit this:
  3. Delete all profiles with "bad countries" and add with allowed country https://payments.google.com/gp/w/u/0/home/settings
  4. Check and edit all Payment methods, delete "bad" https://payments.google.com/gp/w/u/0/home/paymentmethods
  5. Check addresses, delete "bad": https://payments.google.com/gp/w/u/0/home/addressbook
  6. Check location of Home/Work addresses, delete "bad": https://myaccount.google.com/personal-info
  7. Also its better to check from phone: You must log into the acc in Play Store app and go to Settings > General > Account and device preferences > Country and profiles. If you did add a fo
@lgg
lgg / README.md
Last active April 6, 2026 01:58
GIF creation guide
@lgg
lgg / gist:4343c02a153c63bf0aa2ffc41d441bb3
Created July 30, 2023 19:56 — forked from jdye64/gist:ca07e01ff3d8e93210c3
Convert .dav files in current directory to .mp4
#!/usr/bin/python
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
lgg / agx_xavier_tips-and-tricks.md
Created September 10, 2022 14:54 — forked from andrewssobral/agx_xavier_tips-and-tricks.md
Tips and Tricks for Jetson AGX Xavier
@lgg
lgg / python-reverse-engineering.md
Created July 14, 2022 00:00 — forked from mate-h/python-reverse-engineering.md
Reverse Engineering Python executable

Reverse engineering

Obtained binaries from Discord server. The download link: https://drive.google.com/file/d/1xPP9R2VKmJ9jwNY_1xf1sVVHlxZIsLcg

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
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]

Demo:

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
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["@mozilla.org/observer-service;1"].
getService(Ci.nsIObserverService);
const { getEnumerator } = Cc["@mozilla.org/appshell/window-mediator;1"].
getService(Ci.nsIWindowMediator);
const isBrowser = window => {
try {
return window.document.documentElement.getAttribute("windowtype") === "navigator:browser";