I hereby claim:
- I am sergey-cheperis on github.
- I am czz (https://keybase.io/czz) on keybase.
- I have a public key ASBD0ul_mi546i4ImIIoacpyzVmfSknyC0QY-UzsPhcjLQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Example program to decrypt passwords saved by Firefox for Windows. | |
// | |
// Uses NSS libraries: https://github.com/sergey-cheperis/nss-nspr-windows | |
// Uses JSON library: https://github.com/nlohmann/json | |
// | |
// Compile with MSVC: | |
// cl /I<path-to-nss>\include /EHsc firefox-decrypt.cpp /link /LIBPATH:<path-to-nss>\release\x64\lib | |
// | |
// NSS DLL's should be put to the .exe directory or to a directory in your PATH | |
// |
{ fontWeight: '100' }, // Thin | |
{ fontWeight: '200' }, // Ultra Light | |
{ fontWeight: '300' }, // Light | |
{ fontWeight: '400' }, // Regular | |
{ fontWeight: '500' }, // Medium | |
{ fontWeight: '600' }, // Semibold | |
{ fontWeight: '700' }, // Bold | |
{ fontWeight: '800' }, // Heavy | |
{ fontWeight: '900' }, // Black |
NSLog(@"UIFontWeightUltraLight = %@", @(UIFontWeightUltraLight)); | |
NSLog(@"UIFontWeightThin = %@", @(UIFontWeightThin)); | |
NSLog(@"UIFontWeightLight = %@", @(UIFontWeightLight)); | |
NSLog(@"UIFontWeightRegular = %@", @(UIFontWeightRegular)); | |
NSLog(@"UIFontWeightMedium = %@", @(UIFontWeightMedium)); | |
NSLog(@"UIFontWeightSemibold = %@", @(UIFontWeightSemibold)); | |
NSLog(@"UIFontWeightBold = %@", @(UIFontWeightBold)); | |
NSLog(@"UIFontWeightHeavy = %@", @(UIFontWeightHeavy)); | |
NSLog(@"UIFontWeightBlack = %@", @(UIFontWeightBlack)); |
#!/bin/bash | |
# This script "pins" currently installed nvidia driver to prevent it from auto-updating and breaking running vast.ai services. | |
# It creates the file /etc/apt/preferences.d/nvidia-manual-pin. | |
# | |
# From time to time, you'll still need to update the driver manually. Only do this while no vast.ai jobs are running | |
# (except your default jobs). Follow these steps: | |
# | |
# 1. Stop vast.ai and related things: `systemctl stop vastai docker cron` | |
# 2. Remove the pin: `rm -f /etc/apt/preferences.d/nvidia-manual-pin` |
PREFIX=/usr/local | |
PROGRAM=<CHANGEME> | |
.PHONY: build clean install uninstall | |
bin/$(PROGRAM): src/*.go | |
go build -o bin/$(PROGRAM) src/*.go | |
build: bin/$(PROGRAM) |
On SuperMicro AS-4124GS-TNR server with ASPEED AST2500 BMC, Proxmox 7.1 installation does not start with "installation aborted" message.
After setting up DHCP and Chrony, Proxmox fails to start the graphical installer and drops into the shell:
...
Starting Chrony for opportunistic time-sync... Starting a root shell on tty3.
A guest with 480 GiB RAM on a 512 GiB machine is taking several minutes to start because memory pre-allocation is not fast enough (approx. 2 GiB/sec).
The solution is to have the necessary amount of RAM preallocated in the huge page pool, and to make QEMU/KVM use the pool for the guest.
ipinfo.io |