Skip to content

Instantly share code, notes, and snippets.

View ericorruption's full-sized avatar
🎵

Eric Quanz ericorruption

🎵
View GitHub Profile
@ericorruption
ericorruption / quine.css
Created February 2, 2023 19:16
A stylesheet to turn my website into a quine
/* References: https://css-tricks.com/this-page-is-a-truly-naked-brutalist-html-quine/ */
* {
margin: 0;
padding: 0;
}
html {
font-family: Monospace;
}
version: "3.8"
x-environment-variables: &environment-variables
PUID: 1000
PGID: 1000
TZ: Europe/Berlin
services:
vpn:
image: linuxserver/wireguard
import * as AccordionPrimitive from "@radix-ui/react-accordion";
import { FunctionComponent } from "react";
interface AccordionProps extends AccordionPrimitive.AccordionSingleProps {}
export const Accordion: FunctionComponent<AccordionProps> = (props) => (
<AccordionPrimitive.Accordion {...props} />
);
export const AccordionItem = AccordionPrimitive.AccordionItem;
@ericorruption
ericorruption / docker-compose.yml
Created January 12, 2022 13:29
Simplest node development environment with docker
services:
node:
image: node:16
user: "node"
command: "npm start"
working_dir: /app
volumes:
- ./:/app
ports:
- 3000:3000
@ericorruption
ericorruption / interview.txt
Created December 15, 2021 10:13
Front-end interview questions
- What was the last thing you learned? When?
- What excites or interests you about coding?
- What is a recent technical challenge you experienced and how did you solve it?
- What actions have you personally taken on recent projects to increase maintainability of your code?
@ericorruption
ericorruption / README.md
Created August 31, 2021 11:09
Adam Ragusea Chicken Dinner

Chicken, gravy, mashed potatoes and peas

Ingredients

  • 1.8kg chicken
  • olive oil
  • 1 shallot
  • 1 lemon
  • 500g potatoes (?) + one big other potato
  • 1/2 stick of butter (or less)
codesign --remove-signature /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Code\ Helper\ \(Renderer\).app
(https://github.com/microsoft/vscode/issues/105446)
or
changing renderer?
(--disable-renderer-accessibility)
https://github.com/microsoft/vscode/issues/108590
npm config set registry https://registry.npmjs.org
DO NOT USE ARRAY.INCLUDES WITH OBJECTS
@ericorruption
ericorruption / main.dart
Created February 21, 2020 09:35
readOnly textField - cannot copy text
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Demo',
theme: ThemeData(