Search
Detect System Theme Preference Change Using JavaScript
24.10.2022
JavaScript and CSS allow users to detect the user theme preference with CSS’ prefers-color-scheme media query. It’s standard these days to use that preference to show the dark or light theme on a given website. But what if the user changes their preference while using your app?...
Everything We Know About Starfield’s Dialogue And Traits System So Far
13.10.2022
Doom publisher Bethesda’s star-spotted, belly-bloated role-playing game Starfield is delayed to 2023, but game director and executive producer Todd Howard shared details of its dialogue and traits system in a Q&A video released this week. Howard says in the video that he considers Starfield...
Cyberpunk 2077 Tips To Break Hearts, Romance Everyone After All The Updates
12.10.2022
Are you sick of wandering the streets of Night City alone, with only the sights and sounds of gratuitously over-sexualized advertisements to keep you company? Has someone caught your eye? Someone you’d like to be more than just chooms with? Even if you’ve ventured into Night City before, it’s worth...
Ripple boss tips when SEC case will end as Hoskinson hits back at XRP army
12.10.2022
Optimistically speaking, Brad Garlinghouse thinks the case will be concluded in 3-4 months, though it could take longer
Skip or Only Run a Test with JavaScript Mocha
10.10.2022
Whenever I start to feel anxiety about a big change I’m making, I start writing more unit tests. I’ll write down my fear and then write a test that attacks, and eventually relaxes, that fear. There are two actions that I’ve been frequently using with test writing: skipping all...
7 Tips For Overwatch 2 Beginners Determined To Win
7.10.2022
Thanks to a bunch of funny people, the most difficult aspect of Overwatch 2 right now is probably just getting into the damn game. But if you’re new to this franchise, what awaits is a whole suite of heroes with unique abilities that mesh together into a hectic first-person shooter in which...
13 Things I Wish I Knew Before (Re)Starting Cyberpunk 2077
5.10.2022
Cyberpunk 2077’s been having a bit of a renaissance lately. The hit Netflix spinoff anime Edgerunners, which fellow Kotaku staff writer Isaiah Colbert described as “Studio Trigger at its finest,” has pulled people into the dark and gritty world of this game once more. Add to that a number...
Be Prepared For These 7 Big Overwatch 2 Gameplay Changes
4.10.2022
Sorry, the old Overwatch can’t come to the phone right now. She’s dead. Today, October 4 at 3 p.m. EST, Overwatch 2 will come to replace her, and the sun has long set on days of 6v6 and free-range characters not cloistered behind a battle pass.Read more
Determine Default App for File Type from Command Line
3.10.2022
One quality of life improvement any developer can make for themselves is ensuring different file types open in the app they’re most proficient in. If you know me, you know I prefer accomplishing as much as possible from the command line. The duti utility allows users to determine default file...
Set Brave as Default Browser from Command Line
26.9.2022
I’ve been a huge fan of the Brave web browser for years. They’re crypto-friendly, provide native ad-blocking features, and even provide Tor integration. Whenever I set up new systems, I automate Brave as the default browser. You can use the following shell command to set Brave as...
CSS :autofill
22.9.2022
Autofilling HTML input elements is a frequent user action that can drastically improve user experience. Hell, we all autofill for our passwords and address information. But what control do we have when input elements have been autofilled? To add custom CSS styles to inputs whose contents have been...
Disney Dreamlight Valley Cooking Guide: 3 Tips To Master Even The Trickiest Recipes
19.9.2022
Hey, no judgment if you burn your toast, I still occasionally eat dinosaur chicken nuggies. We don’t all have what it takes in the kitchen, but the life simulation game Disney Dreamlight Valley lets everyone take control of their destiny.Read more
4 Easy Disney Dreamlight Valley Tips To Level Friendship Fast
13.9.2022
Friendship is important all the time, even in the farming sim Disney Dreamlight Valley. Here, raising friendship levels rewards you with new locations, characters, and items like gray overalls—because the true meaning of friendship is when an unblinking Mickey Mouse iteration rewards you with...
11 Things I Wish I Knew Before Starting The Full Version Of Ooblets
9.9.2022
Anyone who has spoken to me in the last week knows that I am slowly losing my grip on reality due to the presence of rats in my apartment. The only thing keeping me from confronting the greasy creatures with a tactical vest made of rat coronavirus spike proteins and knives is Ooblets,...
27 Things I Wish I Knew Before Playing Disney Dreamlight Valley
8.9.2022
Disney Dreamlight Valley–out now on Xbox, PlayStation, Switch and PC– is a new cozy life sim that combines the chill village vibes of Animal Crossing with the farming and mining of Stardew Valley, all while sprinkling on a heaping of Disney magic in the form of iconic characters and locations from...
4 Ways To Get Rich Quick In Disney Dreamlight Valley
8.9.2022
The life-sim Disney Dreamlight Valley frames its story as Mickey-Mouse-ears-wearing haven—far, far away from the hustle of city living or real life. But to enjoy it fully and make upgrades to its dilapidated town, obtain key items, and buy pretty dresses, you’ll still need to have fat stacks...
17 Things I Wish I Knew Before I Started Exploring Genshin Impact’s Sumeru Region
30.8.2022
Genshin Impact released its fourth major open-world region last week, and there have been significant additions to how open world travel works in Sumeru. After combing the new region for dozens of hours, I’ve come up with an essential, actionable list to make sure that you’re making the most out...
CSS :out-of-range
22.8.2022
One aspect of web development I’ve always loathed was working with forms. Form elements have been traditionally difficult to style due to OS and browser differences, and validation can be a nightmare. Luckily the native HTML APIs added methods for improving the form validation situation. With...
git Force Push
19.8.2022
Rebasing is a frequent task for anyone using git. We sometimes use rebasing to branch our code from the last changes or even just to drop commits from a branch. Oftentimes when trying to push after a rebase, you’ll see something like the following: hint: Updates were rejected because the...
18 Things I Wish I Knew Before Starting Cult Of The Lamb
18.8.2022
Despite what Hollywood may have you think running a cult is tough work—or at least it is in Cult of the Lamb. Out now for consoles and PC, Cult of the Lamb is, depending on who you ask, an action roguelike with city-builder elements or a city-builder with action roguelike elements. Either way, it’s...