sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
# This file contains pin mappings for the Creality Ender 5 Plus. | |
# Ender 5 Plus stock uses a Creality v2.2 board, similar to CR-20 Pro. | |
# To use this config, the firmware should be compiled for the AVR atmega2560. | |
# See the example.cfg file for a description of available parameters. | |
[stepper_x] | |
step_pin: PF0 | |
dir_pin: PF1 | |
enable_pin: !PD7 |
sudo apt-get install -y \ | |
git \ | |
g++ \ | |
libgtk-3-dev \ | |
gtk-doc-tools \ | |
gnutls-bin \ | |
valac \ | |
intltool \ | |
libtool \ | |
libpcre2-dev \ |
# After Ubuntu 16.04, Systemd becomes the default. | |
# It is simpler than https://gist.github.com/Doowon/38910829898a6624ce4ed554f082c4dd | |
[Unit] | |
Description=Jupyter Notebook | |
[Service] | |
Type=simple | |
PIDFile=/run/jupyter.pid | |
ExecStart=/home/phil/Enthought/Canopy_64bit/User/bin/jupyter-notebook --config=/home/phil/.jupyter/jupyter_notebook_config.py |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
# Info on how to get your api key (kaggle.json) here: https://github.com/Kaggle/kaggle-api#api-credentials | |
!pip install kaggle | |
api_token = {"username":"USERNAME","key":"API_KEY"} | |
import json | |
import zipfile | |
import os | |
with open('/content/.kaggle/kaggle.json', 'w') as file: | |
json.dump(api_token, file) | |
!chmod 600 /content/.kaggle/kaggle.json | |
!kaggle config path -p /content |
#!/bin/bash | |
# This replicates xclip functionality used by pass in Cygwin/MSYS2 | |
# Original author: https://tylor.io/2015/07/13/password-manager/ | |
while [[ $# > 0 ]] | |
do | |
key="$1" | |
case $key in | |
-o|-out) |