These are all the words Apple does not want you to have on an AirTag. List is from ~2021 IIRC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exiftool *.ARW -gpslatitude=50.123 -gpslongitude=10.123 -gpslatituderef=N -gpslongituderef=E |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type NullToUndefined<T> = { | |
[KEY in keyof T]: null extends T[KEY] | |
? Exclude<T[KEY], null> | undefined | |
: T[KEY] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type ExampleType = { | |
a: string | |
b: { | |
x: string | |
y: number | |
} | |
c: string[] | |
} | |
type ExtractOptionalKeys<TYPE> = { [KEY in keyof TYPE]: TYPE[KEY] extends Record<string, any> ? (TYPE[KEY] extends Array<any> ? never : KEY) : never }[keyof TYPE] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const regexForScssVariablesInVue = /\$(?!t\(|router|refs|emit|event|route|t:|store|i18n)([a-z]+)/ |
I hereby claim:
- I am FlorianWendelborn on github.
- I am dodekeract (https://keybase.io/dodekeract) on keybase.
- I have a public key whose fingerprint is A1E4 7ADC D550 DAE9 2337 7CF2 647E 95F1 6C71 B29F
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Shitty Hack to Reverse Children in CSS Without Flex-Direction</title> | |
<style> | |
body { | |
position: absolute; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const replaceObjectStrings = <T extends object>( | |
data: T, | |
from: string | RegExp, | |
to: string | |
): T => | |
Object.fromEntries( | |
Object.entries(data).map(([key, value]) => { | |
if (value === null) return [key, null] | |
switch (typeof value) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<!-- Any idea whatsoever why input.works works and input.wtf is completely | |
unstyled in firefox & chrome? Also, input.half-wtf works in Firefox, even | |
when swapping around the lines. --> | |
<style> | |
input { | |
-moz-appearance: none; | |
-webkit-appearance: none; | |
appearance: none; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mapBranchesGetter = <G extends keyof BranchesStore>( | |
getter: G | |
): BranchesStore[G] => { | |
return this.context.rootGetters[`branches/${getter}`] | |
} | |
const getBranch = mapBranchesGetter('getBranch') | |
const mapGetter = <S, G extends keyof S>(namespace: string, getter: string): S[G] => { | |
return this.context.rootGetters[`${namespace}/${getter}`] | |
} |
NewerOlder