Skip to content

Instantly share code, notes, and snippets.

View ac1dr3d's full-sized avatar
:shipit:
follow the white rabbit.

აკაკი ტყემალაძე ac1dr3d

:shipit:
follow the white rabbit.
View GitHub Profile
@ac1dr3d
ac1dr3d / install_font_adobe_source_code_pro.sh
Created February 23, 2019 07:30 — forked from enzinier/install_font_adobe_source_code_pro.sh
Install font Adobe Source Code Pro on Ubuntu 16.04 LTS
#!/bin/sh
# Userland mode (~$USER/), (~/).
# ~/.fonts is now deprecated and that
#FONT_HOME=~/.fonts
# ~/.local/share/fonts should be used instead
FONT_HOME=~/.local/share/fonts
echo "installing fonts at $PWD to $FONT_HOME"
mkdir -p "$FONT_HOME/adobe-fonts/source-code-pro"
@ac1dr3d
ac1dr3d / tmux.md
Created January 29, 2019 08:33 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@ac1dr3d
ac1dr3d / tmux-cheatsheet.markdown
Created January 19, 2019 11:13 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@ac1dr3d
ac1dr3d / core_test.clj
Created May 20, 2018 10:10 — forked from jindrichmynarz/core_test.clj
Example of generative testing of a SOAP API in Clojure
(ns soap-test.core-test
(:require [clojure.test :refer :all]
[clojure.test.check.generators :as gen]
[clojure.test.check.properties :as prop]
[clojure.test.check.clojure-test :refer [defspec]]
[clj-soap.core :as soap :refer [obj->soap-str]]))
; Boilerplace method required by the clj-soap library
(defmethod obj->soap-str :currency [obj argtype] (str obj))
@ac1dr3d
ac1dr3d / spacemacs-cheshe.md
Created March 6, 2018 19:09 — forked from robphoenix/spacemacs-cheshe.md
Spacemacs Cheat Sheet

Useful Spacemacs commands

  • SPC q q - quit
  • SPC w / - split window vertically
  • SPC w - - split window horizontally
  • SPC 1 - switch to window 1
  • SPC 2 - switch to window 2
  • SPC w c - delete current window
  • SPC TAB - switch to previous buffer
  • SPC b b - switch buffers
@ac1dr3d
ac1dr3d / postwalk.clj
Created February 5, 2018 11:58 — forked from verma/postwalk.clj
pre-walk vs. post-walk
:profile_data
:ber
:value
11
[:value 11]
{:value 11}
[:ber 11]
:event_type
:value
foo
@ac1dr3d
ac1dr3d / README-Template.md
Created February 5, 2018 11:57 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@ac1dr3d
ac1dr3d / gist:48890385cf8f0903c33b2aac7cec500c
Created November 18, 2017 18:14 — forked from sgergely/gist:3793166
Midnight Commander Keyboard Shortcuts for Mac OSX
----- Esc -----
Quick change directory: Esc + c
Quick change directory history: Esc + c and then Esc + h
Quick change directory previous entry: Esc + c and then Esc + p
Command line history: Esc + h
Command line previous command: Esc + p
View change: Esc + t (each time you do this shortcut a new directory view will appear)
Print current working directory in command line: Esc + a
Switch between background command line and MC: Ctrl + o
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name