View gist:6bf6a079a0f28f45cd1881d0ce0b9bdb
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 { chakra, HTMLChakraProps, useColorModeValue } from '@chakra-ui/react' | |
export const Logo: React.FC<HTMLChakraProps<'svg'>> = (props) => { | |
const color = useColorModeValue('#231f20', '#fff') | |
return ( | |
<chakra.svg | |
xmlns="http://www.w3.org/2000/svg" | |
viewBox="0 0 210.000000 84.000000" | |
scale="0.100000,-0.100000" | |
translate="0.000000,84.000000" |
View quay-example-request.py
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
#!/usr/bin/python | |
import requests | |
r = requests.post('https://quay.dev/test_org/test_repo:v1', headers={'content-type': 'application/json', 'Authorization': 'Bearer LLDDBIYHDQSVE0IKOEN329QUDQRX96FDIZK20MP3X2PH7TVOMCXDKNXBYS0TQPASZXCCHU2R5AMZQ3OIMYN11QAEWHCGETVRF3BDOEZFJBA7WSGGTFVTVT43'}, data={'test':'value'}, verify=False) | |
View integration_tests.yml
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
- when: inventory_hostname == groups['local'][0] | |
become: yes | |
block: | |
- name: Before - Create CA | |
block: | |
- name: Create CA Folder | |
file: | |
path: "/etc/docker/certs.d/{{ groups['quay'][0] }}" | |
state: directory |
View container-quayconfig.yml
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
# Ansible Quay Config Container | |
# | |
# | |
- name: Quay Setup - Create Config Container | |
containers.podman.podman_container: | |
name: quay-config | |
user: "{{ quay_runtime_uid | default(omit) }}" | |
recreate: yes | |
restart: no | |
image: "{{ quay_image }}" |
View gist:19c1e421c4fc9be337070bc996d2a0b8
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
# Update for official Cannonical Script: | |
# By stevek.pro 30/Oct/2020 - MIT Licence - Do as you like on your own risk. | |
--- | |
kind: Pod | |
apiVersion: v1 | |
metadata: | |
name: foo-app | |
labels: | |
app: foo |
View App.vue
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
<template> | |
<div id="app"> | |
<component :is="state.view"> | |
<h1>{{ state.view }}</h1> | |
</component> | |
<controls></controls> | |
</div> | |
</template> | |
<script> |
View Kubernetes Client Go Daddy v1.9
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Welcome file</title> | |
<link rel="stylesheet" href="https://stackedit.io/style.css" /> | |
</head> |
View ionic-run-ios.sh
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
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
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
<!-- RC0 Upgrade: Changed control to formControl on validationError - UNTESTED! --> | |
<ion-header navigation title='{{ "§USER_INFO.HEADER" | translate }}'></ion-header> | |
<ion-content class="personal-info"> | |
<ion-list> | |
<form [formGroup]="infoForm"> | |
<ion-item> |
View purchase.reducer.ts
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 { 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: |
NewerOlder