There are several ways to clone a repository from github. Similar from other providers, such as bitbucket, gitlab, etc.
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols
Mostly, we use
- http
- ssh
There are several ways to clone a repository from github. Similar from other providers, such as bitbucket, gitlab, etc.
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols
Mostly, we use
# use a certain pyenv version | |
use_python() { | |
if [ -n "$(which pyenv)" ]; then | |
local pyversion=$1 | |
pyenv local ${pyversion} | |
fi | |
} | |
layout_virtualenv() { | |
local pyversion=$1 |
rustup component add rust-src | |
export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src" |
sub get-term-id ( Cro::HTTP::Client $client, Str $value ) { | |
my $result; | |
try { | |
my $resp = await $client.get: 'terms?short_form=eq.' ~ $value; | |
# headers => [ | |
# Cro::HTTP::Header.new( | |
# name => 'Accept', | |
# value => 'application/vnd.pgrst.object+json' |
libmagick6
via terminal.sudo pacman -S libmagick
brew install imagemagick@6
(defun better-errors-file () | |
(interactive) | |
(let ((root (libxml-parse-html-region (point-min) (point-max)))) | |
(message "file: %s at line: %s" | |
(dom-attr (dom-by-class root "application") 'data-full-filename) | |
(dom-attr (dom-by-class root "application") 'data-line)))) |