Skip to content

Instantly share code, notes, and snippets.

View Habush's full-sized avatar

Abdulrahman S. Omar Habush

  • Addis Ababa, Ethiopia
View GitHub Profile
@andy-thomason
andy-thomason / Genomics_A_Programmers_Guide.md
Created May 14, 2019 13:32
Genomics a programmers introduction

Genomics - A programmer's guide.

Andy Thomason is a Senior Programmer at Genomics PLC. He has been witing graphics systems, games and compilers since the '70s and specialises in code performance.

https://www.genomicsplc.com

@dceoy
dceoy / read_vcf.py
Last active January 23, 2024 12:42
[Python] Read VCF (variant call format) as pandas.DataFrame
#!/usr/bin/env python
import io
import os
import pandas as pd
def read_vcf(path):
with open(path, 'r') as f:
lines = [l for l in f if not l.startswith('##')]
@scruffyfox
scruffyfox / VideoPlayer.kt
Last active February 1, 2023 12:57
Playing a video from Assets using ExoPlayer 2
/**
* It took me AGES to figure this out, seriously, exoplayer documentation IS SO BAD.
*/
package xxx
import android.net.Uri
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.cube.arc.R
@subfuzion
subfuzion / curl.md
Last active May 1, 2024 18:04
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@staltz
staltz / introrx.md
Last active May 2, 2024 12:31
The introduction to Reactive Programming you've been missing
@wedesoft
wedesoft / csv.scm
Created April 10, 2014 09:27
Read CSV data with Guile (GNU Scheme)
(use-modules (system base lalr))
(define csv-parse
(lalr-parser
(CELL COMMA NEWLINE RETURN)
(csv () : '()
(csv row) : (cons $2 $1))
(row (nl) : (list "")
(COMMA row) : (cons "" $2)
(CELL nl) : (list $1)
(CELL COMMA row) : (cons $1 $3))
@d3noob
d3noob / .block
Last active November 30, 2019 18:19
Simple d3.js tree diagram
license: mit
@gizmaa
gizmaa / Plot_Examples.md
Last active April 12, 2024 14:18
Various Julia plotting examples using PyPlot
@jshaw
jshaw / byobuCommands
Last active April 23, 2024 14:23
Byobu Commands
Byobu Commands
==============
byobu Screen manager
Level 0 Commands (Quick Start)
------------------------------
<F2> Create a new window