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
| import { launch } from "puppeteer"; | |
| import { format } from "prettier"; | |
| // Go to slack | |
| const browser = await launch(); | |
| browser.setCookie({ | |
| name: "d", | |
| value: process.env.SLACK_COOKIE!, | |
| domain: ".slack.com", | |
| }); |
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
| SLN V1 draft | |
| Copyright (c) [year] [name] ([contact]) | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of the source code, binaries and associated documentation files (the “Software”), to use, modify, and distribute the Software, subject to the following terms and conditions: | |
| 1. Definitions | |
| “You” or “your” refers to the individual or entity exercising rights under this License. | |
| “Original Work” means the unmodified version of the Software that you are modifying. | |
| “Modified Work” means any version of the Software that has been altered in any way that could reasonably lead a user to perceive a difference in functionality, behavior, or appearance compared to the Original Work. Text-only changes such as version numbers, author attribution, translation keys, comments, documentation updates, or other non-functional text elements do not by themselves constitute a Modified Work. | |
| “Redistribution” includes making the Software or any derivative works available to any third party, wheth |
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
| const queue = Deno.readDirSync('emojis') | |
| .toArray() | |
| .map(({ name }) => name); | |
| const upload = () => { | |
| let file = queue.pop(); | |
| if (!file) return; | |
| const name = file | |
| .split('.')[0] |
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
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "version": 2, | |
| "console_title_template": "{{.Folder}} | {{ .UserName }}@{{ .HostName }}", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "segments": [ | |
| { | |
| "background": "#0077c2", |