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:
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` |
alias vim=code |
``` | |
# Monitor CPU TEMP | |
watch -n1 vcgencmd measure_temp | |
``` | |
``` | |
sudo apt update | |
sudo apt upgrade -y | |
sudo apt install curl zsh -y |
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 |
I hereby claim:
To claim this, I am signing this object:
# 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 |
def tick(_args) | |
initialize_game | |
display_hud | |
set_score | |
move_cubes | |
check_collision_with_mouse | |
end | |
def reset_game | |
args.state.cubes = [cube] |
Microk8s is a Canonical project to provide a kubernetes environment for local development, similar to minikube but without requiring a separate VM to manage. These instructions describe setting it up for common development use cases with Cilium and may be helpful in particular for testing BPF kernel extensions with Cilium.
Microk8s will run its own version of docker for the kubernetes runtime, so if you have an existing docker installation then this may be confusing, for instance when building images the image may be stored with one of these installations and not the other. This guide assumes you will run both docker daemon instances, and use your existing docker-ce for building Cilium while using the microk8s.docker daemon instance for the runtime of your kubernetes pods.
# in Rails Console | |
Gem.loaded_specs.each do |name, spec| | |
puts "#{name} - #{spec.license}" | |
end; |
#!/usr/bin/env ruby | |
require 'json' | |
require 'net/http' | |
require 'dotenv/load' | |
TYPE_OF_FILE_TO_CONVERT = '*.mp4' | |
# Sign up for an account and confirm your email | |
# https://console.bluemix.net/registration/ |