Skip to content

Instantly share code, notes, and snippets.

View jimmykarily's full-sized avatar
🏠
Working from home

Dimitris Karakasilis jimmykarily

🏠
Working from home
View GitHub Profile
@jimmykarily
jimmykarily / gihub-asset-finder.sh
Created July 20, 2023 07:36
Github release asset finder (with fuzzy search)
#!/bin/bash
# Usage:
# ./github-artifacts.sh kairos-io provider-kairos v2.3.0
#
# Dependencies:
# - curl
# - jq
# - fzf (https://github.com/junegunn/fzf)
@jimmykarily
jimmykarily / config.yaml
Last active June 20, 2023 11:53
Setup a second disk as peristent storage with Kairos
#cloud-config
install:
no-format: true
bind_mounts:
- /var/lib/data
stages:
kairos-install.pre.before:
- if: '[ -e /dev/vdb ] && (kairos-agent state get boot | grep -q livecd_boot)'
package main
import (
"fmt"
"github.com/otiai10/gosseract/v2"
)
func main() {
//l, _ := gosseract.GetAvailableLanguages()
web: workspace
#include "ESP8266WiFi.h"
// WiFi parameters to be configured
const char* ssid = "ssid_here";
const char* password = "password_here";
const char* host = "www.in.gr";
// the setup function runs once when you press reset or power the board
void setup() {
Serial.begin(115200);