Skip to content

Instantly share code, notes, and snippets.

DrYak DrYak

Block or report user

Report or block DrYak

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
DrYak /
Last active Sep 30, 2019
experimental local haplotype report
#!/usr/bin/env perl
use strict;
use Encode;
my $path = 'support';
my $report_html = <<'END_MESSAGE';
<!DOCTYPE html>
DrYak /
Created Sep 10, 2019
testing recent shorah directly from github
mkdir -p ~/shorah-test
cd ~/shorah-test
# install bioconda
DrYak /
Created Jul 22, 2019
Patcher to add Mapsv1 into squashfs system.img for AlienDalvik on Sailfish OS'
echo -e "\e[34;1m=================================\e[37;1m"
echo "[**] 0. Check environment"
echo -e "\e[34;1m=================================\e[0m"
if [ -e /opt/alien/system.img ]; then
ALIEN_VERSION="$(rpm -qf '/opt/alien/system.img' --qf '%{version}')"
echo "AlienDalvik image version ${ALIEN_VERSION} found"
DrYak / gist:81f73fff0d572130ff9d
Created Apr 24, 2015
disphelper patch - for wine and byref support - split source
View gist:81f73fff0d572130ff9d
diff --git a/source/convert.c b/source/convert.c
index ae61fe4..0c85ef9 100644
--- a/source/convert.c
+++ b/source/convert.c
@@ -25,13 +25,13 @@
#include <math.h>
/* Number of 100 nannosecond units in a FILETIME day */
-static const LONGLONG FILE_TIME_ONE_DAY = 864000000000;
+static const LONGLONG FILE_TIME_ONE_DAY = 864000000000LL;
DrYak / gist:532c10720065d18e27bd
Created Apr 24, 2015
disphelper patch - for wine and byref support - single source
View gist:532c10720065d18e27bd
diff --git a/single_file_source/disphelper.c b/single_file_source/disphelper.c
index 80e2b89..0034d37 100644
--- a/single_file_source/disphelper.c
+++ b/single_file_source/disphelper.c
@@ -36,6 +36,14 @@
#include <math.h>
#include <assert.h>
+#ifdef __WINE__
+// Wine uses the system widechar string function which as C99 compliant ( swprintf is the wide equivalent of snprintf )
You can’t perform that action at this time.