Skip to content

Instantly share code, notes, and snippets.

@sickerin
sickerin / ssh
Last active August 17, 2023 08:08 — forked from danydev/ssh
Iterm2: Show both IP_ADDRESS and HOSTNAME as a badge.
#!/bin/bash
# Script that updates the iTerm Badge with the hostname of the server that you are
# connecting to with ssh.
#
# Instructions:
# - Put this script in ~/bin/ssh (this will override the default ssh binary)
# - Run 'chmod +x ~/bin/ssh' to give execution permission to the script
# - Open iTerm\Preferences\Profiles, select your profile and put '\(user.current_ssh_host)' in the Badge text box
# - Enjoy!
@sickerin
sickerin / Frontend.md
Created September 14, 2022 10:16
LInks
@sickerin
sickerin / instructions.md
Last active June 24, 2022 13:31
How to add a custom printer to Cura with dual extrusion or multiple extruders
  1. Go to Add Printer.
  2. Select Custom Printer.
  3. Type printer name and click Add.
  4. Under Printhead settings, there's an option for number of extruders near the bottom.

image

@sickerin
sickerin / .tmux.conf
Created September 15, 2020 08:05
tmux config
# Default shell zsh
set -g default-command "/bin/zsh
# Set new panes to open in current directory
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
@sickerin
sickerin / jlab-emacs.json
Created June 4, 2020 14:30
jupyterlab-emacskeys extension settings
{
"shortcuts": [
{
"command": "application:toggle-left-area",
"keys": [
"Accel B"
],
"selector": "body",
"disabled": true
@sickerin
sickerin / jlab-emacs.json
Created June 4, 2020 14:30
jupyterlab-emacskeys extension settings
{
"shortcuts": [
{
"command": "application:toggle-left-area",
"keys": [
"Accel B"
],
"selector": "body",
"disabled": true
@sickerin
sickerin / .spacemacs
Created March 17, 2020 09:01
myspacemacs settings
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->