Skip to content

Instantly share code, notes, and snippets.

View KevinNitroG's full-sized avatar
🤑
Money

Kevin Nitro KevinNitroG

🤑
Money
View GitHub Profile
@nikolovlazar
nikolovlazar / keybindings.json
Last active November 16, 2024 20:54
VSCode key bindings to navigate like Neovim
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
@KevinNitroG
KevinNitroG / README.md
Last active September 28, 2024 11:03
Triển khai khảo sát sự hài lòng của người học với trải nghiệm học tập (chỉ số IR3_dự án VUDP)

https://ks.vnuhcm.edu.vn/khao-sat/chi-tiet-khao-sat

f12 paste vào console lệnh dưới

Nguyên văn email

Chào các bạn sinh viên!

Với nhu cầu cấp thiết trong việc nâng cao chất lượng nguồn nhân lực trong bối cảnh hội nhập kinh tế và sự bùng nổ của thời đại công nghệ 4.0, trong khuôn khổ Dự án Phát triển các Đại học Quốc gia Việt Nam.

@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 November 1, 2024 18:17
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 November 18, 2024 08:30
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.)