Skip to content

Instantly share code, notes, and snippets.

View peakwinter's full-sized avatar

Jacob Cook peakwinter

View GitHub Profile
/**
* Decode and display information contained in a SMART Health Card (SHC) QR code
* Usage: node vaccineqr.js /path/to/qrcode.png
*
* Required dependencies:
* - jimp
* - jsqr
*
* 2021 Jacob Cook
*/
_______________
< Take the bus! >
---------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
apiVersion: v1
kind: ConfigMap
metadata:
name: mk-test-cfgmap
data:
VOLUME_MOUNT_PATH: /data
---
apiVersion: apps/v1
kind: Deployment
metadata:
******
,***********
**************** (( (( ((
,****/********/***** (( (( ((
****/******/**** (((((((( ((( ((( (((((( (((((((/ (( (( (((((((
**********. ((. ((( ((( ((( ((( (( (( (( (( (( ((
****** (( ((( ((( ((( (((( (( (( (( (( (( ((
// ((( ((( ((((((((( ( ((( ((( ((( (((((((( ((( (((
**
apiVersion: v1
kind: ConfigMap
metadata:
name: mk-test-cfgmap
data:
MK_TEST_ONE: hello
MK_TEST_TWO: busbud
---
apiVersion: apps/v1
kind: Deployment
jacob.cook@busbud.com
lisa.zhao@busbud.com
cristhian.hellion@busbud.com
camille.kander@busbud.com
boris.jovanovic@busbud.com
#!/usr/bin/env python3
import configparser
import glob
import os
import pacman
import subprocess
import arkos
from arkos import applications
@peakwinter
peakwinter / oc_to_nc.py
Last active October 16, 2016 15:34
arkOS: Convert ownCloud website installation to Nextcloud
from __future__ import print_function
try:
import configparser
except:
import ConfigParser
configparser = ConfigParser
import arkos
import grp
import os
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
import os
import re
import subprocess
import sys
import urllib2
def install():
print "Installing new packages..."
# Install new mirrorlist