Skip to content

Instantly share code, notes, and snippets.

View urbanslug's full-sized avatar

Njagi Mwaniki urbanslug

View GitHub Profile
unbind C-b
set -g prefix C-s
bind C-s send-prefix
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# Bind appropriate commands similar to screen.
# lockscreen ^X x
### default
Host *
ForwardAgent yes
ForwardX11 no
ForwardX11Trusted yes
#User urbanslug
Port 22
Protocol 2
ServerAliveInterval 60
ServerAliveCountMax 30
IUPAC_AA_codes = {'CYS': 'C','ASP': 'D','SER': 'S','GLN': 'Q','LYS': 'K','ILE': 'I','PRO': 'P','THR': 'T','PHE': 'F','ASN': 'N','GLY': 'G','HIS': 'H','LEU': 'L','ARG': 'R','TRP': 'W','ALA': 'A','VAL': 'V','GLU': 'E','TYR': 'Y','MET': 'M'}
;; -*- 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
Undefined symbols for architecture x86_64:
"__D3bio3std3hts3bam2md11reconstruct12__ModuleInfoZ", referenced from:
__D35calculate_gc_content_from_reference12__ModuleInfoZ in calculate_gc_content_from_reference.o
"__D3bio3std3hts3bam2md5parse12mdOperationsFAyaZ6Result11__xopEqualsFKxSQCqQCpQCoQCnQCmQCmQCjFQByZQByKxQBgZb", referenced from:
__D61TypeInfo_S3bio3std3hts3bam2md5parse12mdOperationsFAyaZ6Result6__initZ in calculate_gc_content_from_reference.o
"__D3bio3std3hts3bam2md5parse12mdOperationsFAyaZ6Result6__initZ", referenced from:
__D61TypeInfo_S3bio3std3hts3bam2md5parse12mdOperationsFAyaZ6Result6__initZ in calculate_gc_content_from_reference.o
"__D3bio3std3hts3bam2md5parse12mdOperationsFAyaZ6Result9__xtoHashFNbNeKxSQCrQCqQCpQCoQCnQCnQCkFQBzZQBzZm", referenced from:
__D61TypeInfo_S3bio3std3hts3bam2md5parse12mdOperationsFAyaZ6Result6__initZ in calculate_gc_content_from_reference.o
"__D3bio3std3hts3bam2md5parse12mdOperationsFAyaZSQBp9algorithm9iteration__T16FilterBidiResultSQD
5
Chimpanzee 0
Gorilla 1.57 0
Human 1.45 1.51 0
Orangutan 2.94 3.04 2.98 0
Rhesus monkey 7.55 7.39 7.51 7.10 0
@urbanslug
urbanslug / decrypting.bash
Created February 14, 2019 11:07
Encrypting and decrypting an encrypted drive
### Decrypt and mount
# cryptsetup luksOpen /dev/sdd flash
# mkdir /run/mount/flash
# mount /dev/mapper/flash /run/mount/flash
### Encrypt and unmount
# umount /run/mount/flash
# cryptsetup luksClose flash
# rm -rf /run/mount/flash

Agenda

  • org-agenda to view agenda
  • b to go back
  • f to go forward
  • q to quit
(defun browse-url-can-use-xdg-open ()
"Return non-nil if the \"xdg-open\" program can be used.
xdg-open is a desktop utility that calls your preferred web browser.
This requires you to be running either Gnome, KDE, Xfce4 or LXDE."
(and (getenv "DISPLAY")
(executable-find "xdg-open")
;; xdg-open may call gnome-open and that does not wait for its child
;; to finish. This child may then be killed when the parent dies.
;; Use nohup to work around. See bug#7166, bug#8917, bug#9779 and
;; http://lists.gnu.org/archive/html/emacs-devel/2009-07/msg00279.html
pkgname='vault-git'
pkgdesc='A tool for managing secrets'
pkgver=v0.9.3.r129.g6e6b0eb08
pkgrel=1
url='https://vaultproject.io/'
license=('MPL')
arch=('i686' 'x86_64')
makedepends=('gox' 'go')
depends=('glibc' 'libcap')
provides=("${pkgname%-git}")