Skip to content

Instantly share code, notes, and snippets.

<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
#container {
font-family: Roboto;
padding-top: 0px;
margin: 0px;
background-color: #ffffff;
}
.jumbotron2 {
@rramona2
rramona2 / index.html
Created September 7, 2020 09:59
sheets cms demo app
<!-- <!DOCTYPE html> -->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Google Cloud/G Suite Content Blog</title>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" href="https://codepen.io/rramona2/pen/BVdMLe.css">
@rramona2
rramona2 / index.html
Created September 7, 2020 09:58
Stripe GAS Web App - Product Catalog
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../../../favicon.ico">
<title>Narrow Jumbotron Template for Bootstrap</title>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
@rramona2
rramona2 / index.html
Created September 7, 2020 09:58
Stripe GAS Web App - Product Catalog
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../../../favicon.ico">
<title>Narrow Jumbotron Template for Bootstrap</title>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
@rramona2
rramona2 / bootstrap-wp-demo.markdown
Created October 21, 2019 15:18
bootstrap wp demo
@rramona2
rramona2 / Google-Sheet-Form-Post.md
Created August 12, 2019 14:23 — forked from willpatera/Google-Sheet-Form-Post.md
Post to google spreadsheet from html form

Overview

This collection of files serves as a simple static demonstration of how to post to a google spreadsheet from an external html <form> following the example by Martin Hawksey

Run example

You should be able to just open index.html in your browser and test locally.

However if there are some permissions errors you can make a quick html server with python. Open terminal and cd to the directory where the gist files are located and enter python -m SimpleHTTPServer. By default this creates a local server at localhost:8000

@rramona2
rramona2 / wc-add-message-login-form.php
Created July 16, 2019 16:02 — forked from woogists/wc-add-message-login-form.php
[Frontend Snippets] Add a message above the login / register form
/**
* Add a message above the login / register form on my-account page
*/
add_action( 'woocommerce_before_customer_login_form', 'jk_login_message' );
function jk_login_message() {
if ( get_option( 'woocommerce_enable_myaccount_registration' ) == 'yes' ) {
?>
<div class="woocommerce-info">
<p><?php _e( 'Returning customers login. New users register for next time so you can:' ); ?></p>
<ul>
<!DOCTYPE html>
<html lang=en class=gr__getbootstrap_com style>
<meta charset=utf-8>
<meta name=viewport content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name=description content>
<meta name=author content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name=generator content="Jekyll v3.8.5">
<title>Carousel Template · Bootstrap</title>
<link rel=canonical href=https://getbootstrap.com/docs/4.3/examples/carousel/>
<style>
@rramona2
rramona2 / index.html
Created April 9, 2019 13:43
Stripe payment form validator
<div id="payment-stripe" class="container">
<div class="row text-left">
<div class="col-sm-12">
<div class="form-group">
<label for="cc-number" class="control-label">Credit Card Number <small class="text-muted">[<span data-payment="cc-brand"></span>]</small></label>
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-credit-card"></i></span>
<input id="cc-number" type="tel" class="input-lg form-control cc-number" autocomplete="cc-number" placeholder="•••• •••• •••• ••••" data-payment='cc-number' required>
</div>
</div>
@rramona2
rramona2 / index.html
Created April 9, 2019 13:41
Stripe GAS Web App - Product Catalog
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../../../favicon.ico">
<title>Narrow Jumbotron Template for Bootstrap</title>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>