- Create repo on GitHub where you'll put your files.
- Use jsDeliver or statically to get your assets.
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
@use 'sass:math'; | |
@mixin _flex-gap($gap, $row: true) { | |
$margin: math.div($gap, 2); | |
$transform: -$margin; | |
@if $row { | |
margin-left: $transform; | |
margin-right: $transform; | |
} @else { | |
margin-top: $transform; | |
margin-bottom: $transform; |
This step-by-step video tutorial will guide you through the procedure of forcing RGB color output on your M1 Mac.
Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4
The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed.
-- Change the listening mode of AirPods Pro, Laurent Bourgon 2020 | |
-- Works in the background using private APIs, thanks to @smithumble | |
-- Frameworks to connect with Bluetooth | |
use framework "IOBluetooth" | |
use scripting additions | |
-- Get AirPods Name | |
tell application "BetterTouchTool" to set AIRPODS_PRO_NAME to get_string_variable "AirPodsWg_DevceName" |
/* | |
------------------------------------------------- | |
Here's the progress to date: | |
- Night mode UI is showing night mode controls | |
- Night mode triggers in low light automatically | |
- Core functionality of AVFoundation and Celestial does recognize Night mode | |
- All the logic is already implemented for XS and 11 (they even share the same ipsw for 13.3) | |
- iPhone X support could be significantly harder to get, plus I don't have it to test anyways | |
Here's what's not working: |
#!/bin/bash | |
#!/bin/zsh | |
# by joevt May 24/2023 | |
#========================================================================================= | |
edid_decode=edid-decode | |
#========================================================================================= | |
# Modify EDID |
This guide assumes that:
gcloud
) is installed on your local machinegcloud auth login
Event delegation works by attaching a single event listener to a parent element to catch events bubbling up from the children. Many people believe this is more performant than attaching event listeners to each child. I am not convinced this is always true.
Let's start with a common example of event delegation. Here we have a list of elements:
<ul id="item-list">
<li data-cost="12">Item 1</li>
<li data-cost="18">Item 2</li>
<li data-cost="6">Item 3</li>
...
#!/usr/bin/swift | |
import Foundation | |
let path = URL(fileURLWithPath: NSString(string: "~/Library/Application Support/.ffuserdata").expandingTildeInPath) | |
let data = try! NSData(contentsOf: path) as Data | |
let dictionary = try! NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as! NSDictionary | |
let mutableDictionary = dictionary.mutableCopy() as! NSMutableDictionary | |
for (key, value) in mutableDictionary { |