Skip to content

Instantly share code, notes, and snippets.

View flash-me's full-sized avatar
ʍǝıʌ ɟo ʇuıod ɹǝɥʇouɐ ɯoɹɟ

Adem Simsek flash-me

ʍǝıʌ ɟo ʇuıod ɹǝɥʇouɐ ɯoɹɟ
View GitHub Profile
@kulvind3r
kulvind3r / github_gifs.md
Last active September 27, 2024 09:21
Github GiFs crash course

Guide to Github GiFs

Constraints

  1. Max 100 MB File size allowed in commit check in. Max 10 MB if you use drag and drop on web.
  2. Anything above 50MB takes eons to load. You need to shrink file size as much as you can.
  3. MP4/MOV file support is limited to web drag and drop only thus limiting to 10 MB size. It also adds an ugly player frame with controls. Gifs are much prettier.

Pipeline

  1. Screen capture to MP4 format using ShareX
  2. Use Openshot to remove dead space in recording, add transitions etc. (See Tip 6 at bottom for a super hack)
@selfthinker
selfthinker / intentionally-inaccessible.md
Last active October 19, 2025 22:21
Intentionally inaccessible websites

Intentionally inaccessible websites (and apps)

People make intentionally inaccessible websites for various educational purposes: training, empathy, tests, demos, etc. This lists all such websites I am aware of. Please let me know if you know of any others to be added to this list.

website explanations by license last update
Awesome Recipes (from Deque University Demo Sites) (none) Deque (none) ?
Dream Destination (from Deque University Demo Sites) (none) Deque (none) ?
Gefälscht (from Deque University Demo Sites) (none) Deque (none) ?
@belgattitude
belgattitude / ci-yarn-install.md
Last active October 14, 2025 07:43
Composite github action to improve CI time with yarn 3+ / node-modules linker.

Notes on Modern UI Development: Iterating over the other 80%

Introduction

I have been working on a modern typing training application for the last couple of days. One of the main motivations was to build an app with a modern UI and minimal distractions, enabling to fully focus on the training aspect. You can read more about the original idea and thought process here.

One of the main features is being able to train your typing speed when working with code, which means the typing experience should come close to how you would type when working with an IDE. A feature that you would normally get inside such an environment is the auto closing of parentheses, brackets and braces. Which means you would for example type ( and the IDE would automatically add the closing ) for you.

The first iteration of Typing Cyclist was just a raw implementation which treated text and code examples the same. You would have to type

@rexlx
rexlx / kill-tracker.sh
Created April 5, 2022 11:30
disable tracker daemon for redhat, fedora and centos (and presumably rocky and alma linux as well)
#!/bin/bash
echo "Hidden=true" >> /etc/xdg/autostart/tracker-extract.desktop
echo "Hidden=true" >> /etc/xdg/autostart/tracker-miner-apps.desktop
echo "Hidden=true" >> /etc/xdg/autostart/tracker-miner-fs.desktop
echo "Hidden=true" >> /etc/xdg/autostart/tracker-miner-user-guides.desktop
echo "Hidden=true" >> /etc/xdg/autostart/tracker-store.desktop
dbus-launch --exit-with-session gsettings set \
org.freedesktop.Tracker.Miner.Files crawling-interval -2
@spencerpogo
spencerpogo / README.md
Last active April 14, 2024 21:37
Valutwarden config for docker-compose

Vaultwarden docker-compose nginx

My setup for vaultwarden. Uses a custom certificate authority to sign certificates. Expects vaultwarden.crt and vaultwarden.pem to be in ./crts.

See https://github.com/ttionya/vaultwarden-backup for instructions on how to configure rclone for backups.

@GetVladimir
GetVladimir / Force-RGB-Color-on-M1-Mac.md
Last active October 21, 2025 13:20
Force RGB Color on M1 Mac

Force RGB Color on M1 Mac

How to Force RGB Color Output instead of YPbPr on your M1 Apple Silicon Mac for an External Monitor.

This step-by-step video tutorial will guide you through the procedure of forcing RGB color output on your M1 Mac.

Force RGB Color on M1 Mac

Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4

The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed.

@amacneil
amacneil / dependabot-fix.yml
Created March 19, 2021 03:29
GitHub Action to update yarn 2 `yarn.lock` on dependabot PRs
# Automatically save updated `yarn.lock` file for dependabot PRs.
# This is necessary because dependabot doesn't support Yarn v2 yet:
# https://github.com/dependabot/dependabot-core/issues/1297
#
# Note: We use the `pull_request_target` event due to GitHub security measures.
# It is important to ensure we don't execute any untrusted PR code in this context.
# See: https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests
name: Dependabot

ZSH CheatSheet

This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.

Strings

Description Syntax
Get the length of a string ${#VARNAME}
Get a single character ${VARNAME[index]}
@matklad
matklad / data.csv
Last active February 15, 2023 23:21
Measuring latencies of text editors in 2020
VS Code (compositor disabled) Sublime3 (compositor disabled) Kitty (compositor disabled) Emacs (compositor disabled) IntelliJ Idea(compositor disabled) VS Code (compositor enabled) Sublime3 (compositor enabled) Kitty (compositor enabled) Emacs (compositor enabled) IntelliJ Idea (compositor enabled)
33.11 6.51 28.80 3.57 5.58 43.03 23.69 32.88 26.51 24.32
11.41 6.86 16.23 3.72 5.44 18.95 21.41 34.74 25.58 27.36
23.91 7.46 12.08 3.23 6.52 29.17 22.13 42.68 21.77 25.10
15.02 7.21 15.29 3.76 7.14 37.95 23.81 32.55 26.18 25.69
14.32 6.93 14.38 3.71 5.40 30.00 27.72 23.69 22.69 27.63
14.09 7.53 28.89 3.84 6.03 31.61 24.66 39.54 25.33 26.98
14.72 7.51 14.65 3.65 6.25 48.57 18.52 21.66 20.52 26.54
13.87 6.77 28.89 3.17 5.50 47.22 23.33 40.54 24.05 25.85
14.36 6.61 14.36 3.71 5.61 42.68 23.04 32.98 25.21 26.66