Skip to content

Instantly share code, notes, and snippets.

View matrixik's full-sized avatar

Dobrosław Żybort matrixik

View GitHub Profile
@matrixik
matrixik / README.md
Last active March 10, 2025 22:38
[userscript] ISO Time on focus on github.com

ISO Time on focus on github.com

A userscript that allow you to see ISO date when you focus on dates on github.com

Install from gist.

@Hellisotherpeople
Hellisotherpeople / blog.md
Last active April 5, 2026 08:28
You probably don't know how to do Prompt Engineering, let me educate you.

You probably don't know how to do Prompt Engineering

(This post could also be titled "Features missing from most LLM front-ends that should exist")

Apologies for the snarky title, but there has been a huge amount of discussion around so called "Prompt Engineering" these past few months on all kinds of platforms. Much of it is coming from individuals who are peddling around an awful lot of "Prompting" and very little "Engineering".

Most of these discussions are little more than users finding that writing more creative and complicated prompts can help them solve a task that a more simple prompt was unable to help with. I claim this is not Prompt Engineering. This is not to say that crafting good prompts is not a difficult task, but it does not involve doing any kind of sophisticated modifications to general "template" of a prompt.

Others, who I think do deserve to call themselves "Prompt Engineers" (and an awful lot more than that), have been writing about and utilizing the rich new eco-system

@VictorTaelin
VictorTaelin / gpt4_abbreviations.md
Last active July 29, 2026 11:02
Notes on the GPT-4 abbreviations tweet

Notes on this tweet.

  • The screenshots were taken on different sessions.

  • The entire sessions are included on the screenshots.

  • I lost the original prompts, so I had to reconstruct them, and still managed to reproduce.

  • The "compressed" version is actually longer! Emojis and abbreviations use more tokens than common words.

@kuang-da
kuang-da / popos-nvidia-docker.md
Last active August 16, 2024 15:24
[Install nvidia-docker2 In Pop!_OS]#popos

Introduction

This gist is a note about install nvidia-docker in Pop!_OS 20.10. nvidia-docker is used to help docker containers compute on GPU.

The basic installcation is in Nvidia's offical documentation. But there are a few tweaks to make it work on Pop!_OS 20.10.

Setting up Docker

No surprise. Follow the offical documentaion should work.

Setting up NVIDIA Container Toolkit

@olets
olets / zsh-plugin-manager-plugin-installation-procedures.md
Last active July 22, 2026 16:40
zsh plugin manager cross-reference

Instructions for installing zsh plugins, for a variety of plugin managers

Instructions for a mac on how to play with pyenv and poetry

Why both? Pyenv to manage multiple python versions. You can make virtualenvs with pyenv of course, but using poetry will simplify that process

# Install pyenv.
brew install pyenv

# Add pyenv initializer to shell startup script.
echo -e '\nif command -v pyenv 1>/dev/null 2>&1; then
@medakk
medakk / where-is-my-domain-blacklisted.sh
Created June 8, 2020 14:17
Find out which list on NextDNS is responsible for blacklisting your domain
#!/bin/bash
# where-is-my-domain-blacklisted.sh
# Copyright 2020 medakk
# Released under MIT License
if [ -z $1 ] ; then
echo "Usage: $0 <domain to search for>"
echo "Make sure you have jq and wget installed"
exit 1
@brunoamaral
brunoamaral / copyright.html
Created May 31, 2020 09:24
Automatic Unsplash Copyright Shortcode for Hugo
@matrixik
matrixik / start_bash.sh
Last active August 9, 2023 14:03
Short starter for bash scripts
#!/usr/bin/env bash
# Uncomment for debugging
# set -o xtrace
set -eo pipefail # Exit the script if any statement returns error.
log() { echo -e "$(date --iso-8601=seconds)" "$1"; }
error() { log "ERROR: $1"; }
warn() { log "WARNING: $1"; }
@theodorosploumis
theodorosploumis / Nework_throttling_profiles.md
Last active May 26, 2026 21:33
Web development - Custom network throttling profiles
Profile download (kb/s) upload (kb/s) latency (ms)
Native 0 0 0
GPRS 50 20 500
56K Dial-up 50 30 120
Mobile EDGE 240 200 840
2G Regular 250 50 300
2G Good 450 150 150
3G Slow 780 330 200