Skip to content

Instantly share code, notes, and snippets.

View executed's full-sized avatar
👽
!((!(!(0)))) == 1

Dan Serbyn executed

👽
!((!(!(0)))) == 1
  • Berlin
View GitHub Profile

Scrambled Eggs in a Mug

Ingredients:

  • 2 eggs
  • 2 tbsp milk
  • Salt and pepper to taste
  • Optional: shredded cheese, chopped vegetables, or cooked bacon

Instructions:

  1. Crack the eggs into a microwave-safe mug.
@executed
executed / caddy_vikunja_docker_compose.yml
Created December 30, 2024 02:58
caddy_vikunja_docker_compose.yml
networks:
# network created via docker cmd line,
# and all other containers are also on it
caddy_vikunja_network:
name: caddy_vikunja_network
services:
caddy:
image: caddy:2.8.4
restart: always
@executed
executed / vikunja_docker_compose.yml
Created December 30, 2024 02:55
vikunja_docker_compose.yml
networks:
vikunja_net:
name: vikunja_net
driver: bridge
caddy_vikunja_network:
external: true
services:
vikunja:
image: vikunja/vikunja:unstable
@executed
executed / gist:4ff287f3aba31ae1c6bf1dcc84efce28
Last active August 17, 2024 02:12
HASS integration that accepts input_text helper entity_id and returns input text helper value on HASS API call
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import (
HomeAssistant,
ServiceCall,
ServiceResponse,
SupportsResponse,
)
from homeassistant.helpers import config_validation as cv, entity_platform, service
from homeassistant.util.json import JsonObjectType
@executed
executed / CryptoPortfolioAppleWatchApiViaGoogleSheets.gs
Last active January 13, 2024 15:36
Crypto Portfolio API via Google Sheets
// This App Script attaches to the following Google Sheet to provide API
// way of tracking assets in one's crypto portfolio.
// Personal usage of this is to pull numbers into Numerics API that
// shows values in widgets (complications) on Apple Watch watchface.
// Google Sheet: https://docs.google.com/spreadsheets/d/1g3WKGK4IgnzGNJn5l1D1BJpcuEsHGUfMTmydshz1XG0/edit?usp=sharing
// See this post for more info on setup: https://www.reddit.com/r/AppleWatch/comments/a6k82x/request_complication_to_display_simple_data_from/
function doGet(e) {
return dispatchRequest(e);
}
@executed
executed / lab3.ipynb
Created June 15, 2022 19:03
lab3.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@executed
executed / lab2.ipynb
Created June 13, 2022 10:45
lab2.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@executed
executed / lab1.ipynb
Created June 13, 2022 10:22
lab1.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@executed
executed / lab2_ml.ipynb
Created December 14, 2021 09:57
lab2_ML.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@executed
executed / ml_lab4.ipynb
Created December 14, 2021 01:27
ml_lab4.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.