Skip to content

Instantly share code, notes, and snippets.

@mizanRahman
mizanRahman / install-ntp.sh
Created June 22, 2018 21:30
install network time server agent
yum install ntp
chkconfig ntpd on
ntpdate pool.ntp.org
service ntpd start
@mizanRahman
mizanRahman / net.sh
Created June 22, 2018 21:27
network analysis
# tcpdump standard
sudo tcpdump -nvvv -i any -c 20 'port 9090'
@mizanRahman
mizanRahman / odoo-install-pre.sh
Last active January 5, 2018 15:41
packages required to install odoo in ubuntu
sudo apt-get install libxml2-dev libxslt1-dev
sudo pip install lxml
sudo apt-get install libjpeg-dev
sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev
interface HsmCrypto {
public String encrypt(String keyLabel, String data)
public String decrypt(String keyLabel, String data)
public String sign(String keyLabel, String data)
}
class HsmCryptoSafenet implements HsmCrypto {
private CryptoBo crypto;
private HsmCryptoConfig config;
@mizanRahman
mizanRahman / git-commit-csv-export.sh
Created September 23, 2017 07:18 — forked from ghinda/git-commit-csv-export.sh
git csv export of commits in the last month
git log --since='last month' --pretty=format:'%h;%an;%ad;%s' --author='Ionut Colceriu' > ~/log.csv
{
"nodes": [
{"id": "Myriel", "group": 1},
],
"links": [
{"source": "Napoleon", "target": "Myriel", "value": 1},
{"source": "Mlle.Baptistine", "target": "Myriel", "value": 8},
]
}
@mizanRahman
mizanRahman / d3.html
Last active September 20, 2017 18:22
force directed network graph
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.links line {
stroke: #999;
stroke-opacity: 0.6;
}
.nodes circle {
@mizanRahman
mizanRahman / checklist.md
Last active August 16, 2017 07:00
side project marketing checklist
layout title permalink
checklist_page
The Side Project Marketing Checklist
/marketing-checklist/

Pre-Launch

Market Research

@mizanRahman
mizanRahman / gist:7b17918a8e23fb493a84e0c6be8950e8
Created May 8, 2017 19:13 — forked from fmasuhr/gist:4fd661b884f157590613
Associate a Vagrant project directory with an existing VirtualBox VM
  1. In the directory where your Vagrantfile is located, run the following command and copy the ID of your VM
VBoxManage list vms
=> "virtualMachine" {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
  1. Go to the Vagrant project configuration folder
@mizanRahman
mizanRahman / docker commands.sh
Created May 8, 2017 18:28
commonly used docker commands
docker ps
docker ps -a
docker images
docker rmi <image>
docker rm <container>