Skip to content

Instantly share code, notes, and snippets.

@itbcodedev
itbcodedev / install-vmware-player-with-vagrant.ps1
Created August 4, 2025 13:21 — forked from 1eedaegon/install-vmware-player-with-vagrant.ps1
Install vagrant with vmware for windows 11
# 1. Download and install go
https://golang.org/doc/install
# 2. Download and install VMware workstation player
https://www.vmware.com/products/workstation-player.html
# 3. Download and install vagrant
https://www.vagrantup.com/downloads
# 4. Download vagrant vmware utility
#!/bin/bash
#install java
sudo apt install openjdk-13-jdk
sudo apt install openjdk-8-jdk
sudo apt install openjdk-11-jdk
sudo update-alternatives --config java
#install docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable test"
@itbcodedev
itbcodedev / vimrc
Created December 31, 2019 01:55
vimrc
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"{{{ => General
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"Necessary for cool features of vim
set nocompatible
" Enable syntax highlighting
syntax enable
" Mouse support only in normal mode
@itbcodedev
itbcodedev / docker-compose.md
Last active December 27, 2019 04:54
Docker command for dev-ops

docker-compose repository

# curl -L https://github.com/docker/compose/releases/download/1.25.1-rc1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
# chmod +x /usr/local/bin/docker-compose

Create project

@itbcodedev
itbcodedev / docker_summary.md
Created December 24, 2019 08:28
Docker command for dev-ops

MongoDB

docker pull mongo docker run -d -p 27017-27019:27017-27019 --name mongodb mongo

docker exec -it mongodb mongo admin

create user with shell

@itbcodedev
itbcodedev / install_openvpn.sh
Last active December 24, 2019 08:12
cisco openvpn on kde ubuntu
#!/bin/bash
#install package
sudo apt install network-manager-openvpn
sudo apt install network-manager-vpnc
sudo apt install network-manager-openconnect
# reloads all new or changed systemctl units
sudo systemctl daemon-reload
@itbcodedev
itbcodedev / network-tweak.md
Created December 12, 2019 08:10 — forked from mustafaturan/network-tweak.md
Linux Network Tweak for 2 million web socket connections

Sample config for 2 million web socket connection

    sysctl -w fs.file-max=12000500
    sysctl -w fs.nr_open=20000500
    # Set the maximum number of open file descriptors
    ulimit -n 20000000

    # Set the memory size for TCP with minimum, default and maximum thresholds 
 sysctl -w net.ipv4.tcp_mem='10000000 10000000 10000000'
@itbcodedev
itbcodedev / rpmforge.sh
Created July 18, 2019 04:53 — forked from goffinet/rpmforge.sh
RPMForge repo installation on Centos 7
#!/bin/bash
yum -y install epel-release wget
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
rpm --import RPM-GPG-KEY.dag.txt
@itbcodedev
itbcodedev / data-science-setup.sh
Created March 16, 2019 14:34 — forked from Ic3fr0g/data-science-setup.sh
Setup for data science related dev on (>=) RHEL 7.6 (Maipo) and CentOS
# Need to be sudo to install the following
yum update
yum install -y wget bzip2 tmux
# Download and run anaconda3 for python3 and follow instructions
wget https://repo.continuum.io/archive/Anaconda3-5.3.1-Linux-x86_64.sh | sh
# Conda install essential datascience packages
conda update --all
conda install pandas numpy scipy scikit-learn keras tensorflow pytorch nltk matplotlib seaborn