Skip to content

Instantly share code, notes, and snippets.

View kobaltz's full-sized avatar

David Kimura kobaltz

View GitHub Profile
@kobaltz
kobaltz / gist:a9853e0859c085aa70e34a9991207583
Last active January 16, 2020 13:33
Windows 10 Cleaner
# Run in PowerShell Admin
Get-AppxPackage *Skype* | Remove-AppxPackage
Get-AppxPackage *Hulu* | Remove-AppxPackage
Get-AppxPackage *Office* | Remove-AppxPackage
Get-AppxPackage *Candy* | Remove-AppxPackage
Get-AppxPackage *Farm* | Remove-AppxPackage
Get-AppxPackage *Office* | Remove-AppxPackage
Get-AppxPackage *Music* | Remove-AppxPackage
Get-AppxPackage *Print3D* | Remove-AppxPackage

Keybase proof

I hereby claim:

  • I am kobaltz on github.
  • I am kobaltz (https://keybase.io/kobaltz) on keybase.
  • I have a public key ASDHQi328jdW9CHewSvUM9hJNJRf7qs26r4YA8Dla7Ckfgo

To claim this, I am signing this object:

require 'prawn'
class SudokuPDF
GRID_SIZE = 9
BOX_SIZE = 3
THICK_LINE_WIDTH = 3
THIN_LINE_WIDTH = 1
NUM_PER_DIFFICULTY = 50
def initialize
@document = Prawn::Document.new
@kobaltz
kobaltz / gist:fc6d7ebfc8c3cd9f288ed1f077a943cf
Created January 11, 2024 00:55
Raspberry Pi 5 - Ruby 3.3.0 + YJIT
```
# Monitor CPU TEMP
watch -n1 vcgencmd measure_temp
```
```
sudo apt update
sudo apt upgrade -y
sudo apt install curl zsh -y
@kobaltz
kobaltz / .vim
Created November 7, 2024 14:02
VIM Dot File
alias vim=code
@kobaltz
kobaltz / Rename Images
Last active March 7, 2025 06:38
Rename Screenshots
1. Install ollama from www.ollama.com
2. Install python
3. `pip install ollama`
4. `ollama pull llama3.2-vision:latest`
5. Put the `rename_images.py` script in the folder of your choice
6. Edit the script and update the `IMAGE_FILE_NAME_PATTERN` if yours is different
7. Run `python rename_images.py`