Skip to content

Instantly share code, notes, and snippets.

souparno majumder souparno

Block or report user

Report or block souparno

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
souparno / compile-node-alpine.txt
Created Jan 28, 2019 — forked from neilstuartcraig/compile-node-alpine.txt
Compiling Node.JS on Alpine Linux
View compile-node-alpine.txt
apk update
apk install curl python build-base gcc abuild binutils binutils-doc gcc-doc linux-headers
curl -L -O
tar xzf node-v4.6.0.tar.gz
cd node-v4.6.0
make install
souparno / jsio.js
Last active Jan 10, 2019
jsio bundler
View jsio.js
var jsio = (function() {
var util = {
slice: Array.prototype.slice,
bind: function bind(method, context) {
var args =, 2);
return function() {
return method.apply(context, args.concat(, 0)));
souparno / app.html
Created Nov 30, 2018 — forked from derekchiang/app.html
[electron]Use electron as a Web Server
View app.html
<!doctype html>
<html><head><script src="app.js"></script></head><body></body></html>
View gist:e5aca17255e0f528229d6fb83a66caee
curl -sSL | sh
sudo usermod -aG docker ubuntu
souparno /
Created Jan 30, 2018 — forked from mjdietzx/
Install CUDA Toolkit v8.0 and cuDNN v6.0 on Ubuntu 16.04
# install CUDA Toolkit v8.0
# instructions from (linux -> x86_64 -> Ubuntu -> 16.04 -> deb (network))
sudo dpkg -i ${CUDA_REPO_PKG}
sudo apt-get update
sudo apt-get -y install cuda
souparno /
Created Jan 1, 2018 — forked from karpathy/
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
View minimal-neuron.js
A neuron is basically the sum of its synapses.
Along with a trigger threshold, that's all we need to calculate
whether or not it will trigger at any given moment:
const neuron = ({ synapses = [], threshold = 1 } = {}) => ({
souparno / virtualhost.conf
Created Mar 13, 2017
apache configuration for node.js proxy
View virtualhost.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/cuboidio
<Directory />
Options -Indexes +FollowSymLinks
AllowOverride None
Require all granted
View gist:851ea9c78f5bde4fef12e41492ce066a
Copyright 2011 Martin Hawksey
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
View .vimrc
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'lrvick/Conque-Shell'
Plugin 'scrooloose/nerdtree'
Plugin 'maksimr/vim-jsbeautify'
You can’t perform that action at this time.