Skip to content

Instantly share code, notes, and snippets.

From 0c20aa9d7a575fb8c5633f6bb9f16f167772aa79 Mon Sep 17 00:00:00 2001
From: Silas Baronda <silas.baronda@gmail.com>
Date: Sun, 9 Jan 2022 16:09:01 +0000
Subject: [PATCH] Getting Go building
---
go/dev/Dockerfile | 2 +-
utils/builder.rb | 11 ++++++-----
2 files changed, 7 insertions(+), 6 deletions(-)
@silasb
silasb / rails-ujs.js
Created July 21, 2021 16:30
This is failing to autostart RailsUJS with vite in dev mode.
/*
Unobtrusive JavaScript
https://github.com/rails/rails/blob/main/actionview/app/assets/javascripts
Released under the MIT license
*/;
(function() {
var context = this;
(function() {
# Experiences
https://blog.guybarrette.com/passed-the-certified-kubernetes-application-developer-ckad-exam
# Prep
https://github.com/twajr/ckad-prep-notes
https://mingchaoliao.github.io/2020/04/26/ckad-exam-guide.html#what-is-kubernetes
# Exercises
https://github.com/dgkanatsios/CKAD-exercises
D=hello
[[ -z "${D}" ]] && echo '$D is blank or is set' || echo '$D set' "$D"
$D set hello
unset D
[[ -z "${D}" ]] && echo '$D is blank or is set' || echo '$D set:' "$D"
$D is blank or is set
D=
[[ -z "${D}" ]] && echo '$D is blank or is set' || echo '$D set:' "$D"
$D is blank or is set
class Yarn < Formula
desc "JavaScript package manager"
homepage "https://yarnpkg.com/"
# Should only be updated if the new version is listed as a stable release on the homepage
url "https://yarnpkg.com/downloads/1.19.0/yarn-v1.19.0.tar.gz"
sha256 "6bbdaab9c31eedbe7b53cbcde2be06b8c926f139bd0f7c00fccad406016e8934"
bottle :unneeded
depends_on "node"
@silasb
silasb / Chart.yaml
Last active September 27, 2019 14:50
apiVersion: v1
name: blah
version: 1
apiVersion: v1
kind: ConfigMap
metadata:
name: fluent-bit-config
namespace: logging
labels:
k8s-app: fluent-bit
data:
# Configuration files: server, input, filters and output
# ======================================================
apiVersion: v1
kind: ConfigMap
metadata:
name: fluent-bit-config
namespace: logging
labels:
k8s-app: fluent-bit
data:
# Configuration files: server, input, filters and output
# ======================================================
class CrystalLang < Formula
desc "Fast and statically typed, compiled language with Ruby-like syntax"
homepage "https://crystal-lang.org/"
revision 1
stable do
url "https://github.com/crystal-lang/crystal/archive/0.24.1.tar.gz"
sha256 "4999a4d2a9ffc7bfbea8351b97057c3a135c2091cbd518e5c22ea7f5392b67d8"
resource "shards" do
@silasb
silasb / index.js
Created May 10, 2016 13:39
Nashorn failing
(this, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // install a JSONP callback for chunk loading
/******/ var parentJsonpFunction = window["webpackJsonp"];
/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) {
/******/ // add "moreModules" to the modules object,
/******/ // then flag all "chunkIds" as loaded and fire callback
/******/ var moduleId, chunkId, i = 0, callbacks = [];
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];