Skip to content

Instantly share code, notes, and snippets.

View boujuan's full-sized avatar
🏠
Working from home

Juan Manuel Boullosa Novo boujuan

🏠
Working from home
  • Oldenburg
View GitHub Profile
@boujuan
boujuan / .wezterm.lua
Created December 8, 2023 15:44
My Wezterm Configuration
local wezterm = require 'wezterm'
local config = {}
if wezterm.config_builder then
config = wezterm.config_builder()
end
-- SET DEFAULT SHELL
config.default_prog = { 'C:\\Program Files\\PowerShell\\7\\pwsh.exe', '-l' }
@alv67
alv67 / steamdeck-tailscale.md
Last active August 17, 2023 21:04 — forked from legowerewolf/readme.md
Tailscale on Steam Deck

Tailscale on the Steam Deck

This process is derived from the [official guide][official-guide], but lightly tweaked to make the process smoother and produce an installation that comes up automatically on boot (no need to enter desktop mode) and survives system updates.

Installing Tailscale

⚠️ This process will probably fail if you are accessing the terminal over Tailscale

@33eyes
33eyes / commit_jupyter_notebooks_code_to_git_and_keep_output_locally.md
Last active May 2, 2024 16:19
How to commit jupyter notebooks without output to git while keeping the notebooks outputs intact locally
  1. Add a filter to git config by running the following command in bash inside the repo:
git config filter.strip-notebook-output.clean 'jupyter nbconvert --ClearOutputPreprocessor.enabled=True --to=notebook --stdin --stdout --log-level=ERROR'  
  1. Create a .gitattributes file inside the directory with the notebooks

  2. Add the following to that file:

*.ipynb filter=strip-notebook-output  
@miketartar
miketartar / ColdTurkeyBlockerActivator.py
Created September 26, 2020 04:21
Cold Turkey Blocker Activator
import json
import sqlite3
import os
DB_PATH = "C:/ProgramData/Cold Turkey/data-app.db"
def activate():