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" |
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) | |
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 |
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 }}" |
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 |
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> |
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> |
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 |
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> |
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