Skip to content

Instantly share code, notes, and snippets.

View Unknow0059's full-sized avatar
🤨

Alex Unknow0059

🤨
View GitHub Profile
@intrntbrn
intrntbrn / qutebrowser_export_html.sh
Last active July 8, 2024 08:41
generate a html startpage containing quickmarks, bookmarks and history from qutebrowser
#!/bin/bash
# qutebrowser_export_html.sh
# this script generates a simple html startpage for qutebrowser
# containing quickmarks, bookmarks and history.
print_usage() {
echo "Usage: $0 [-q quickmarks] [-b bookmarks] [-h history] [-l history-limit] [-o out] [-r]"
echo " -q specify quickmark file (default: ~/.config/qutebrowser/quickmarks)"
echo " -b specify bookmarks file (default: ~/.config/qutebrowser/bookmarks/urls)"
@patik
patik / how-to-squash-commits-in-git.md
Last active May 30, 2024 07:59
How to squash commits in git

Squashing Git Commits

The easy and flexible way

This method avoids merge conflicts if you have periodically pulled master into your branch. It also gives you the opportunity to squash into more than 1 commit, or to re-arrange your code into completely different commits (e.g. if you ended up working on three different features but the commits were not consecutive).

Note: You cannot use this method if you intend to open a pull request to merge your feature branch. This method requires committing directly to master.

Switch to the master branch and make sure you are up to date:

@benjamine
benjamine / alias.cmd
Last active February 19, 2024 15:49
Aliases for windows command line
::
:: Aliases for windows command line
::
:: Installation:
::
:: - create a folder for your aliases (eg: ```c:\cmd-aliases```)
:: - add that folder to your PATH variable
:: - save this script as setalias.cmd on that folder
:: - run "alias" to see usage
::