Skip to content

Instantly share code, notes, and snippets.

View dikiprawisuda's full-sized avatar

dikip dikiprawisuda

View GitHub Profile
@dikiprawisuda
dikiprawisuda / keybindings.json
Last active June 25, 2023 10:48 — forked from stephenturner/keybindings.json
VSCode keybindings to replicate my most commonly used RStudio shortcuts (Mac) and some additions
// Place your key bindings in this file to override the defaults
[
// keybindings for R scripts, Rmarkdown, Quarto, and R terminal (radian included)
{
"key": "Ctrl+Shift+m",
"command": "type",
"args": {
"text": " %>% "
},
"when": "editorTextFocus && (editorLangId == r || editorLangId == rmd || editorLangId == quarto)"
@dikiprawisuda
dikiprawisuda / install_anaconda.md
Created June 26, 2023 01:35 — forked from kauffmanes/install_anaconda.md
Install Anaconda on Windows Subsystem for Linux (WSL)

Thanks everyone for commenting/contributing! I made this in college for a class and I no longer really use the technology. I encourage you all to help each other, but I probably won't be answering questions anymore.

This article is also on my blog: https://emilykauffman.com/blog/install-anaconda-on-wsl

Note: $ denotes the start of a command. Don't actually type this.

Steps to Install Anaconda on Windows Ubuntu Terminal

  1. Install WSL (Ubuntu for Windows - can be found in Windows Store). I recommend the latest version (I'm using 18.04) because there are some bugs they worked out during 14/16 (microsoft/WSL#785)
  2. Go to https://repo.continuum.io/archive to find the list of Anaconda releases
  3. Select the release you want. I have a 64-bit computer, so I chose the latest release ending in x86_64.sh. If I had a 32-bit computer, I'd select the x86.sh version. If you accidentally try to install the wrong one, you'll get a warning in the terminal. I chose `Anaconda3-5.2.0-Li
@dikiprawisuda
dikiprawisuda / rust-command-line-utilities.markdown
Created May 2, 2024 11:00 — forked from sts10/rust-command-line-utilities.markdown
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool