Skip to content

Instantly share code, notes, and snippets.

@kioku
kioku / karabiner-config.json
Created February 17, 2025 21:17
My Karabiner configuration
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "Double Left Shift to Capslock",
"manipulators": [
{
"conditions": [
// search-dsl.ts
//
// A detailed description can be found at
// https://www.claudiu-ivan.com/writing/search-dsl/
//
// ======================
// Core Types
// ======================
@kioku
kioku / translate-docs.js
Created August 26, 2024 21:36
A script to translate markdown files from one language to another using OpenAI's GPT model.
#!/usr/bin/env node
/**
* @file translate-docs.js
* @description A script to translate markdown files from one language to another using OpenAI's GPT model.
* @usage node translate-docs.js --directoryPath=<path> --sourceLanguage=<language> --targetLanguage=<language>
* @license MIT
*/
const fs = require('fs').promises;