Skip to content

Instantly share code, notes, and snippets.

View zachlatta's full-sized avatar
🏴‍☠️

zach latta zachlatta

🏴‍☠️
View GitHub Profile

I run an Intel AX200 Wi-Fi 6 PCI card in my desktop computer. I've had weird issues, where suddenly the internet would cut out, drop, or otherwise be unreliable, causing me to endlessly refresh Slack and other webapps in frustration.

I couldn't find anything in my logs (journalctl -b) that was suspicious and couldn't figure out what was going on. The answer: Power saving mode was turned on by default in the card and needed to be turned off.

How to fix

Run iwconfig to see if power saving mode is on:

3080 Ti Fans Not Spinning

I bought a Gigabyte 3080 Ti Gaming OC and noticed that only the fan closest to the ports would turn on. It was also locked at 100%, and the other fans weren't spinning at all. Sometimes I could get the furthest fan away from the output ports to turn on, but not consistently - and I could never get the middle fan spinning.

I was able to fix this by:

  • Unplugging and re-plugging my power supply cables into the card. You have to use two separate PCI-E power cables from the PSU to the GPU. You cannot use a single cable. It won't supply enough power.
  • Move the GPU to a different PCI-E slot on the motherboard. I have no idea why this would matter, but the GPU started working fine after I did this.

The Ballad Of Prophet Orpheus

What the hell just happened? That was all Triceracop kept thinking as he clenched a gloved hand against his throat. It didn't stop the blood from pulsing between his fingers. Already a shockingly wide pool had formed in the dirt next to his face. He was on the ground somehow. Although he couldn't see the gash, the pain told him the wound was deep. He rolled onto his back and stared up at a stretch of spotless blue sky.

His usually methodical mind sped frantically through the possibilities—like

@zachlatta
zachlatta / gist:3746613
Created September 18, 2012 23:06
Assignment: Internet Service Provider
/* An Internet service provider has three different subscription packages
* for its customers.
*
* Package A: For $9.95 per month 10 hours of access access are
* provided. Additional hours are $2.00 per hour.
*
* Package B: For $13.95 per month 20 hours of access are provided.
* Additional hours are $1.00 per hours.
*
* Package C: For $19.95 per month unlimited access is provided.

Community Game Designer @ Hack Club

Thank you to everyone who applied for this position. In total, 263 people submitted applications, writing more than 100,000 words in total. To every applicant: thank you. As of 2021-01-27, this posting is now closed.

At Hack Club (https://hackclub.com), a 501(c)(3) nonprofit, we're building a giant video game, but instead of being made out of bits and code, it's made out of teenagers. And instead of pushing players to get a high score, Hack Club helps teenagers learn to code, build the most meaningful friendships of their lives, and develop strong identities to become the future leaders our world needs.

Alongside the soccer players, theater kids, and band geeks, we aspire to create and foster a new type of high schooler: the teenage hacker. Our goal: to become as ubiquitous, as universal, and as culturally foundational for young people today as the Girl and Boy Scouts were 70 years ago.

Title: Community Game Designer

@zachlatta
zachlatta / typical_snapchat_update
Last active October 15, 2020 11:16
Snaplive Workshop

Getting Started

Fire up a box on Nitrous.IO by right clicking on the following button and opening it in a new tab:

Hack zachlatta/snaplive on Nitrous

Here's a GIF of what should happen:

Example of setting up Nitrous.io

Using iPad as external monitor on Sway

From any1/wayvnc#7 (comment)

swaymsg create_ouput

swaymsg output "HEADLESS-1" resolution 1920x1080

wayvnc -o HEADLESS-1 0.0.0.0

@zachlatta
zachlatta / style.css
Created September 16, 2020 19:35
CSS uploaded by scrapbook.hackclub.com/customizer
@import url('https://fonts.googleapis.com/css2?family=Ranchers&display=swap');
:root {
--colors-background: #4287f5;
--colors-text: #161f29;
--colors-elevated: #f6ff96;
--colors-muted: #161f29;
--fonts-body: 'Ranchers', cursive;
}
@zachlatta
zachlatta / index.css
Last active June 30, 2020 14:25 — forked from pauleks/index.css
@font-face {
font-family: "Pixelated MS Sans Serif";
src: url(https://unpkg.com/98.css@0.1.16/dist/ms_sans_serif.woff) format("woff");
src: url(https://unpkg.com/98.css@0.1.16/dist/ms_sans_serif.woff2) format("woff2");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family:"Pixelated MS Sans Serif";src:url(https://unpkg.com/98.css@0.1.16/dist/ms_sans_serif_bold.woff) format("woff");src:url(https://unpkg.com/98.css@0.1.16/dist/ms_sans_serif_bold.woff2) format("woff2");font-weight:700;font-style:normal;
@zachlatta
zachlatta / scrapbook-css.css
Last active June 23, 2020 16:21 — forked from Anthonykung/scrapbook-css.css
Anthony's Hack Club Scrapbook CSS
/**************************************************
* *
* Name: scrapbook-css.css *
* Description: Anthony's Hack Club Scrapbook CSS *
* Date: June 20, 2020 *
* Created by: Anthony Kung *
* Business URL: https://hailiga.org/anthonykung *
* Author URL: https://anthonykung.com *
* *
**************************************************/