Skip to content

Instantly share code, notes, and snippets.

View alicewriteswrongs's full-sized avatar
😰

Alice Pote alicewriteswrongs

😰
View GitHub Profile
@alicewriteswrongs
alicewriteswrongs / build-angular-testing.patch
Created April 25, 2024 16:49
framework stencil angular build size path
diff --git a/build_angular.sh b/build_angular.sh
new file mode 100755
index 0000000000..9338248ec8
--- /dev/null
+++ b/build_angular.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+# install deps in all packages
+# npx lerna exec npm install
@alicewriteswrongs
alicewriteswrongs / non-shadow-face.js
Created October 5, 2023 18:08
a non-shadow FACE which works
// This is a pretty basic text input component using `ElementInternals` which
// is minimalist to the point of being essentially useless (it doesn't offer
// any functionality beyond what you get from just `<input type="text">`
// and in fact it merely wraps such an input!)
//
// However, it's useful as a simple example which is documented with a bunch of
// comments to explain how it all works.
//
// The component has:
//
import { Component, Prop, h, Watch } from '@stencil/core';
import { format } from '../../utils/utils';
enum MyEnum {
first = 'first'
}
@Component({
tag: 'my-component',
styleUrl: 'my-component.css',
{
"timestamp": "2023-04-05T15:47:46",
"compiler": {
"name": "@stencil/core",
"version": "3.2.0-dev.1680709325.13a58f4",
"typescriptVersion": "4.9.5"
},
"components": [
{
"filePath": "./src/components/accordion/accordion.tsx",
diff --git a/repro.sh b/repro.sh
new file mode 100755
index 0000000..a400b22
--- /dev/null
+++ b/repro.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+set -euxo pipefail
+
#!/bin/bash
set -euxo pipefail
# npm install --global lerna
lerna init
npm install
const getAndSortLessons = () => {
const currentActive = $.jStorage.get("l/activeQueue")
const activeCount = currentActive.length
const currentLessons = $.jStorage.get("l/lessonQueue")
const allLessons = [...currentActive, ...currentLessons]
const [radicals, kanji, vocabulary] = allLessons.reduce(
@alicewriteswrongs
alicewriteswrongs / webpack-stats-all-splits.json
Created January 6, 2017 19:06
webpack stats 1/6 for mm (with all the splits)
This file has been truncated, but you can view the full file.
{
"errors": [],
"warnings": [],
"version": "2.2.0-rc.3",
"hash": "36bb16b38ead5d0e13c9",
"time": 68755,
"publicPath": "",
"assetsByChunkName": {
"dashboard": [
"dashboard-aa690f004260d45a3801.js",
@alicewriteswrongs
alicewriteswrongs / webpack-stats-just-search.json
Last active January 6, 2017 18:58
webpack stats 1/6 for mm (just splitting the search page)
{
"errors": [],
"warnings": [],
"version": "2.2.0-rc.3",
"hash": "aaecd06ce4a2b3ff2314",
"time": 63486,
"publicPath": "",
"assetsByChunkName": {
"dashboard": [
"dashboard-157f3777136d022fccdf.js",
diff --git a/static/js/constants.js b/static/js/constants.js
index aac9ccc..1d7c0b3 100644
--- a/static/js/constants.js
+++ b/static/js/constants.js
@@ -621,8 +621,12 @@ export const DASHBOARD_RESPONSE = deepFreeze([
"prerequisites": ""
},
],
- "financial_aid_availability": false,
- "id": 6