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
#### | |
# 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 | |
##### |
# from terminal to clipboard | |
echo "hello world" > /dev/clipboard | |
pass show personal/loom |head -n 1 > /dev/clipboard | |
# from clipboard to terminal | |
cat /dev/clipboard > save.txt |
### 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 |
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
# 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 |
# 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 |
#Change ls colours | |
LS_COLORS="ow=01;36;40" && export LS_COLORS | |
#make cd use the ls colours | |
zstyle ':completion:*' list-colors "${(@s.:.)LS_COLORS}" | |
autoload -Uz compinit | |
compinit |
# 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 |