Skip to content

Instantly share code, notes, and snippets.

@crisog
crisog / k9s.txt
Created February 14, 2025 20:13 — forked from BigNerd/k9s.txt
K9s column descriptions
View: Pods(<namespace>)[number of pods listed]
NAME pod name
READY number of pods in ready state / number of pods to be in ready state
RESTARTS number of times the pod has been restarted so far
STATUS state of the pod life cycle, such as Running | ... | Completed
CPU current CPU usage, unit is milli-vCPU
MEM current main memory usage, unit is MiB
%CPU/R current CPU usage as a percentage of what has been requested by the pod
%MEM/R current main memory usage as a percentage of what has been requested by the pod
@crisog
crisog / CFG.html
Created January 14, 2025 01:49 — forked from tresf/CFG.html
FGL Printing Examples
<F3>
<RC10,10>Serial Number = <VA1>
<RC60,10>Firmware = <VA7>
<RC110,10>Special Head = <VA18>
<RC160,10>Font File = <VA2>
<RC210,10>Printer Type = <VA11>
<RC260,10>DPI = <VA17>
<RC310,10>Expansion Mem = <VA50>
<RC360,10>Path Type = <VA19>
<RC410,10>Ticket Type = <VA13>
@crisog
crisog / .env
Created October 14, 2023 13:34 — forked from Layoric/.env
Files used for GitHub Action Docker Deployment via SSH to stand alone Linux server
# Autogenerated .env file
HOST_DOMAIN=web.web-templates.io
LETSENCRYPT_EMAIL=you@example.com
APP_NAME=web
IMAGE_REPO=netcoretemplates/web
RELEASE_VERSION=latest
@crisog
crisog / .deploy\nginx-proxy-compose.yml
Created October 14, 2023 12:58 — forked from gistlyn/.deploy\nginx-proxy-compose.yml
Files used for GitHub Action Docker Deployment via SSH to stand alone Linux server
version: "3.9"
services:
nginx-proxy:
image: nginxproxy/nginx-proxy
container_name: nginx-proxy
restart: always
ports:
- "80:80"
- "443:443"
@crisog
crisog / docker-compose.prod.yml
Created October 14, 2023 12:46 — forked from gistlyn/docker-compose.prod.yml
Files used for GitHub Action Docker Deployment via SSH to stand alone Linux server
version: "3.9"
services:
app:
image: ghcr.io/${IMAGE_REPO}:${RELEASE_VERSION}
restart: always
ports: !reset ["80"]
container_name: ${IMAGE_REPO}-app
environment:
VIRTUAL_HOST: ${HOST_DOMAIN}
LETSENCRYPT_HOST: ${HOST_DOMAIN}
@crisog
crisog / nginx-reverse-proxy.yml
Created October 14, 2023 12:42 — forked from Layoric/nginx-reverse-proxy.yml
Docker compose for Nginx Reverse Proxy and Lets Encrypt Companion
version: "3.9"
services:
nginx-proxy:
image: nginxproxy/nginx-proxy
container_name: nginx-proxy
restart: always
ports:
- "80:80"
- "443:443"
@crisog
crisog / aws-ec2-redis-cli.md
Created July 15, 2022 03:26 — forked from todgru/aws-ec2-redis-cli.md
AWS redis-cli on EC2
@crisog
crisog / project-ideas01.md
Created September 15, 2019 01:34 — forked from MWins/project-ideas01.md
Back end Projects - list

Project Ideas

Ok. I'm going to list off some ideas for projects. You will have to determine if any particular idea is good enough to include in a portfolio. These aren't creative ideas. They likely already exist. Some are way too advanced while others are simplistic.

I will recommend to post any project you make to github and make a github project page for it. Explain in as much detail as possible how you made it, how it can be improved etc. Document it.

If you pick an advanced idea, setup a development roadmap and follow it. This will show some project management skills.

Another piece of advice for those who are design challenged. Use different front end frameworks and use different themes for those frameworks to provide appealing designs without looking like yet another bootstrap site.

@crisog
crisog / gritsExample.py
Created May 13, 2019 01:21 — forked from jbeezley/gritsExample.py
An example python script for making an API call to the GRITS database
#!/usr/bin/env python
import requests
import json
# main api url
url = 'https://grits.ecohealth.io/gritsdb/api/v1'
# put your username/password here
auth = ('myUsername', 'myPassword')