Skip to content

Instantly share code, notes, and snippets.

View sholtomaud's full-sized avatar
💭
Research

Sholto Maud sholtomaud

💭
Research
  • Sydney
View GitHub Profile
@sholtomaud
sholtomaud / code-stack.ts
Created August 3, 2022 15:54 — forked from sebsto/code-stack.ts
CDK Create EC2 instace in private subnet. Install Nginx.
import ec2 = require('@aws-cdk/aws-ec2');
import cdk = require('@aws-cdk/core');
import { Fn, Tag, Resource } from '@aws-cdk/core';
import { AmazonLinuxImage, UserData, InstanceType } from '@aws-cdk/aws-ec2';
import { Role, ServicePrincipal, ManagedPolicy, CfnInstanceProfile } from '@aws-cdk/aws-iam'
/**
* Create my own Ec2 resource and Ec2 props as these are not yet defined in CDK
* These classes abstract low level details from CloudFormation
@sholtomaud
sholtomaud / animated_svg.html
Created September 29, 2019 04:56 — forked from tylerneylon/animated_svg.html
Example of an animated geometric figure
<!DOCTYPE HTML>
<html>
<body>
<svg width="600" height="600" vertion="1.1"
id="svg" xmlns="http://www.w3.org/2000/svg">
<defs>
<clipPath id="angleClip">
<polygon id="atriangle" />
</clipPath>
@sholtomaud
sholtomaud / animated_svg.html
Created September 29, 2019 04:56 — forked from tylerneylon/animated_svg.html
Example of an animated geometric figure
<!DOCTYPE HTML>
<html>
<body>
<svg width="600" height="600" vertion="1.1"
id="svg" xmlns="http://www.w3.org/2000/svg">
<defs>
<clipPath id="angleClip">
<polygon id="atriangle" />
</clipPath>
function update(account, id, schemaData, callback){
schemaData.companyId = account.companyId;
kgo
({
account: account,
id: id,
data: schemaData
})
node_modules
function update(account, id, schemaData, callback){
schemaData.companyId = account.companyId;
kgo
({
account: account,
id: id,
data: schemaData
})

Hello TWJH

Here is my TODO list for our next catchup

  • bibliography bibtex
  • light latex
  • slides ✅
  • scrivener import/export?

#!/bin/bash
echo "Hello, world!"
@sholtomaud
sholtomaud / index.js
Created July 10, 2016 05:48
requirebin sketch
const fastn = require('fastn')({
list: require('fastn/listComponent'),
text: require('fastn/textComponent'),
templater: require('fastn/templaterComponent'),
_generic: require('fastn/genericComponent')
}, true);
const app = fastn('div', 'Hello Datalist ',
fastn('input',{
list:"browsers",
const fastn = require('fastn')({
list: require('fastn/listComponent'),
text: require('fastn/textComponent'),
templater: require('fastn/templaterComponent'),
_generic: require('fastn/genericComponent')
}, true);
// items: fastn.binding('dropdowns').attach(dropdownModel),
// template: function(model,scope){
// return fastn('option',scope.get('item'));