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 April 19, 2025 14:45 — forked from advorak/appify.sh
appify — create the simplest possible Mac app from a shell script (adds an application icon)
#!/usr/bin/env bash
VERSION=4.0.1
SCRIPT=`basename "$0"`
APPNAME="My App"
APPICONS="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericApplicationIcon.icns"
OSX_VERSION=`sw_vers -productVersion`
PWD=`pwd`
function usage {