I hereby claim:
- I am samusz on github.
- I am samusz (https://keybase.io/samusz) on keybase.
- I have a public key ASBxyzFBFYUIT_Q2zBw8Pnr8NrzIiq6xbXEUE4gdkmOVuwo
To claim this, I am signing this object:
#define C_SHIFT 1 //01 | |
#define G_SHIFT 2 //10 | |
#define T_SHIFT 3 //11 | |
/** | |
* | |
* @param readString: The DNA sequence to be encoded | |
* @param stringLength : The number of characters in the DNA sequence | |
* @return uint8_t type array of bits | |
*/ | |
uint8_t *bitEncode(char *readString, int stringLength) { |
I hereby claim:
To claim this, I am signing this object:
"" from https://github.com/joereddington/dotvimdirectory/blob/master/vimrc at firt, modified then on | |
call plug#begin('~/.vim/bundle') | |
Plug 'JuliaEditorSupport/julia-vim' | |
Plug 'dpelle/vim-Grammalecte' | |
set nocompatible "doens't try and do what VI does | |
filetype on | |
filetype plugin on | |
syntax on | |
set lines=35 columns=90 "check these for full screen | |
set backspace=indent,eol,start "make backspace work properly per https://vi.stackexchange.com/a/2163/8792 |
; -*- 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 |
using BenchmarkTools | |
@enum Shape Rock Paper Scissors | |
function play(a::Shape, b::Shape) | |
if a == b | |
return 0 | |
elseif a == Paper && b == Rock | |
return 1 | |
elseif a == Paper && b == Scissors |
using Statistics | |
using Printf | |
import Pkg | |
const JULIA_CMD = Base.julia_cmd() | |
run_cmd(cmd) = run(`$JULIA_CMD --startup=no --history-file=no -e $cmd`) | |
const N_STARTUP_RUNS = 5 | |
function run_latency_check() |
# Welcome to Sonic Pi v3.1 | |
live_loop :flibble do | |
sample :ambi_drone, rate: 0.3 | |
# sample :ambi_lunar_land, rate: 0.1 | |
play_chord [60,85,110]*1.5 | |
sample :bd_haus, rate: 0.7 | |
use_bpm 80 | |
sleep 3 | |
end | |
live_loop :guit do |