Skip to content

Instantly share code, notes, and snippets.

@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 / 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
@mizanRahman
mizanRahman / 99-network-tuning.conf
Last active March 3, 2025 07:23 — forked from hrchu/99-network-tuning.conf
Linux Web Server Kernel Tuning
# Configuration file for runtime kernel parameters.
# See sysctl.conf(5) for more information.
# See also http://www.nateware.com/linux-network-tuning-for-2013.html for
# an explanation about some of these parameters, and instructions for
# a few other tweaks outside this file.
# See evil packets in your logs.
net.ipv4.conf.all.log_martians = 1
@mizanRahman
mizanRahman / burgerbot.rb
Created August 16, 2021 12:03 — forked from daxadax/burgerbot.rb
burgerbot
#!/usr/bin/env ruby
# modified from https://gist.github.com/pbock/3ab260f3862c350e6b5f #
require 'watir-webdriver'
class BurgerBot
def initialize
@attempt_count = 0