Skip to content

Instantly share code, notes, and snippets.

View Fafnur's full-sized avatar
🅰️
Angularity

Aleksandr Serenko Fafnur

🅰️
Angularity
View GitHub Profile
@kuroski
kuroski / camelCase-snake_case-types.ts
Last active May 16, 2024 07:54
Typescript type camelCase / snake_case conversion
type CamelCase<S extends string> = S extends `${infer P1}_${infer P2}${infer P3}`
? `${Lowercase<P1>}${Uppercase<P2>}${CamelCase<P3>}`
: Lowercase<S>
type KeysToCamelCase<T> = {
[K in keyof T as CamelCase<string & K>]: T[K]
}
type CamelToSnakeCase<S extends string> = S extends `${infer T}${infer U}` ?
@simrat39
simrat39 / pop_install.md
Last active February 3, 2024 06:51
Photoshop CC 2018 on Pop!_OS/Ubuntu Installation Guide

Photoshop CC 2018 on Pop!_OS installation guide

1 . Install Wine

Enable 32 bit architecture:

sudo dpkg --add-architecture i386