- "git" things to know
- create app's git repo
- create fork repo
- create feature branch
- send, approve and accept merge request
- git tags, prepare release script.
- push release to HEAD branch, e.g version-13, version-12, etc.
- docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
db: | |
image: bitnami/mongodb:latest | |
restart: always | |
environment: | |
- MONGODB_USERNAME=app-data | |
- MONGODB_PASSWORD=admin | |
- MONGODB_DATABASE=app-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.7" | |
services: | |
ganache: | |
image: trufflesuite/ganache-cli:latest | |
command: -h 0.0.0.0 -p 7545 --db /data | |
volumes: | |
- ganache-vol:/data | |
networks: | |
- ganache-network |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { CanActivate, ExecutionContext, Injectable } from '@nestjs/common'; | |
import { GqlExecutionContext } from '@nestjs/graphql'; | |
import * as jwt from 'jsonwebtoken'; | |
import * as jwksClient from 'jwks-rsa'; | |
@Injectable() | |
export class IdTokenGuard implements CanActivate { | |
canActivate(context: ExecutionContext) { | |
const ctx = GqlExecutionContext.create(context); | |
const req = ctx.getContext().req; |
- Install
devcluster
, publish ports without traefik.
k3d cluster create devcluster \
--api-port 127.0.0.1:6443 \
-p 80:80@loadbalancer \
-p 443:443@loadbalancer \
--k3s-arg "--disable=traefik@server:0"
- EKS Fargate profiles for
<fargate-profile-namespace>
. Guide - EKS Fargate coredns profile for coredns pods to run (create profile for
kube-system
namespace, refer guide from previous step) - EFS CSI Driver installed, mount points set and pv.yaml created. Refer Guide
- EKS ALB Controller, refer Guide.
Refer Helm Installation to install helm command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"guestFunctions": [ | |
"erpnext.www.book_appointment.verify.index.get_context(context)", | |
"erpnext.www.book_appointment.index.get_appointment_settings()", | |
"erpnext.www.book_appointment.index.get_timezones()", | |
"erpnext.www.book_appointment.index.get_appointment_slots(date, timezone)", | |
"erpnext.www.book_appointment.index.create_appointment(date, time, tz, contact)", | |
"erpnext.templates.utils.send_message(subject='Website Query', message='', sender='', status='Open')", | |
"erpnext.templates.pages.search_help.get_help_results_sections(text)", | |
"erpnext.templates.pages.product_search.get_product_list(search=None, start=0, limit=12)", |
loglevel=3 iommu=pt acpi_backlight=native
iommu=pt
Solves sudden freeze of graphics Arch Forum Linkacpi_backlight=native
Solves back light "failed" message during boot Arch Wiki- Use it with other params e.g.
loglevel=3 iommu=pt acpi_backlight=native apparmor=1 security=apparmor quiet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install these packages (use your favorite AUR tool here) | |
yay -Syu minikube-bin kubectl docker-machine-driver-kvm2 libvirt qemu-headless docker-machine ebtables | |
# Get libvirt going | |
sudo systemctl enable libvirtd.service | |
sudo usermod -a -G libvirt $(whoami) | |
# This fix thanks to http://blog.programmableproduction.com/2018/03/08/Archlinux-Setup-Minikube-using-KVM/ | |
sudo virsh net-autostart default |