command | description | terminal | R vscode |
---|---|---|---|
ctrl + a | Goto BEGINNING of command line | HOME | HOME |
This example pulls together various examples of work with trees in D3.js.
The panning functionality can certainly be improved in my opinion and I would be thrilled to see better solutions contributed.
One can do all manner of housekeeping or server related calls on the drop event to manage a remote tree dataset for example.
Dragging can be performed on any node other than root (flare). Dropping can be done on any node.
Panning can either be done by dragging an empty part of the SVG around or dragging a node towards an edge.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tutorial playlist https://www.youtube.com/playlist?list=PLCQT7jmSF-LrwYppkB3Xdbe6QC81-ozmT | |
import tkinter as tk | |
from pathlib import Path | |
from tkinter import ttk | |
from TkinterDnD2 import DND_FILES, TkinterDnD | |
import pandas as pd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change prefix to Ctrl-a (like in gnu-screen) | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# shell | |
set -g default-command /bin/zsh | |
set -g default-shell /bin/zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List all functions and packages used by R scripts in a project. | |
library(NCmisc) | |
# IMPORTANT: Also load any libraries used by the project | |
# Make list of all functions by package | |
funcs <- | |
list.files(here::here(), pattern ="\\.R$", recursive = TRUE, full.names = TRUE) %>% | |
map(list.functions.in.file) %>% | |
flatten |
https://github.com/doomemacs/doomemacs/blob/master/docs/getting_started.org#with-homebrew
I use emacs-plus because of the emacs-mac issues with emacsclient. See this issue: railwaycat/homebrew-emacsmacport#52
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### MATPLOTLIBRC FORMAT | |
# This is a sample matplotlib configuration file - you can find a copy | |
# of it on your system in | |
# site-packages/matplotlib/mpl-data/matplotlibrc. If you edit it | |
# there, please note that it will be overwritten in your next install. | |
# If you want to keep a permanent local copy that will not be | |
# overwritten, place it in the following location: | |
# unix/linux: | |
# $HOME/.config/matplotlib/matplotlibrc or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### | |
# Specify the OS you want to run the Docker container in | |
# For the latest version of Ubuntu, use: | |
# FROM ubuntu:latest | |
# Learn more about this Ubuntu image, and versions (tags): | |
# https://hub.docker.com/_/ubuntu | |
#### | |
FROM ubuntu:22.04 | |
##### |
OlderNewer