Skip to content

Instantly share code, notes, and snippets.

Goats are cute

Ruandré Janse van Rensburg ruandre

Goats are cute
View GitHub Profile
bgrand-ch /
Created May 19, 2021 — forked from citrusui/
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<summary>How do I dropdown?</summary>
This is how you dropdown.
View Microsoft.PowerShell_profile.ps1
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
Import-Module PSReadLine
#Import-Module PSColors
#Import-Module posh-git
Import-Module -Name Terminal-Icons
benfrain / Nord.sublime-color-scheme
Created Jul 23, 2020
Overrides for the cursor of a Sublime Text theme (place in /Packages/User/)
View Nord.sublime-color-scheme
"caret": "#f90",
"block_caret": "#f90",
bgrand-ch / babel.config.js
Created Jun 17, 2020
Svelte 3, Babel 7, Polyfill IE 11
View babel.config.js
module.exports = function (api) {
const presets = [
'@babel/preset-env', {
useBuiltIns: 'usage',
corejs: 3,
tomhicks / plink-plonk.js
Last active Oct 13, 2021
Listen to your web pages
View plink-plonk.js

How to setup AWS lambda function to talk to the internet and VPC

I'm going to walk you through the steps for setting up a AWS Lambda to talk to the internet and a VPC. Let's dive in.

So it might be really unintuitive at first but lambda functions have three states.

  1. No VPC, where it can talk openly to the web, but can't talk to any of your AWS services.
  2. VPC, the default setting where the lambda function can talk to your AWS services but can't talk to the web.
  3. VPC with NAT, The best of both worlds, AWS services and web.
nathansmith / get_parents_example.ts
Last active Nov 5, 2019
TypeScript example, for a friend. Explaining types, interfaces, and tuples.
View get_parents_example.ts
// Possible `gender` values.
type Gender = 'male' | 'female' | 'other'
// Generic `person` interface.
interface IPerson {
// Specific string.
gender: Gender
// Any string.
name: string
FBI23 / AWS Security Resources
Created Oct 18, 2018 — forked from chanj/AWS Security Resources
AWS Security Resources
View AWS Security Resources
I get asked regularly for good resources on AWS security. This gist collects some of these resources (docs, blogs, talks, open source tools, etc.). Feel free to suggest and contribute.
Short Link:
Official AWS Security Resources
* Security Blog -
* Security Advisories -
* Security Whitepaper (AWS Security Processes/Practices) -
* Security Best Practices Whitepaper -
argyleink / easings.css
Created Feb 26, 2018
Handy CSS properties for easing functions
View easings.css
:root {
--ease-in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53);
--ease-in-cubic: cubic-bezier(0.55, 0.055, 0.675, 0.19);
--ease-in-quart: cubic-bezier(0.895, 0.03, 0.685, 0.22);
--ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
--ease-in-expo: cubic-bezier(0.95, 0.05, 0.795, 0.035);
--ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.335);
--ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
--ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
--ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
Vestride /
Last active Oct 24, 2021
Encoding video for the web

Encoding Video


Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus