Skip to content

Instantly share code, notes, and snippets.

View chenasraf's full-sized avatar
🏃‍♂️
Freelancing

Chen Asraf chenasraf

🏃‍♂️
Freelancing
View GitHub Profile
@chenasraf
chenasraf / README.md
Last active October 8, 2023 20:17
Aardwolf MUSHclient alias collection
@chenasraf
chenasraf / _README.md
Last active August 12, 2024 18:10
Git Open URLs Aliases

Update: Created as a repo for easy install, see chenasraf/git-open

What does this do?

Creates git aliases to open git URLs for project, new PR, PR list and CI-CD/Actions.

Usage

Usage: git open 
@chenasraf
chenasraf / ollama-prompt.sh
Last active August 23, 2024 20:27
Ollama CLI prompt
#!/usr/bin/env bash
ollama_prompt() {
prompt="$@"
endpoint="http://localhost:11434"
curl $endpoint/api/generate -XPOST \
--no-buffer \
-s \
-H 'Content-Type: application/json' \
@chenasraf
chenasraf / youtube-members-only-dimmer.user.js
Last active November 13, 2025 07:56
YouTube Members Only Dimmer
// ==UserScript==
// @name YouTube Members Only Dimmer
// @namespace http://tampermonkey.net/
// @version 0.3.0
// @description Make Members Only videos semi-transparent in the feed
// @author Chen Asraf <contact@casraf.dev>
// @match https://www.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// @updateURL https://gist.github.com/chenasraf/1a983b99448f3a2c09662d6535bf1fa5/raw/youtube-members-only-dimmer.user.js