An animated cheatsheet for smartparens using the example configuration specified here by the smartparens author. Inspired by this tutorial for paredit.
| C-M-f | sp-forward-sexp |
| C-M-b | sp-backward-sexp |
![]() | |
| # start up with 'docker-compose up -d' to start in background | |
| # update images with 'docker-compose pull' | |
| # this assumes that you have a sibling directory to this file called 'config' that contains all of the config for these services | |
| # you can reference 'sabnzbd' 'radarr' or 'sonarr' from inside the containers (in the apps) to reference the other containers. no need to deal with IPs or hostnames | |
| # remember that docker is isolated from the rest of your filesystem. you need to add volumes to the entries | |
| # in order to give the processes access to them. so if you have multiple target directories for TV or Movies, | |
| # then make sure you add each one that you want radarr/sonarr/sabnzbd to see. | |
| version: '3' | |
| services: |
| #!/bin/sh | |
| #_( | |
| #_DEPS is same format as deps.edn. Multiline is okay. | |
| DEPS=' | |
| {:deps {clj-time {:mvn/version "0.14.2"}}} | |
| ' | |
| #_You can put other options here | |
| OPTS=' |
An animated cheatsheet for smartparens using the example configuration specified here by the smartparens author. Inspired by this tutorial for paredit.
| C-M-f | sp-forward-sexp |
| C-M-b | sp-backward-sexp |
![]() | |
| #!/bin/sh | |
| alias dm='docker-machine' | |
| alias dmx='docker-machine ssh' | |
| alias dk='docker' | |
| alias dki='docker images' | |
| alias dks='docker service' | |
| alias dkrm='docker rm' | |
| alias dkl='docker logs' | |
| alias dklf='docker logs -f' |
This is not a getting started guide, just notes to myself. Due to my limited knowledge there could be mistakes and better ways to do things. I have configured aurutils to the best of my knowledge after reading the manpages and forums. Please refer to aurutils(7) manpages for installation and configuration.
Reference: aurutils(7)
Install the aurutils using the normal AUR package installation procedure. Until I found aurutils, I used to create a separate directory ~/aur/ for all AUR packages.
| (defhydra js2-refactor-hydra (:color blue :hint nil) | |
| " | |
| ^Functions^ ^Variables^ ^Buffer^ ^sexp^ ^Debugging^ | |
| ------------------------------------------------------------------------------------------------------------------------------ | |
| [_lp_] Localize Parameter [_ev_] Extract variable [_wi_] Wrap buffer in IIFE [_k_] js2 kill [_lt_] log this | |
| [_ef_] Extract function [_iv_] Inline variable [_ig_] Inject global in IIFE [_ss_] split string [_dt_] debug this | |
| [_ip_] Introduce parameter [_rv_] Rename variable [_ee_] Expand node at point [_sl_] forward slurp | |
| [_em_] Extract method [_vt_] Var to this [_cc_] Contract node at point [_ba_] forward barf | |
| [_ao_] Arguments to object [_sv_] Split var decl. [_uw_] unwrap | |
| [_tf_] Toggle fun exp and decl [_ag_] Add var to globals |
| # For Windows users# Note: <> denotes changes to be made | |
| #Create a conda environment | |
| conda create --name <environment-name> python=<version:2.7/3.5> | |
| #To create a requirements.txt file: | |
| conda list #Gives you list of packages used for the environment | |
| conda list -e > requirements.txt #Save all the info about packages to your folder |
| SPC s c remove highlight | |
| **** Files manipulations key bindings | |
| Files manipulation commands (start with ~f~): | |
| | Key Binding | Description | | |
| |-------------+----------------------------------------------------------------| | |
| | ~SPC f c~ | copy current file to a different location | | |
| | ~SPC f C d~ | convert file from unix to dos encoding | | |
| | ~SPC f C u~ | convert file from dos to unix encoding | |
| import java.io.FileDescriptor; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.OutputStream; | |
| import java.io.PrintStream; | |
| public class HelloWorld{ | |
| private static HelloWorld instance; | |
| public static void main(String[] args){ | |
| instantiateHelloWorldMainClassAndRun(); |
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |