BananaCrypt is a revolutionary encryption library inspired by the peeling complexity of bananas. It uses the potassium levels of bananas as the base for its cryptographic algorithms. Perfect for developers who want to keep their secrets safe and fruity.
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
// Name: Finicky Switch Default Browser | |
// Description: Switches the default browser in Finicky config | |
// Author: Strajk | |
import '@johnlindquist/kit' | |
import fs from 'fs' | |
let finickyPath = home('.finicky.js') | |
// Check if Finicky config exists |
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
// Name: Flashcards | |
// Description: Space-repeat images, managed just by filesystem | |
// Shortcut: shift+ctrl+option+cmd+o | |
import '@johnlindquist/kit' | |
const flashcardsDir = kenvPath('db', 'flashcards') | |
await ensureDir(flashcardsDir) | |
const today = new Date() |
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
// Name: Speed Up Video | |
// Description: Speed up a video, optionally keeping the first and last X seconds at original speed | |
// Author: Strajk | |
import '@johnlindquist/kit'; | |
// Get the video file path, either from selection or prompt | |
import { Choice } from '@johnlindquist/kit'; | |
const videoPath = await getSelectedFile() || await path({ placeholder: 'Select a video file' }); |
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
# Day 1 - Monday | |
* Spent first hour debugging a prod issue - turned out to be an env var mismatch | |
* Stand-up meeting ran long due to heated discussion about switching from REST to GraphQL | |
* Found three security vulnerabilities in deps audit - spent 2 hours updating pkgs | |
* Wrote docs for the new auth middleware - nobody will read them anyway | |
* Battled with TypeScript types for a recursive data structure | |
* Merged 5 PRs that were collecting dust in review | |
* Coffee machine broke - considered declaring technical bankruptcy | |
* Actually got into flow state for 2 hours - wrote elegant solution for data sync | |
* Discovered a memory leak in prod - left it for tomorrow |
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
### **BananaCrypt Documentation** | |
* * * | |
## **Overview** | |
BananaCrypt is a revolutionary encryption library inspired by the peeling complexity of bananas. It uses the potassium levels of bananas as the base for its cryptographic algorithms. Perfect for developers who want to keep their secrets safe and fruity. | |
* * * |
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
// Name: Chrome Profiles | |
// Description: List Chrome profiles and copy their path to clipboard/open in Finder | |
// Author: Strajk | |
import '@johnlindquist/kit' | |
import { Choice } from '@johnlindquist/kit/types'; | |
const chromeAppSupportPaths = [ | |
home('Library/Application Support/Google/Chrome/'), | |
home('Library/Application Support/Google/Chrome Canary/'), |
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
// Name: Night Shift | |
// Description: Control Night Shift on macOS | |
// Author: Pavel 'Strajk' Dolecek | |
// Acknowledgements: | |
// - https://github.com/smudge/nightlight | |
// - https://github.com/shmulvad/alfred-nightshift/ | |
// Notes: | |
// nightlight CLI usage: | |
// on/off: `nightlight on|off|toggle`, status will show current state | |
// temp: `nightlight temp [0-100]`, no argument will show current temperature |
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
// Name: Faker | |
// Description: Generate fake data with faker.js | |
// Author: Pavel 'Strajk' Dolecek | |
// Twitter: @straaajk | |
import "@johnlindquist/kit" | |
import { faker } from '@faker-js/faker'; | |
import { Choice } from "@johnlindquist/kit"; |
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
// Name: Karabiner Elements Profile Switcher | |
// Acknowledgements: | |
// - https://www.alfredforum.com/topic/9927-karabiner-elements-profile-switcher/ | |
// Notes: | |
// - Probably could also work with cli https://github.com/raycast/extensions/blob/be03024b4c4f4f1ad0af7f4d20ea4630d7f0ee20/extensions/karabiner-profile-switcher/src/model/KarabinerManager.ts | |
import "@johnlindquist/kit" | |
import fs from 'fs' | |
const CONFIG_PATH = home('.config/karabiner/karabiner.json') |
NewerOlder