Skip to content

Instantly share code, notes, and snippets.

View sourabh2k15's full-sized avatar
🎯
Focusing

sourabh2k15 sourabh2k15

🎯
Focusing
View GitHub Profile
defmodule Async do
@n_clients 100000
def createFollowersSync(n_clients) do
Enum.reduce(1..n_clients, [], fn rank, acc ->
acc ++ [Util.pickRandom(@n_clients, rank)]
end)
end
def createFollowersAsync(n_clients) do
@sourabh2k15
sourabh2k15 / report.txt
Last active August 24, 2017 07:10
GSoC 2017 final report
GSoC Final Evaluation Report
# Project Goal
Enable Genoverse genome browser to parse and render large genomic binary data formats like Bigwig, Bigbed and compressed VCF. In order to do so I wrote javascript parsers for these file formats and the rendering code ( wherever it was missing ). I also wrote code to support the simpler text formats of Wiggle and BED in order to make the code simpler for the binary versions ( bigwig and bigbed ).
# List of Commits
https://github.com/wtsi-web/Genoverse/commits/gh-pages?author=sourabh2k15
@ourmaninamsterdam
ourmaninamsterdam / LICENSE
Last active April 24, 2024 18:56
Arrayzing - The JavaScript array cheatsheet
The MIT License (MIT)
Copyright (c) 2015 Justin Perry
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
@dynamicguy
dynamicguy / install-opencv-2.4.11-in-ubuntu.sh
Last active April 3, 2024 20:20
install opencv-2.4.11 in ubuntu
# install dependencies
sudo apt-get update
sudo apt-get install -y build-essential
sudo apt-get install -y cmake
sudo apt-get install -y libgtk2.0-dev
sudo apt-get install -y pkg-config
sudo apt-get install -y python-numpy python-dev
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install -y libjpeg-dev libpng-dev libtiff-dev libjasper-dev
@kazad
kazad / fourier.html
Created June 25, 2014 19:00
BetterExplained Fourier Example
<html>
<head>
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.2/underscore-min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
<script src="//ajax.cdnjs.com/ajax/libs/json2/20110223/json2.js"></script>
<!--
TODO: