Skip to content

Instantly share code, notes, and snippets.

View chardinson's full-sized avatar
📱

Chardinson Ventura chardinson

📱
  • Dominican Republic
View GitHub Profile
@M4he
M4he / via_offline.md
Created November 3, 2023 18:01
How to use the QMK VIA app offline on Linux

Using the VIA app offline on Linux

  1. make sure to configure the udev rule first
  2. prepare Node.js on your Linux system either by installing it from your system repositories or by downloading it from https://nodejs.org/en and adding it to your PATH variable
  3. clone the VIA app git repository from https://github.com/the-via/app, e.g. git clone https://github.com/the-via/app.git
  4. enter the directory of the cloned git repository in a terminal
  5. execute npm install to install the required node modules for the app (you only need to do that once)
  6. execute npm run start (this will start the app server on your local machine in the background)
  7. open the displayed localhost URL in your browser, for example http://localhost:5173/
  8. use the VIA app as usual (for NuPhy keebs remember to enable the design tab and load the JSON first)
@Klerith
Klerith / flutter-instalaciones.md
Last active July 24, 2024 21:10
Instalaciones del curso de Flutter - Móvil de cero a experto
@jdoss
jdoss / LUKS_and_TPM2_with_Fedora.md
Last active July 20, 2024 00:04
Decrypt LUKS volumes with a TPM on Fedora Linux

Decrypt LUKS volumes with a TPM on Fedora Linux

This guide allows you to use the TPM on your computer to decrypt your LUKS encrypted volumes. If you are worried about a cold boot attack on your hardware please DO NOT use this guide with your root volume!

Preflight Checks

Verify that you have a TPM in your computer:

# systemd-cryptenroll --tpm2-device=list
PATH DEVICE DRIVER
@MichaelCurrin
MichaelCurrin / export-netlix-list.md
Last active February 12, 2024 08:04
Export your list of favorite Netflix shows

Export Netflix List

Purpose

This gist helps your export names of shows on your Netflix profile list, so you can share those names with other people. You could put the output in a gist, blog post or email to your friends. I added mine as a gist here.

It will get the names of all the items on Netflix which are on My List. Shows that are your favorites or that you plan to watch. Note that this is separate from shows where you clicked the thumbs-up I like this button, which is more permanent, while you may want to trim your My List section down to remove shows you already watched. Unfortunately, I can't see any easy way to export all liked shows.

Requirements

@MrHallows
MrHallows / fastboot_help.md
Last active July 24, 2024 02:17
fastboot commands

Command:

$ fastboot help

Output:

usage: fastboot [OPTION...] COMMAND...

flashing:
@felangel
felangel / main.dart
Last active March 26, 2024 04:42
Bloc with SearchDelegate
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:bloc/bloc.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
# Install Node.js
sudo dnf install nodejs
#Install React Native
sudo npm install -g react-native-cli
sudo mount -o remount,size=50G /tmp/
# Download and install Android Studio
# https://developer.android.com/studio/install.html
@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active July 14, 2024 18:28
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();
#!/bin/bash
if [ $UID != "0" ]; then
echo "ERROR: You must run this script as root!"
exit 1
fi
dnf install \
@development-tools \
android-tools \
automake \
@smac89
smac89 / fbootfix.md
Last active January 25, 2024 03:27
Linux Fix Fastboot "no permissions, verify udev rules"

Determine your device id

  1. Unplug your device from the computer and type lsusb in the terminal. You should get an output similar to this:
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller