Skip to content

Instantly share code, notes, and snippets.

View larenelg's full-sized avatar
💖

Larene larenelg

💖
View GitHub Profile
@larenelg
larenelg / detect-js-framework.js
Last active January 31, 2023 02:38 — forked from rambabusaravanan/detect-js-framework.js
Detect JS Framework used in a Website
// Paste these lines into website's console (Win/Linux: Ctrl + Shift + I / Mac: Cmd + Alt + I)
if(!!window.React ||
!!document.querySelector('[data-reactroot], [data-reactid]'))
console.log('React.js');
if(!!document.querySelector('script[id=__NEXT_DATA__]'))
console.log('Next.js');
if(!!window.__NUXT__)
@larenelg
larenelg / forward-cloudwatch-logs-to-seq.js
Last active May 25, 2022 06:53
Forward Cloudwatch Logs to Seq Lambda
'use strict';
/*
Make sure you are logging to Console using the Compact JSON Formatter, e.g.
```
public class LambdaEntryPoint : APIGatewayHttpApiV2ProxyFunction
{
protected override void Init(IWebHostBuilder builder)
{
@larenelg
larenelg / logging.md
Created May 3, 2022 07:15
CSSE6400 Code Snippets to Add for Logging

WeatherApi.csproj

<PackageReference Include="serilog" Version="2.10.0" />
<PackageReference Include="serilog.AspNetCore" Version="5.0.0" />
<PackageReference Include="serilog.sinks.console" Version="4.0.1" />
<PackageReference Include="serilog.sinks.seq" Version="5.1.1" />
@larenelg
larenelg / transcript.md
Last active October 7, 2021 07:55
Transcript for UQ Accessibility Lecture DECO2800, 5 Oct 2021

Accessibility and inclusive design DECO2800 Transcript

Slides available at: Accessibility and inclusive design - DECO2800 Guest Lecture (shared) - Google Slides

Hi my name is Larene,

I'm an half Chinese half Australian person with short black hair and glasses, and I'm presenting this talk from my bedroom today, which is why I've turned on the blurred background filter. I live in Meanjin, or Brisbane Australia, land belonging to the Turrbal and Jagera peoples, to whom I pay my respects to today. I'm wearing a YOW! T-shirt which is some free swag I got from one of the most popular Australian software conferences. I am a cis-het woman and I and non-disabled.

Why am I describing myself?

I am describing myself, and will be describing any visual content in my talk, because as an accessibility specialist, it's a habit I am building, so that all of my public content will be accessible to folks who can only listen to the audio of this video. I've asked Richard if

@larenelg
larenelg / README.md
Last active October 11, 2019 05:06
Brisbane Tech Meetup Code of Conduct

Script for organisers to say during the welcome / kickoff for a meetup:

"A reminder that this Meetup is a respectful community of professionals with a code of conduct. Our meetup's code of conduct is available on our Meetup page."

Brisbane Tech Meetup Code of Conduct

This meetup is dedicated to providing a respectful, harassment-free community for everyone. We do not tolerate harassment or bullying of any community member in any form. This does not only extend to members to local meetup communities, but to anyone who chooses to become involved in the larger meetup community of users, developers and integrators through events or interactions.

Harassment includes offensive verbal/electronic comments related to personal characteristics or choices, sexual images or comments in public or online spaces, deliberate intimidation, bullying, stalking, following, harassing photography or recording, sustained disruption of talks, IRC chats, electronic meetings, physical meetings or other events, inappropriate physi

@larenelg
larenelg / terminal
Created October 22, 2018 10:48
Adding React UI Components to an ASP.NET Core MVC App
$ dotnet new mvc
@larenelg
larenelg / index.html
Last active October 19, 2018 01:03
Careers in STEM Graduate STEM Jobs Feed Widget
<div id="work180-grad-stem-jobs" style="width: 100%"></div>
<script>
(function (w,d,s,o,f,js,fjs) {
w['Work180_Widget']=o;w[o] = w[o] || function () { (w[o].q = w[o].q || []).push(arguments) };
js = d.createElement(s), fjs = d.getElementsByTagName(s)[0];
js.id = o; js.src = f; js.async = 1; fjs.parentNode.insertBefore(js, fjs);
}(window, document, 'script', 'widget', 'https://feeds.work180.co/widget.js'));
widget({'parentId': 'work180-grad-stem-jobs', 'domain': 'careerswithstem.com.au/grad-stem', 'region': 'AU'});
</script>
@larenelg
larenelg / index.html
Created October 10, 2018 00:56
WORK180 Job Feed Widget Integration
<!DOCTYPE html>
<html>
<head>
<title>Work180 Widgets</title>
</head>
<style>
body {
margin: 1rem 0 0 0;
display: flex;
flex-direction: column;