This file contains hidden or 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
#!/bin/bash | |
# How to use: | |
# Store this file as .git/hooks/pre-commit and make it executable | |
# Or, to share the hook with your team, store as .githooks/pre-commit, | |
# make this file executable and run: | |
# git config core.hooksPath .githooks | |
# A pre-commit hook for go projects. In addition to the standard |
This file contains hidden or 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
Query schema | |
{ | |
__schema { | |
queryType { | |
name | |
}, | |
types { | |
name | |
} |
This file contains hidden or 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
https://medium.freecodecamp.org/jazz-up-your-zsh-terminal-in-seven-steps-a-visual-guide-e81a8fd59a38 | |
https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
# clear font cache | |
fc-cache -f -v |
This file contains hidden or 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
query IntrospectionQuery { | |
__schema { | |
queryType { name } | |
mutationType { name } | |
subscriptionType { name } | |
types { | |
...FullType | |
} | |
directives { | |
name |
This file contains hidden or 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
allow traffic from docker container to mysql on host | |
### docker-compose | |
wordpress: | |
image: wordpress | |
restart: always | |
ports: | |
- 39260:80 | |
environment: | |
WORDPRESS_DB_HOST: host.url.com |
This file contains hidden or 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
#!/bin/sh | |
CLUSTER_NAME=dev | |
k3d registry create "$CLUSTER_NAME-registry".localhost --port 55515 | |
k3d cluster create $CLUSTER_NAME --registry-use "$CLUSTER_NAME-registry.localhost:55515" --port 8080:80@loadbalancer --port 8443:443@loadbalancer | |
k3d kubeconfig merge $CLUSTER_NAME --kubeconfig-switch-context | |
echo port of registry: | |
docker ps -f name="$CLUSTER_NAME"-registry |
This file contains hidden or 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
module.exports = { | |
content: [ | |
"./pages/**/*.{ts,tsx,js,jsx}", | |
"./src/**/*.{ts,tsx,js,jsx}", | |
"./components/**/*.{js,jsx,ts,tsx}", | |
"./anima/**/*.{js,jsx,ts,tsx}", | |
], | |
theme: { | |
screens: { | |
sm: "360px", |
This file contains hidden or 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
# Maintainer: Lucas Declercq <[email protected]> | |
pkgname=f5epi | |
pkgver=7220.2022.308.1 | |
pkgrel=1 | |
pkgdesc='Endpoint inspection application. It provide capabilities to check machines software processes and files' | |
arch=('x86_64') | |
source=('LICENSE') | |
source_x86_64=("linux_${pkgname}-${pkgver}-${pkgrel}.x86_64.rpm::https://vpn.brown.edu/public/download/linux_${pkgname}.x86_64.rpm") | |
md5sums=('2508fc5e24d46163844dba9534fe7924') | |
md5sums_x86_64=('48c6d5ae2207693ea709b4900f0e4d1e') |
OlderNewer