Skip to content

Instantly share code, notes, and snippets.

View mcginty's full-sized avatar
🖤
strange sensation to feel alive

Jake McGinty mcginty

🖤
strange sensation to feel alive
  • in between kate bush albums
View GitHub Profile
@mcginty
mcginty / index.html
Created February 3, 2024 06:25
Pile of Holidays
<link href="https://api.fontshare.com/css?f[]=satoshi@400,700&display=swap" rel="stylesheet">
<!-- days sourced from: https://nationaldaycalendar.com/february/ -->
<h1>February 2022</h1>
<p>Holidays and Daily Observances in the United States. Try clicking one!</a>
<div class="previewImage"></div>
<div class="container">
<div class="physicsDiv dayContainer g1"><time datetime="2022-02-01">🍫</time>
<div class="dayDescription"></div>
</div>
@mcginty
mcginty / material_colors.xml
Last active March 17, 2022 04:09
Android XML resource with the full material color palette. Source: http://www.google.com/design/spec/style/color.html#color-color-palette
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="material_red50">#ffffebee</color>
<color name="material_red100">#ffffcdd2</color>
<color name="material_red200">#ffef9a9a</color>
<color name="material_red300">#ffe57373</color>
<color name="material_red400">#ffef5350</color>
<color name="material_red500">#fff44336</color>
<color name="material_red600">#ffe53935</color>
<color name="material_red700">#ffd32f2f</color>
const puppeteer = require('puppeteer');
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
(async () => {
const browser = await puppeteer.launch({headless: false});
// const browser = await puppeteer.launch();
-28.5 dbfs
-25.5 dbfs
-22.5 dbfs
-19.5 dbfs
-16.5 dbfs
-13.5 dbfs
-10.5 dbfs
constant gain
-76.5 dbfs
-73.5 dbfs
[ 9.899] (--) Log file renamed from "/var/log/Xorg.pid-755.log" to "/var/log/Xorg.0.log"
[ 9.903]
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[ 9.903] Build Operating System: Linux Arch Linux
[ 9.903] Current Operating System: Linux ichi 4.17.13-arch1-1-ARCH #1 SMP PREEMPT Mon Aug 6 23:06:31 UTC 2018 x86_64
[ 9.903] Kernel command line: \vmlinuz-linux cryptdevice=UUID=2d7a85c5-f37e-409c-a153-ec81a8f0afe0:cryptlvm root=/dev/mapper/main_group-root quiet rw initrd=\intel-ucode.img initrd=\acpi_override initrd=\initramfs-linux.img mem_sleep_default=deep
[ 9.903] Build Date: 18 June 2018 03:12:37PM
[ 9.903]
[ 9.903] Current version of pixman: 0.34.0
-- Logs begin at Fri 2018-08-03 05:13:14 CEST, end at Sat 2018-08-11 13:05:37 CEST. --
Aug 11 13:05:05 ichi kernel: Linux version 4.17.13-arch1-1-ARCH (builduser@heftig-19721) (gcc version 8.2.0 (GCC)) #1 SMP PREEMPT Mon Aug 6 23:06:31 UTC 2018
Aug 11 13:05:05 ichi kernel: Command line: \vmlinuz-linux cryptdevice=UUID=2d7a85c5-f37e-409c-a153-ec81a8f0afe0:cryptlvm root=/dev/mapper/main_group-root quiet rw initrd=\intel-ucode.img initrd=\acpi_override initrd=\initramfs-linux.img mem_sleep_default=deep
Aug 11 13:05:05 ichi kernel: KERNEL supported cpus:
Aug 11 13:05:05 ichi kernel: Intel GenuineIntel
Aug 11 13:05:05 ichi kernel: AMD AuthenticAMD
Aug 11 13:05:05 ichi kernel: Centaur CentaurHauls
Aug 11 13:05:05 ichi kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Aug 11 13:05:05 ichi kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Aug 11 13:05:05 ichi kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] Linux version 4.17.13-arch1-1-ARCH (builduser@heftig-19721) (gcc version 8.2.0 (GCC)) #1 SMP PREEMPT Mon Aug 6 23:06:31 UTC 2018
[ 0.000000] Command line: \vmlinuz-linux cryptdevice=UUID=2d7a85c5-f37e-409c-a153-ec81a8f0afe0:cryptlvm root=/dev/mapper/main_group-root quiet rw initrd=\intel-ucode.img initrd=\acpi_override initrd=\initramfs-linux.img mem_sleep_default=deep
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[19156.170363] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-12-16.ddc
[19156.173283] Bluetooth: hci0: Applying Intel DDC parameters completed
[19182.575206] PM: suspend entry (deep)
[19182.575210] PM: Syncing filesystems ... done.
[19182.594316] Freezing user space processes ... (elapsed 0.047 seconds) done.
[19182.641628] OOM killer disabled.
[19182.641630] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[19182.643489] Suspending console(s) (use no_console_suspend to debug)
[19183.219210] ACPI: EC: interrupt blocked
[19183.259840] ACPI: Preparing to enter system sleep state S3
# This file is a template, and might need editing before it works on your project.
# Unofficial language image. Look for the different tagged releases at:
# https://hub.docker.com/r/scorpil/rust/tags/
image: "liuchong/rustup:nightly"
# Optional: Pick zero or more services to be used on all builds.
# Only needed when using a docker container to run your tests in.
# Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-service
#services:
# - mysql:latest