Skip to content

Instantly share code, notes, and snippets.

View bogdan2510's full-sized avatar
💭
Dream big...

Bogdan bogdan2510

💭
Dream big...
  • Brasov
  • 12:00 (UTC +03:00)
View GitHub Profile
@peterpme
peterpme / index.js
Last active July 8, 2023 19:09
Cloudflare Workers + Expo Webhook + Slack Notification. Update SLACK_WEBHOOK_URL & paste this in the worker file
const SLACK_WEBHOOK_URL = "https://hooks.slack.com/services/XXX/YYY/ZZZZZ";
async function sendSlackRequest({ text, blocks }) {
const postToSlack = await fetch(SLACK_WEBHOOK_URL, {
body: JSON.stringify({ text, blocks }),
method: "POST",
headers: { "Content-Type": "application/json" },
});
}
@gagarine
gagarine / fish_install.md
Last active April 29, 2025 09:11
Install fish shell on macOS Mojave with brew

Installing Fish shell on MacOS (Intel and M1) using brew

Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.

Note that you need the https://brew.sh/ package manager installed on your machine.

Install Fish

brew install fish