Skip to content

Instantly share code, notes, and snippets.

@wl2776
wl2776 / Chromium Linux.md
Created March 12, 2024 06:32 — forked from marians/Chromium Linux.md
How to install CA certificates and PKCS12 key bundles on different platforms

We install certutil and pk12util if necessary:

sudo apt install libnss3-tools

On Linux, Chromium uses the NSS Shared DB. Check if you have the ~/.pki/nssdb directory:

ls $HOME/.pki/nssdb
@wl2776
wl2776 / .ycm_extra_conf.py
Last active February 26, 2021 07:45 — forked from ajford/.ycm_extra_conf.py
PlatformIO/YouCompleteMe Integration
"""
YouCompleteMe extra configuration for Platformio based
projects.
Based on the `.ycm_extra_conf.py` by @ladislas and @ajford
"""
import logging
from pathlib import Path
@wl2776
wl2776 / ipython_notebook_in_git.md
Last active July 19, 2016 07:09 — forked from pbugnion/ ipython_notebook_in_git.md
Keeping IPython notebooks under Git version control

This gist lets you keep IPython notebooks in git repositories. It tells git to ignore prompt numbers and program outputs when checking that a file has changed.

To use the script, follow the instructions given in the script's docstring.

For further details, read this blogpost.

The procedure outlined here is inspired by this answer on Stack Overflow.