Skip to content

Instantly share code, notes, and snippets.

View KevinNitroG's full-sized avatar
🤔
Am I existing?

Kevin Nitro KevinNitroG

🤔
Am I existing?
View GitHub Profile
@nikolovlazar
nikolovlazar / keybindings.json
Last active September 23, 2024 22:15
VSCode key bindings to navigate like Neovim
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
@alexgleith
alexgleith / SimpleLoadS2.ipynb
Last active June 21, 2024 10:35
Simplest example for finding and loading Sentinel-2 data using Python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@monokaijs
monokaijs / Download Tiktok Videos.md
Last active September 13, 2024 03:55
Download Video Tiktok

Hướng dẫn

Vào một trang video Tiktok bất kỳ, copy đoạn code phía dưới, quay lại trang xem video Tiktok rồi nhấn Ctrl + Shift + I (hoặc Command + Shift + I trên Macbook). Sau đó qua tab console, paste đoạn code vào rồi nhấn Enter, chờ tí tẹo Video sẽ bắt đầu tải.

(function () {
  const videoEl = document.querySelector('video');
  function downloadVideo(url) {
    fetch(url).then(response => {
      if (!response.ok) throw new Error(`HTTP error! Status: ${response.status}`);
      return response.blob();
@dragid10
dragid10 / fix-libfprint.py
Last active March 31, 2024 05:01
Clear Fingerprints (Framework)
# Import PyGObject
# PyGObject is a Python package which provides bindings for GObject based libraries such as GTK, GStreamer, WebKitGTK, GLib, GIO and many more.
from gi import require_version
# for arguments
from sys import argv
from os import geteuid
if geteuid() != 0:
exit("You need to have root privileges to run this script.\nPlease try again, this time using 'sudo'. Exiting.")
@hosaka
hosaka / brave-scoop-user-data-fix.md
Last active September 21, 2024 08:06
Brave browser installed via scoop with Windows default app associated opens links in an empty data dir

Setup

  1. Install brave with scoop.sh
scoop install brave
  1. Open Brave and set it as default from Settings->Set Brave as your default browser. You can also open settings with brave://settings/
  2. Open Windows settings, go to Apps->Default apps and click on Brave in the "Set defaults for applications" list. Click on "Set default" next to "Make Brave your default browser"

Problem

@noghartt
noghartt / rss.opml
Last active August 9, 2024 03:45
My current list containing all RSS feeds that I think that is useful
<?xml version="1.0" encoding="UTF-8"?>
<!-- OPML generated by NetNewsWire -->
<opml version="1.1">
<head>
<title>Subscriptions-OnMyMac.opml</title>
</head>
<body>
<outline text="AAAS: Keyword search for query" title="AAAS: Keyword search for query" description="" type="rss" version="RSS" htmlUrl="https://www.science.org/" xmlUrl="https://www.science.org/blogs/pipeline/feed"/>
<outline text="News" title="News">
<outline text="Ars Technica - All content" title="Ars Technica - All content" description="" type="rss" version="RSS" htmlUrl="https://arstechnica.com/" xmlUrl="https://feeds.arstechnica.com/arstechnica/index"/>
@rigwild
rigwild / record.vb
Created March 7, 2022 11:17
Export Powerpoint presentation as a 60 fps video
' Save presentation as pptm then create a macro in "View > Macros", run it
Sub MkVideo()
If ActivePresentation.CreateVideoStatus <> ppMediaTaskStatusInProgress Then
ActivePresentation.CreateVideo FileName:=Environ("USERPROFILE") & "\Desktop\video.wmv", _
UseTimingsAndNarrations:=True, _
VertResolution:=1080, _
FramesPerSecond:=60, _
Quality:=100
Else: MsgBox "There is another conversion to video in progress"
End If
@mcxiaoke
mcxiaoke / miui-safe-disabled-apps.md
Last active July 31, 2024 01:37
MIUI Safe Disabled Apps (MIUI 13)

Intro

Disable app pm disable-user app.package.name

Re-enable it pm enable app.package.name

Uninstall app Sometimes uninstall command may not work without -k option on un-rooted devices

@mcxiaoke
mcxiaoke / miui-blotware-apps.md
Last active September 26, 2024 09:08
MIUI 13/14 bloatware apps, updated at 20240816

对于所有应用,不建议直接删除,使用adb shell pm disable-user package-name禁用即可,方便出问题时恢复。

DO NOT UNINSTALL:

  • com.miui.securitycenter
  • com.miui.securityadd
  • com.xiaomi.finddevice

(Don’t uninstall these three apps or services from your Xiaomi device. Otherwise, you may encounter device bricking or bootloop issues.)

@rmtsrc
rmtsrc / README.md
Last active March 31, 2024 05:38
Remove existing fingerprints from Goodix BIOS via libfprint

Install

Fixes issue with Goodix fingerprint reader when a fingerprint has already been enrolled in the BIOS, but then the OS has been removed (without un-enrolling the fingerprint first). I.e. fprintd device reported an error during enrol: Finger is too similar to another, try use a different finger

sudo pamac install base-devel meson gobject-introspection gtk-doc

git clone https://gitlab.freedesktop.org/libfprint/libfprint.git

cd libfprint