Skip to content

Instantly share code, notes, and snippets.

View stevek-pro's full-sized avatar

Stephan Kristyn stevek-pro

View GitHub Profile
View gist:6bf6a079a0f28f45cd1881d0ce0b9bdb
import { chakra, HTMLChakraProps, useColorModeValue } from '@chakra-ui/react'
export const Logo: React.FC<HTMLChakraProps<'svg'>> = (props) => {
const color = useColorModeValue('#231f20', '#fff')
return (
viewBox="0 0 210.000000 84.000000"
stevek-pro /
Created February 22, 2021 08:35
Quay Basic Sample Request
import requests
r ='', headers={'content-type': 'application/json', 'Authorization': 'Bearer LLDDBIYHDQSVE0IKOEN329QUDQRX96FDIZK20MP3X2PH7TVOMCXDKNXBYS0TQPASZXCCHU2R5AMZQ3OIMYN11QAEWHCGETVRF3BDOEZFJBA7WSGGTFVTVT43'}, data={'test':'value'}, verify=False)
stevek-pro / integration_tests.yml
Last active February 9, 2021 20:51
Quay HA Integration Testing
View integration_tests.yml
- when: inventory_hostname == groups['local'][0]
become: yes
- name: Before - Create CA
- name: Create CA Folder
path: "/etc/docker/certs.d/{{ groups['quay'][0] }}"
state: directory
stevek-pro / container-quayconfig.yml
Last active January 14, 2021 20:40
Quay Config SSL: An error occurred loading TLS
View container-quayconfig.yml
# Ansible Quay Config Container
- name: Quay Setup - Create Config Container
name: quay-config
user: "{{ quay_runtime_uid | default(omit) }}"
recreate: yes
restart: no
image: "{{ quay_image }}"
stevek-pro / gist:19c1e421c4fc9be337070bc996d2a0b8
Last active October 30, 2020 17:38
mikrok8s ambassador installation 30/Oct/2020
View gist:19c1e421c4fc9be337070bc996d2a0b8
# Update for official Cannonical Script:
# By 30/Oct/2020 - MIT Licence - Do as you like on your own risk.
kind: Pod
apiVersion: v1
name: foo-app
app: foo
stevek-pro / App.vue
Created February 14, 2020 23:34
Vue2 Page Transitions Part 1 - Controls -
View App.vue
<div id="app">
<component :is="state.view">
<h1>{{ state.view }}</h1>
View Kubernetes Client Go Daddy v1.9
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome file</title>
<link rel="stylesheet" href="" />
stevek-pro /
Last active November 18, 2016 14:05
Ionic Run Ios Deploy Locally
npm uninstall ios-deploy
sudo npm install -g ios-deploy --unsafe-perm=true --allow-root
rm -rf www/* //optional
ionic build //optional
ionic run ios --deploy
View user-info.component.html
<!-- RC0 Upgrade: Changed control to formControl on validationError - UNTESTED! -->
<ion-header navigation title='{{ "§USER_INFO.HEADER" | translate }}'></ion-header>
<ion-content class="personal-info">
<form [formGroup]="infoForm">
View purchase.reducer.ts
import { ActionReducer, Action } from "@ngrx/store";
import { ActionType } from "./action-type";
import { PurchaseModel } from "../purchase/purchase.model";
export const currentPurchase: ActionReducer<PurchaseModel> = (state:PurchaseModel = new PurchaseModel(), action:Action) => {
switch (action.type) {
case ActionType.SET_PURCHASE: