I hereby claim:
- I am erichdongubler on github.
- I am erichdongubler (https://keybase.io/erichdongubler) on keybase.
- I have a public key ASAHElC6breV_idmtm0TM1TIEvbhf5P_vCEqMLF3r4bvPwo
To claim this, I am signing this object:
document.querySelectorAll('[data-sigil="differential-load"]').forEach(el => el.click()) |
cache/ |
// ==UserScript== | |
// @name Copy PR title and link as Markdown | |
// @namespace https://gist.github.com/ErichDonGubler/17cdd30c4b40c93596da1d813ef327cb | |
// @version 2025-03-26.1 | |
// @description Adds a `Copy link` button to PR title controls that copies the PR title and link as a Markdown link (i.e., `[PR Title](https://github.com/…/pull/…)`). | |
// @author Erich Gubler <[email protected]> | |
// @match https://github.com/*/*/pull/* | |
// @match https://github.com/*/*/issues/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com | |
// @grant none |
[ | |
"https://www.example.com/", | |
"http://www.example.com/basket.php", | |
"http://www.example.org/airport?account=branch&account=alarm", | |
"http://example.com/?bottle=arch&birth=art", | |
"https://www.example.com/adjustment/bee.html", | |
"http://www.example.com/", | |
"http://example.com/bomb/bear?bone=behavior&arm=ball", | |
"http://www.example.com/", | |
"https://example.com/bubble", |
function git_svn_shallow_clone() { | |
# Shallowly clones an SVN repository using `git svn`. | |
# | |
# Example: Clone directly into the CWD. | |
# Note: if your connection fails midway through the cloning, you can pick up from | |
# where you left off by simply invoking the clone function again. Neat, right? | |
# $ git_svn_shallow_clone <url> . | |
# | |
# You may need to run this in your cloned folder if you need to resume cloning from | |
# an interrupted connection. |
I hereby claim:
To claim this, I am signing this object:
This gist documents Erich's endeavors to get QML working with Rust on his machines, since there's not much in the way of a helpful tutorial.
WARNING: Work in progress. Definitely not complete!
To get gcc
/make
/cmake
, we'll need to...what? Building qml-rust
with the Win-builds version of GCC seems to make the build report gcc
as broken (see here).
Install Qt with the open-source license for versions 5.6-5.8 here.
/** | |
* Demo: duckConstraints.d | |
* Purpose: Demonstrate duck-typed constraints in D (in response to https://maikklein.github.io/2016-03-01-metaprogramming-typeobject/) | |
* Authors: Erich Gubler (Github: @erichdongubler) | |
* Date: 6/25/2016 | |
* | |
* @maikklein: "Constrains" ( ;) ) in D similar to the Rust block you have shown: | |
* | |
* impl<T> Bar<T> | |
* where: T: Copy |
# Shamelessly copied and adapted from https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/ | |
pushd "$HOME" > /dev/null | |
git clone --bare https://github.com/ErichDonGubler/.dotfiles.git ~/.dotfiles.git | |
function .git() { | |
git --git-dir="$HOME/.dotfiles.git/" --work-tree="$HOME" $* | |
} | |
.git checkout | |
if [ $? = 0 ]; then | |
echo "Checked out dotfiles."; | |
else |
# This script assumes you're using a GNU-compliant Make implementation. | |
# It is required that the following in your path: | |
# - bash | |
# Otherwise, this script attempts to use native commands. | |
# Help from [here](http://stackoverflow.com/questions/4555120/obtaining-directory-makefile-resides-in) | |
THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) | |
POSIX_DIR="$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd)" | |
UNAME=$(shell uname -o) | |
ifeq ($(OS),Windows_NT) |