Skip to content

Instantly share code, notes, and snippets.

This is a collection of Ubuntu fixes for Lenovo Legion 5i

Tested on: Lenovo Legion 5i with below specs:
AMD® Ryzen 7 4800h with radeon graphics × 16
NVIDIA Corporation / NVIDIA GeForce RTX 2060/PCIe/SSE2

1. GPU ISSUES for RTX 2060:

nvidia-driver-470 - HDMI doesn't have to work from the beginning
nvidia-driver-495 - HDMI works from the beginning, unstable (random reboots)\

@VV0JC13CH
VV0JC13CH / Record GIF animations in Bevy.md
Last active November 24, 2023 07:07
Simple GIF recorder in Bevy 0.12 (POC/test)

This code should work in Bevy 0.12

  1. Add to cargo (I do not plan to maintain this fork in the future):
[dependencies]
engiffen = {git = "https://github.com/VV0JC13CH/engiffen", branch = "master"}
chrono = "0.4.31"
  1. Create relative path inside your project: "./screenshots/temp It has to be relative to place where you execute "cargo run"
@VV0JC13CH
VV0JC13CH / twitter.js
Last active May 21, 2022 12:09 — forked from andreabazerla/twitter.js
Simple script in JavaScript to like all tweets on Twitter to get more followers and sooner or later ban :-)
setInterval(function () {
window.scrollTo(0, document.body.scrollHeight);
$('.ProfileTweet-actionButton.js-actionButton.js-actionFavorite:visible').click();
}, 1000);
@VV0JC13CH
VV0JC13CH / embedded_dbs_bench.py
Last active September 19, 2020 14:54 — forked from coleifer/run_bench.py
Simple benchmarking code. Description available here: https://bitstudio.dev/embedded-cross-platform-python-databases/
import os
import time
import shutil
# The databases!
from redis import Redis
from unqlite import UnQLite
from vedis import Vedis
import semidbm.db as SemiDBM
import sqlitedict