Skip to content

Instantly share code, notes, and snippets.

View ItsFelix5's full-sized avatar

Felix ItsFelix5

  • 127.0.0.1
  • 06:15 (UTC +02:00)
View GitHub Profile
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",
});
@ItsFelix5
ItsFelix5 / LICENSE
Last active June 11, 2025 18:32
License draft
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
@ItsFelix5
ItsFelix5 / upload.ts
Created March 25, 2025 18:58
Deno script for bulk uploading slack emojis
const queue = Deno.readDirSync('emojis')
.toArray()
.map(({ name }) => name);
const upload = () => {
let file = queue.pop();
if (!file) return;
const name = file
.split('.')[0]
@ItsFelix5
ItsFelix5 / posh.omp.json
Last active June 19, 2023 15:15
A custom theme i made for oh my posh.
{
"$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",