Skip to content

Instantly share code, notes, and snippets.

# Source: https://gist.github.com/vfarcic/8ebbf4943c5c012c8c98e1967fa7f33b
#####################################################################
# Say Goodbye to Containers - Ephemeral Environments with Nix Shell #
#####################################################################
# Additional Info:
# - Nix: https://nixos.org
# - Dagger: The Missing Ingredient for Your Disastrous CI/CD Pipeline: https://youtu.be/oosQ3z_9UEM
import SwiftUI
struct ContentView: View {
@State private var sliderValue: Double = 0.0
@State private var backgroundColor: Color = .red
let colors: [Color] = [.red, .orange, .yellow, .green, .blue, .purple, .pink, .mint, .indigo, .teal, .cyan, .brown, .black]
var body: some View {
ZStack {
# Source: https://gist.github.com/8adaf8fd6496bc99a466ba55834e1838
###############################################################
# Metacontroller - Custom Kubernetes Controllers The Easy Way #
# https://youtu.be/3xkLYOpXy2U #
###############################################################
# Additional Info:
# - Metacontroller: https://metacontroller.github.io/metacontroller
# - DevOps MUST Build Internal Developer Platform (IDP): https://youtu.be/j5i00z3QXyU
# Source: https://gist.github.com/c7cdfef142bd65cc744789d3c1e90170
###########################################
# Talos Linux: OS Designed For Kubernetes #
# https://youtu.be/iEFb2Zg4xUg #
###########################################
# Additional Info:
# - Talos Linux: https://www.talos.dev/
# - How To Create, Provision, And Operate Kubernetes With Cluster API (CAPI): https://youtu.be/8yUDUhZ6ako
# Source: https://gist.github.com/bc1188d2a4b8d5295890e9c5438b9ce4
#################################
# 10 Must-Have Kubernetes Tools #
# https://youtu.be/CB79eTFbR0w #
#################################
# Additional Info:
# - How To Replace Docker With nerdctl And Rancher Desktop: https://youtu.be/evWPib0iNgY
# - k9s Kubernetes UI - A Terminal-Based Vim-Like Kubernetes Dashboard: https://youtu.be/boaW9odvRCc
@oleoneto
oleoneto / azuracast-docker-compose.override.yml
Last active June 27, 2022 23:04
Send Azuracast NGINX traffic through Traefik
#
# Repaus Media Server
# AzuraCast Docker Compose Configuration File
# Settings override
version: '2.2'
networks:
proxy:
external:
@navsing
navsing / MessagesPart-III.swift
Last active March 28, 2024 15:41
Recreating the Messages App Part III (Chat Bubble Shape) using SwiftUI and Swift Playgrounds on iPad
import SwiftUI
import PlaygroundSupport
struct Screen: View {
var body: some View {
VStack {
HStack {
Spacer()
Text("Here’s to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes… the ones who see things differently — they’re not fond of rules…").padding().background(Color(UIColor.systemBlue)).clipShape(BubbleShape(myMessage: true)).foregroundColor(.white)

FFmpeg Cheatsheet

Generic flags

Flag What Example
-s size
-c code
-f format
-v verbosity
-r framerate
@oleoneto
oleoneto / docker-compose.yml
Created July 1, 2020 00:00 — forked from Mau5Machine/docker-compose.yml
Traefik Configuration and Setup
version: "3.3"
services:
################################################
#### Traefik Proxy Setup #####
###############################################
traefik:
image: traefik:v2.0
restart: always
@Robert-96
Robert-96 / README.md
Last active March 19, 2024 14:57
Ember.Js: Installing Tailwind CSS

Ember.Js: Installing Tailwind CSS

TL;DR

$ ember install ember-cli-postcss                   # Install ember-cli-postcss
$ npm install --save-dev tailwindcss                # Install tailwindcss

$ npx tailwind init app/styles/tailwind.config.js   # Optional: Generate a Tailwind config file for your project  
$ npm install -save-dev postcss-import # Optional: If you want to use the @import statement