Skip to content

Instantly share code, notes, and snippets.

View KerryRitter's full-sized avatar

Kerry Ritter KerryRitter

View GitHub Profile
@KerryRitter
KerryRitter / Tab.vue
Last active October 20, 2020 23:37
Tab.vue
<template>
<ion-page>
<ion-header>
<ion-toolbar color="dark">
<ion-title>Tab 1</ion-title>
</ion-toolbar>
</ion-header>
<ion-content :fullscreen="true">
<ion-header collapse="condense">
<ion-toolbar>
@KerryRitter
KerryRitter / config.js
Last active August 24, 2020 12:41
AST deploy script idea
module.exports = {
dev: {
awsProfile: "personal",
s3SyncFolder: "./dist",
cfnStackName: "buciconst-site-dev",
cfnParameters: {
DomainName: "dev.buciconst.com",
S3BucketName: "buciconst-site-dev",
HostedZoneId: "Z25106862SEX1JCZUOS3A",
CertificateArn: "arn:aws:acm:us-east-1:908192590524:certificate/0b108f58-f2dc-4ff1-938e-62b43fe42991"
@KerryRitter
KerryRitter / package.json
Last active May 23, 2020 14:08
Auto-generate Angular Clients from a Nest-Swagger API
{
"name": "my-api",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
@KerryRitter
KerryRitter / .gitconfig
Created May 30, 2019 13:27
Git Aliases
[alias]
co = checkout
cob = checkout -b
br = branch
st = status
branch-name = !git rev-parse --abbrev-ref HEAD
cm = !git add -A && git commit -m
cmb = !git add -A && git commit -m "$(git branch-name)" -m
publish = !git push -u origin $(git branch-name)
@KerryRitter
KerryRitter / after.sh
Created October 4, 2017 01:46
Laravel+Homestead VSCode
#!/bin/sh
# Use as "after.sh" on the homestead repo and redo `vagrant reload --provision`.
# If you would like to do some extra provisioning you may
# add any commands you wish to this file and they will
# be run after the Homestead machine is provisioned.
wget https://xdebug.org/files/xdebug-2.5.5.tgz
tar xvzf xdebug-2.5.5.tgz
@KerryRitter
KerryRitter / ProfCalcTest.vf
Created July 19, 2017 18:11
ProfCalcTest - CanvasAppEmbed
<apex:page showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0">
<apex:canvasApp applicationName="ProfitabilityCalculator" scrolling="yes" />
</apex:page>
@KerryRitter
KerryRitter / ProfCalcTest.vf
Created July 19, 2017 18:05
S1ScrollerTest
<apex:page showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0" standardController="Account">
<style>
html,
html body {
overflow: visible;
-webkit-overflow-scrolling: touch;
}
body {
position: absolute;
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
class RatingController extends Controller
{
public function __construct() {
@KerryRitter
KerryRitter / membershipPaymentForm.ts
Last active April 12, 2017 17:13
jQuery TS example
class MembershipPaymentForm {
private get form() {
return $("#membership-payment-form");
}
private get individualElements() {
return this.form.find("*[type='individual']");
}
private get partnerElements() {
@KerryRitter
KerryRitter / FormRepository.cs
Last active March 16, 2017 18:32
xamarin.forms form example
using System;
using System.Collections.Generic;
using System.Linq;
using Realms;
using StubbsTest.Models;
namespace StubbsTest.Data
{
public class FormRepository : IDisposable
{