Skip to content

Instantly share code, notes, and snippets.

View sepsol's full-sized avatar
:electron:
Hyperstate

Sepehr Soltanieh sepsol

:electron:
Hyperstate
View GitHub Profile
#Text Config
[text]
#Allow text renderer to draw text with shadow, setting to false can improve performance a bit.
allowShadow = true
#Fixed resolution level. When the GUI scale increases, the resolution level will not increase.
#In this case, gui scale should be even numbers (2, 4, 6...), based on Minecraft GUI system.
#If your fonts are not really bitmap fonts, then you should keep this setting false.
fixedResolution = false
#Use smaller or larger font for vanilla text layout. To be exact, small (7 * GuiScale), normal (8 * GuiScale), large (9 * GuiScale).
; AutoHotKey script
; Sepehr Soltanieh 2022-11-30
; Feel free to reuse, edit, and redistribute : https://gist.github.com/sepsol/00db19e3516e7e50d6850da645707878
; Run this script as admin on Windows startup: https://stackoverflow.com/questions/63889537/run-ahk-script-as-admin-on-startup
;=================================
; macOS style keys for Windows 11
;=================================
; Change the masking key from "ctrl" to something unassigned such as vkE8 or vkFF.
@sepsol
sepsol / camelCase-snake_case-types.ts
Created March 6, 2023 21:19 — forked from kuroski/camelCase-snake_case-types.ts
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}` ?

JavaScript Node.js Developer Needed for Adding 'Snaking Columns' Feature to pdfmake NPM Package

Introduction:

We're searching for an experienced developer to work on a 1-2 weeks project, aiming to enhance the open-source pdfmake NPM package by adding a feature.

Problem Statement:

فراخوان جذب نیروی برنامه‌نویس جاوا‌اسکریپت و Node.js برای افزودن قابلیت «ستون‌های مرتبط» به پکیج pdfmake

مقدمه:

ما به دنبال یک برنامه‌نویس باتجربه برای یک پروژه هستیم که هدف آن افزودن یک قابلیت به بسته‌ی متن‌باز pdfmake در NPM است.

صورت مسئله: