Skip to content

Instantly share code, notes, and snippets.

Tanzim Saqib tsaqib

Block or report user

Report or block tsaqib

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
@tsaqib
tsaqib / springboot-bootstrap.sh
Created May 27, 2016
A bootstrapper for SpringBoot example application
View springboot-bootstrap.sh
echo -e '\nMake sure you have installed & configured JDK and Maven.'
echo -e '-----'
cat >pom.xml <<EOL
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
@tsaqib
tsaqib / install-odoo8.sh
Last active Nov 8, 2017
Installer script for Odoo 8 on Debian & Ubuntu VM/Azure
View install-odoo8.sh
# Manually execute first: sudo -i
# Usage: wget -q -O - "$@" https://gist.githubusercontent.com/tsaqib/c8915096c7fde8ade3971ff51f764da7/raw/ --no-cache | sh
# After installation, codebase can be found at /usr/lib/python2.7/dist-packages/openerp
apt-get update -y && apt-get upgrade -y
wget http://nightly.odoo.com/extra/wkhtmltox-0.12.1.2_linux-jessie-amd64.deb
dpkg -i wkhtmltox-0.12.1.2_linux-jessie-amd64.deb
apt-get install -f
rm wkhtmltox-0.12.1.2_linux-jessie-amd64.deb
wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
@tsaqib
tsaqib / install-docker-centos72.sh
Created May 16, 2016
Docker installer script for CentOS 7.2
View install-docker-centos72.sh
# Docker installation script for CentOS 7.2 on Azure
# Usage: execute sudo -i, first.
# wget -q -O - "$@" https://gist.githubusercontent.com/tsaqib/c355495947dc4a4d3ec45397482edcff/raw/ --no-cache | sh
# After running the script reboot and check whether docker is running.
yum -y update
tee /etc/yum.repos.d/docker.repo <<-'EOF'
[dockerrepo]
name=Docker Repository
@tsaqib
tsaqib / install-docker-deb8.sh
Last active May 23, 2018
Docker installer script for Debian 8 Jessie
View install-docker-deb8.sh
# Docker installation script for Debian 8 Jessie on Azure
# Usage: execute sudo -i, first.
# wget -q -O - "$@" https://gist.githubusercontent.com/tsaqib/b2c83ac30f962ab78a5472902c325aa9/raw/ --no-cache | sh
# After running the script reboot and check whether docker is running.
apt-get purge lxc-docker*
apt-get purge docker.io*
apt-get update -y && sudo apt-get upgrade -y
apt-get install -y apt-transport-https ca-certificates
@tsaqib
tsaqib / install-docker-ubuntu1504.sh
Last active Jun 30, 2017
A simple script to install Docker on Ubuntu 15.04 LTS
View install-docker-ubuntu1504.sh
# Usage: curl -H 'Cache-Control: no-cache' -s https://gist.githubusercontent.com/tsaqib/737607e64a1fba4d4562f2de21fd16d8/raw/ | sudo sh
# Works on: https://azure.microsoft.com/en-us/marketplace/partners/canonicalandmsopentech/dockeronubuntuserver1404lts/
# 'Docker on Ubuntu 15.04 LTS' works flawlessly on Azure's classical port mapping. If you map port 20001 from docker,
# you may easily map at Azure's Endpoints, for example public port = private port = 20001.
apt-get update -y
apt-get install apt-transport-https ca-certificates -y
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
rm -rf /etc/apt/sources.list.d/docker.list
touch /etc/apt/sources.list.d/docker.list
@tsaqib
tsaqib / install-docker-ubuntu1604.sh
Last active Sep 11, 2018
Docker installation script for Ubuntu 16.04 (Xenial) on Azure
View install-docker-ubuntu1604.sh
# Docker installation script for Ubuntu 16.04 (Xenial) on Azure
# Usage: execute sudo -i, first.
# wget -q -O - "$@" https://gist.githubusercontent.com/tsaqib/9c7c6eed460930b1a14665043bd2157c/raw/ --no-cache | sh
# After running the script reboot and check whether docker is running.
apt-get update -y
apt-get upgrade -y
apt-get install -y apt-transport-https ca-certificates
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
@tsaqib
tsaqib / ideas.md
Last active Aug 30, 2019
Ideas that you can use for hackathons, competitions and research.
View ideas.md

Ideas

I have collected and moderated these ideas from various public sources and put into one place so that problem solvers and solution developers may find inspirations. Because I wish to update it regularly, I have setup as a single page wiki. You may try these ideas on hackathons/competitions/research; some are quite intense problems and some are not. Many of the problems were prepared keeping Dhaka/Bangladesh in mind, but of course can be applied to just about any underdeveloped/developing and sometimes developed countries.

Categories:
  • Eradicate Extreme Poverty and Hunger
  • Education
  • Healthcare
  • Governance
@tsaqib
tsaqib / ubuntu-survival-guide.md
Last active May 30, 2016
Ubuntu Survival Guide
View ubuntu-survival-guide.md
You can’t perform that action at this time.