Skip to content

Instantly share code, notes, and snippets.

@ag143
ag143 / kodekloud_course_decks.md
Created April 24, 2025 16:22 — forked from debakarr/kodekloud_course_decks.md
Course decks for KodeKloud
@ag143
ag143 / pregojs.js
Created March 6, 2025 04:31 — forked from lopo12123/pregojs.js
Remove the watermark that comes with gojs
// npm install δΉ‹εŽε…ˆδ½Ώη”¨
// serve-with-gojs/build-with-gojs
// ε―Ή node_module δΈ­η›Έε…³ηš„ζ–‡δ»ΆθΏ›θ‘Œε€„η†
// εŽ»ι™€εΌ€ζΊη‰ˆζœ¬ηš„ gojs θ‡ͺεΈ¦ηš„ζ°΄ε°
const fs = require('fs')
const path = require('path')
const file_js = path.join(__dirname, './node_modules/gojs/release/go.js')
const file_mjs = path.join(__dirname, './node_modules/gojs/release/go.mjs')
const file_module = path.join(__dirname, './node_modules/gojs/release/go-module.js')
@ag143
ag143 / gist:133f24dec08c11507aac73566715a1d2
Created September 30, 2024 05:53 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@ag143
ag143 / kubernetes-certifications.md
Created July 13, 2023 12:01 — forked from bakavets/kubernetes-certifications.md
How I passed Kubernetes KCNA, CKAD, CKA, and CKS exams. My experience. Exam tips and tricks.
@ag143
ag143 / README.md
Created May 18, 2023 07:17 — forked from robschmuecker/README.md
Drag and drop, collapsible d3.js Tree with 50,000 nodes

This is an example of a collapsible drag and drop tree implementing slightly modified code from https://gist.github.com/robschmuecker/7880033

This is posted in order to demonstrate a viable answer for a Stack Overflow question http://stackoverflow.com/questions/20539922/has-anyone-produced-a-virtualised-javascript-tree-for-thousands-of-nodes

The only difference between this gist and the one referenced above is that the JSON file has changed. Each node contains 15 children and the depth is 4. Hence over 50,000 nodes.

The performance is fine if not too many of the nodes are present at once in the DOM. The JSON was contructed at http://www.json-generator.com/ with the following markup

@ag143
ag143 / chef_local_development_workflow.md
Created April 4, 2023 12:33 — forked from smford22/chef_local_development_workflow.md
Chef Local Development Workflow - ChefDK, Vagrant, VirtualBox, Test Kitchen

Chef Local Development Workflow with ChefDK, Vagrant, VirtualBox, and Test Kitchen

Overview

The following document is intended to be a quick guide to getting you setup for doing local development with Chef. This guide was created on my MacBook, but should work fine with Linux, and Windows workstations as well.

Quick review on fundamental tenets of Chef

  • Workstation - A workstation is a computer that is configured to run various Chef command-line tools that synchronize with a chef-repo, author cookbooks, interact with the Chef server, interact with nodes, or applications like Chef Delivery
  • Node - A node is any machineβ€”physical, virtual, cloud, network device, etc.β€”that is under management by Chef.
  • Chef Server- The Chef server acts as a hub for configuration data. The Chef server stores cookbooks, the policies that are applied to nodes, and metadata that describes each registered
@ag143
ag143 / index.html
Created January 8, 2023 07:39
svg line icons - collection
<div class="container">
<div class="row">
<div class="col-12 pt-4 pb-1 text-center">
<h2 class="text-primary">svg icon collection</h2>
</div>
<div class="col-12 pb-3">
<div class="form-control text-center">
<input id="search-icon" class="col-12" type="text" value="">
</div>
@ag143
ag143 / index.html
Created September 23, 2022 00:50 — forked from JasonAGross/index.html
The multi-toggle is basically just nested accordions. The user taps on the parent category to reveal children categories underneath. Once enough screen real estate becomes available, they convert to the usual multi-level dropdown we’re used to seeing.
<!--Pattern HTML-->
<div id="pattern" class="pattern">
<!--Begin Pattern HTML-->
<button class="menu-link">Menu <span>&#9660;</span></button>
<nav id="menu" class="menu" role="navigation">
<ul class="level-1">
<!--Parent #1-->
<li class="has-subnav">
<a href="#">Parent #1</a>
<ul class="level-2">