Skip to content

Instantly share code, notes, and snippets.

View yoursdearboy's full-sized avatar
:shipit:
Ship it!

Kirill Voronin yoursdearboy

:shipit:
Ship it!
View GitHub Profile
@juliuskittler
juliuskittler / Needleman-Wunsch-Algorithm.R
Last active January 23, 2023 10:07
Implementation of the Needleman-Wunsch algorithm in R
# References: https://de.wikipedia.org/wiki/Needleman-Wunsch-Algorithmus
needleman = function(seq1, seq2, gap, mismatch, match){
# Stop conditions
stopifnot(gap <= 0) # check if penalty negative
stopifnot(mismatch <= 0) # check if penalty negative
stopifnot(match >= 0) # check if score positive
# Initialize col and rownames for matrices
@yoursdearboy
yoursdearboy / Multitran.alfredworkflow
Last active December 30, 2022 08:53
Alfred workflow to lookup multitran.ru
@oubiwann
oubiwann / appify.sh
Last active September 24, 2026 06:31 — forked from advorak/appify.sh
appify — create the simplest possible Mac app from a shell script (adds an application icon)
#!/usr/bin/env bash
#
# appify — create the simplest possible Mac app from a shell script
#
# v5.0.0
#
# Copyright (c) Thomas Aylott <http://subtlegradient.com/>
# Modified by Mathias Bynens <http://mathiasbynens.be/>
# Modified by Andrew Dvorak <http://OhReally.net/>
# Rewritten by Duncan McGreggor <http://github.com/oubiwann/>