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

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

مقدمه:

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

صورت مسئله:

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:

@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}` ?
; 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.
#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).
#Developer Config
[developer]
#Whether to enable developer mode.
enableDeveloperMode = false
#Range: > -2147483648
oneTimeEvents = 0
#Auto Shutdown Config
[autoShutdown]
#Screen Config
[screen]
#The duration of GUI background color and blur radius animation in milliseconds. (0 = OFF)
#Range: 0 ~ 800
animationDuration = 200
#The GUI background color in #RRGGBB or #AARRGGBB format. Default value: #66000000
#Can be one to four values representing top left, top right, bottom right and bottom left color.
#Multiple values produce a gradient effect, whereas one value produce a solid color.
#When values is less than 4, the rest of the corner color will be replaced by the last value.
@sepsol
sepsol / INTJ Personality Type.md
Last active June 2, 2022 20:23
Why I am the way I am and what are my needs ¯\_(ツ)_/¯

INTJ Personality Type

(Estimated Time to Read: 15 Minutes)

An INTJ is a person with the Introverted, Intuitive, Thinking, and Judging personality traits. These thoughtful tacticians love perfecting the details of life, applying creativity and rationality to everything they do. Their inner world is often a private, complex one.

  • (I) INTROVERSION: Introverts tend to draw energy from spending time alone.
  • (N) INTUITION: Intuitive types tend to love to explore new ideas and think in terms of the big picture.
  • (T) THINKING: Thinking types tend to follow their head and consider facts when making decisions.
  • (J) JUDGING: Judging types tend to be very structured and organized.
@sepsol
sepsol / verdaccio.md
Last active November 18, 2021 21:34
How to create a private npm package registry for users in your network for FREE using verdaccio

Introduction

To resolve packages by name and version, npm talks to a registry website that implements the JavaScript CommonJS Package Registry specification for reading package info like software and metadata. Additionally, npm's package registry implementation supports several write APIs as well, to allow for publishing packages and managing user account information. Open source developers and developers at companies use the npm registry to contribute packages to the entire community or members of their organizations, and download packages to use in their own projects. The official public npm registry is at https://registry.npmjs.org/. It is powered by a CouchDB database, of which there is a public mirror at https://skimdb.npmjs.com/registry. The code for the couchapp is available here.

If you try to publish your own packages, by default npm will publish them the public registry. This can be overridden by specifying a different default registry or

---- Minecraft Crash Report ----
// Don't do that.
Time: 11/7/19 2:34 PM
Description: Initializing game
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at net.minecraftforge.fml.javafmlmod.FMLJavaModLanguageProvider$FMLModTarget.loadMod(FMLJavaModLanguageProvider.java:78) ~[?:28.1] {re:classloading}
at net.minecraftforge.fml.ModLoader.buildModContainerFromTOML(ModLoader.java:234) ~[?:?] {re:classloading}
at net.minecraftforge.fml.ModLoader.lambda$buildMods$26(ModLoader.java:214) ~[?:?] {re:classloading}