Skip to content

Instantly share code, notes, and snippets.

View kbrandl's full-sized avatar

Kim Brandl kbrandl

  • Seattle, WA
View GitHub Profile
@kbrandl
kbrandl / test.html
Created December 4, 2018 19:13
Hello World Html
<html>
<head>
<style>
h1 {
font-family: Calibri;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
@kbrandl
kbrandl / test.md
Created December 4, 2018 19:12
Hello World Markdown

Hello World

This is content converted from Markdown!

Here's a JSON sample:

{
  "foo": "bar"
}
@kbrandl
kbrandl / 53070021-delete-range.yaml
Last active November 13, 2018 20:18
Deletes a range (even rows that are hidden) - Shared with Script Lab
name: 53070021-delete-range
description: Deletes a range (even rows that are hidden)
author: kbrandl
host: EXCEL
api_set: {}
script:
content: |
$("#setup").click(setup);
$("#delete-range").click(deleteRange);
name: 49031720-how-to-get-all-formulas-of-a-sheet
description: ''
author: kbrandl
host: EXCEL
api_set: {}
script:
content: |
$("#setup").click(() => tryCatch(setup));
$("#get-formulas").click(() => tryCatch(getFormulas));
@kbrandl
kbrandl / Chart series markers.yaml
Created February 11, 2018 23:04
Set chart series marker properties - Shared with Script Lab
name: Chart series markers
description: Set chart series marker properties
author: kbrandl
host: EXCEL
api_set: {}
script:
content: |
$("#setup").click(() => tryCatch(setup));
$("#set-markers").click(() => tryCatch(setMarkers));
@kbrandl
kbrandl / Set and get values.yaml
Created February 11, 2018 00:21
Set and get values and formulas for a range - Shared with Script Lab
name: Set and get values
description: Set and get values and formulas for a range
author: kbrandl
host: EXCEL
api_set: {}
script:
content: |
$("#setup").click(setup);
$("#set-value").click(setValue);
@kbrandl
kbrandl / 48489281-SO-table-manipulation.yaml
Created January 28, 2018 19:31
Shared with Script Lab
name: 48489281-SO-table-manipulation
description: ''
author: kbrandl
host: EXCEL
api_set: {}
script:
content: |
$("#create-table").click(createTable);
$("#delete-rows").click(deleteRows);
@kbrandl
kbrandl / 48482800-list-worksheets.yaml
Last active January 28, 2018 16:26
List the worksheets in the workbook - Shared with Script Lab
name: 48482800-list-worksheets
description: List the worksheets in the workbook
author: kbrandl
host: EXCEL
api_set: {}
script:
content: |
$("#list-worksheets").click(listWorksheets);
async function listWorksheets() {
name: 48423914-how-to-get-a-base64-representation-of-a-selected-image-in-word-for-ipad
description: ''
author: kbrandl
host: WORD
api_set: {}
script:
content: |-
$("#run").click(() => tryCatch(run));
function run() {
name: 48380951-online-word-breaks-when-inserting-a-content-control
description: ''
author: kbrandl
host: WORD
api_set: {}
script:
content: |
$("#run").click(run);
var content = '<span>Hello, World!</span>';