Skip to content

Instantly share code, notes, and snippets.

View jukben's full-sized avatar
🟣
#E092F1

Jakub Beneš jukben

🟣
#E092F1
View GitHub Profile
@dannberg
dannberg / obsidian-meeting-template.txt
Last active March 13, 2024 14:44
Dann Berg's Meeting template for Obsidian. Full implementation instructions here: https://dannb.org/blog/2023/obsidian-meeting-note-template/. See the YouTube tutorial here: https://youtu.be/Ud16HOQoS5Q
---
date: <% tp.file.creation_date() %>
type: meeting
company:
summary: " "
---
tags: [[🗣 Meetings MOC]]
Date: [[<% tp.date.now("YYYY-MM-DD-dddd") %>]]
<% await tp.file.rename(tp.date.now("YYYY-MM-DD") + " " + tp.file.title) %>
# [[<% tp.date.now("YYYY-MM-DD") + " " + tp.file.title %>]]
@LeZuse
LeZuse / nx-completion.bash
Last active October 23, 2020 08:25
Bash completion for Nx – Extensible Dev Tools for Monorepos
#/usr/bin/env bash
# Bash completion for nx.dev project
# Inspired by https://github.com/jukben/fish-nx/blob/master/completions/nx.fish
# Prerequisites:
# brew install jq fzf
# Installation
# Source this file in your .bash_profile:
@tbutts
tbutts / tmux-migrate-options.py
Last active February 29, 2024 08:11
For tmux configs: Merge deprecated/removed -fg, -bg, and -attr options into the -style option
#!/usr/bin/env python
# vim: set fileencoding=utf-8
#
# USAGE:
# Back up your tmux old config, run the script and redirect stdout to your conf
# file. Example:
#
# $ cp ~/.tmux.conf ~/.tmux.conf.orig
# $ python ./tmux-migrate-options.py ~/.tmux.conf.orig > ~/.tmux.conf
#
@jalogut
jalogut / docker_space_cheat_sheet.md
Last active May 1, 2024 21:21
Cheat sheet to check disk usage on docker. Identify what takes most of your space

Total disk size configuration (Mac)

ls -klsh ~/Library/Containers/com.docker.docker/Data/vms/0/Docker.raw

Total disk usage (Mac)

du -h ~/Library/Containers/com.docker.docker/Data/vms/0/Docker.raw
@jukben
jukben / command.sh
Last active May 23, 2018 07:30
Sniffing Unix Domain Sockets
socat -t100 -x -v UNIX-LISTEN:/tmp/client,mode=777,reuseaddr,fork UNIX-CONNECT:/tmp/server
@freem
freem / twitter-killjunk.js
Last active December 28, 2022 22:22
disabling extraneous twitter features
/* NOTICE: THIS WAS MADE BACK IN 2017, OF COURSE IT'S NOT GOING TO WORK WELL NOW THAT TWITTER'S FUCKED THINGS UP */
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("twitter.com") {
[data-component-context="suggest_recap"],
[data-component-context="suggest_who_to_follow"],
[data-component-context="suggest_activity"],
[data-component-context="suggest_activity_tweet"],
[data-component-context="suggest_recycled_tweet_inline"],
[data-component-context="suggest_recycled_tweet"]{
@matteocrippa
matteocrippa / mac-setup.sh
Last active June 24, 2024 14:10
A script to automate the setup of a development oriented Macbook machine
#!/usr/bin/env bash
# Brew
echo "Installing 🍺 Brew!"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "eval $(/opt/homebrew/bin/brew shellenv)" >> .zshrc
# Tap
brew tap homebrew/bundle
brew tap homebrew/core
@jvorcak
jvorcak / tig.md
Last active October 11, 2019 17:24
tig - Text-mode interface for git

tig - Text-mode interface for git

This is a proposal for #ReactiveConf 2017 open call for Lightning talks.


Do you think that using git command line tool is the most efficient way of interacting with your repository? In this lightning talk, I will introduce tig - the ncurses front-end for git, which will make your interaction with git much more efficient.

tig combines the advantages of the command line and GUI tools like qgit. With a couple of keystrokes, you are

@chourobin
chourobin / 0-bridging-react-native-cheatsheet.md
Last active June 28, 2024 20:49
React Native Bridging Cheatsheet