Skip to content

Instantly share code, notes, and snippets.

@alex2600
alex2600 / markdown-details-collapsible.md
Created December 7, 2021 09:43 — forked from pierrejoubert73/markdown-details-collapsible.md
How to add a collapsible section in markdown.

A collapsible section containing markdown

Click to expand!

Heading

  1. A numbered
  2. list
    • With some
    • Sub bullets
@alex2600
alex2600 / git-tag-delete-local-and-remote.sh
Created October 16, 2019 17:41 — forked from mobilemind/git-tag-delete-local-and-remote.sh
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName
@alex2600
alex2600 / ediff.py
Last active October 5, 2018 11:56 — forked from bamanzi/ediff.py
[emacs] ediff command line launcher
#!/usr/bin/python
# diff and merge two files using emacs ediff-mode
import os
import os.path
import sys
if len(sys.argv)<3:
sys.stderr.write("Usage: ediff file1 file2")
else: