- Dualboot Windows (youtube)
- Download Debian
- Installation Guide
- Extra packages to install:
vim-gtk3
curl
git
ripgrep
mpv
radeontop
- TLP Installation, battery optimization, battery FAQ
- Also see this issue
- Fingerprint Authentication (Debian wiki)
- You need to swipe the finger (top-to-bottom or bottom-to-top) over the sensor to give a full image of your fingerprint.
- See common problems for more details. After enrolling run `fpri
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on: https://alvinalexander.com/unix/edu/examples/find.shtml | |
# basic 'find file' commands | |
# -------------------------- | |
find / -name foo.txt -type f -print # find regular files under / with name foo.txt | |
find / -name foo.txt -type f # -print is the default action, and may be omitted | |
find . -name foo.txt # search under the current dir, and all types | |
find . -name "foo*" -type d # wildcard name-matching, and only directories | |
find /opt /usr /var -name foo.scala -type f # search multiple dirs | |
find . -iname foo # case-insensitive: foo, Foo, FOo, FOO, etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import traceback | |
import onnx | |
if len(sys.argv) != 2: | |
print(f"Usage: {sys.argv[0]} /path/to/model.onnx") | |
sys.exit(1) | |
model_path = sys.argv[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os.path | |
import gzip | |
import pickle | |
from zipfile import ZipFile | |
# from https://github.com/onnx/models/blob/8d50e3f/vision/classification/imagenet_val_maps.pklz | |
with gzip.open('imagenet_val_maps.pklz', 'rb') as f: | |
dirs, mappings = pickle.load(f) | |
src_dir = "ILSVRC/Data/CLS-LOC/val" | |
target_dir = "ILSVRC/val" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"keyMappings": "map h scrollUp\nmap k scrollDown\nmap j scrollLeft\n\nmap H previousTab\nmap K nextTab\nmap J goBack\n\nunmap zH\nunmap zL", | |
"linkHintCharacters": "arstwfpzxcvgd", | |
"searchEngines": "w: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia\ng: https://www.google.com/search?q=%s Google\ny: https://www.youtube.com/results?search_query=%s Youtube\naz: https://www.amazon.in/s/?field-keywords=%s Amazon India\ngm: https://www.google.com/maps?q=%s Google Maps\nfk: https://www.flipkart.com/search?q=%s Flipkart", | |
"searchUrl": "https://duckduckgo.com/?q=", | |
"settingsVersion": "2.1.2", | |
"exclusionRules": [ | |
{ | |
"passKeys": "", | |
"pattern": "https?://mail.google.com/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
P: Parts | |
C: Confusable | |
Ex: Example | |
Mn: Mnemonic | |
adv. -- adverb | |
n. -- noun | |
i-adj. -- I-adjective | |
na-adj. -- NA-adjective | |
prop. n. -- proper noun |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python3 | |
import libtorrent as lt | |
with open("/path/to/file.torrent", "rb") as f: | |
e = lt.bdecode(f.read()) | |
info = lt.torrent_info(e) | |
print(info.num_pieces(), 'pieces') | |
files = info.files() | |
def humanize(size_bytes): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: John C F <john.ch.fr [at] gmail [dot] com> | |
pkgname=woff2-bin | |
pkgver=1.0.2 | |
_debver=1.0.2-1 | |
pkgrel=1 | |
pkgdesc="Utilities for converting TTF fonts to the compressed WOFF 2.0 format, and vice versa." | |
url="https://github.com/google/woff2" | |
arch=(x86_64) | |
license=(MIT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!include nsDialogs.nsh | |
!include LogicLib.nsh | |
!include MUI2.nsh | |
Name nsDialogs | |
OutFile nsDialogs.exe | |
RequestExecutionLevel user | |
ShowInstDetails show | |
Var Dialog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"settingsVersion": "1.62", | |
"exclusionRules": [ | |
{ | |
"pattern": "https?://mail.google.com/*", | |
"passKeys": "" | |
} | |
], | |
"filterLinkHints": false, | |
"waitForEnterForFilteredHints": true, |
NewerOlder