Skip to content

Instantly share code, notes, and snippets.

View mtaziz's full-sized avatar

Tariq mtaziz

  • Bangladesh
View GitHub Profile
@mtaziz
mtaziz / vim-zsh-cheatsheets
Last active August 29, 2015 14:19
useful-Vim-ZSH
All the credits goes to original author: francismhw@https://gist.github.com/francismhw/77c8af4c34353878eff8
http://www.economyofeffort.com/2014/08/11/beyond-ctrl-remap-make-that-caps-lock-key-useful/
http://www.glump.net/files/2012/08/vi-vim-cheat-sheet-and-tutorial.pdf
https://github.com/amix/vimrc
http://ivan.kanis.fr/zsh.pdf
https://github.com/robbyrussell/oh-my-zsh/wiki/Cheatsheet
http://www.bash2zsh.com/zsh_refcard/refcard.pdf
@mtaziz
mtaziz / Problem-solving-on-unix-linux-systems
Last active September 16, 2015 15:25
Problem solving on unix-linux systems
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ ###All the Credits Goes to Author, Dan Stromberg### +
+ http://stromberg.dnsalias.org/~strombrg/Problem-solving-on-unix-linux-systems.html +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Note: This web page was automatically created from a PalmOS "pedit32" memo.
Problem solving on unix/linux systems
@mtaziz
mtaziz / Lolcat-Installation
Created April 20, 2015 09:19
Lolcat-Installation
+++++++++++++++++++++++++++++++++
+Lolcat Installation on Centos 7+
##Method-01
+++++++++++++++++++++++++++++++++
$ gem install lolcat # make sure gem installed onto the system
##Method-02
+++++++Gem Installation++++++++
$ rpm list installed | grep ruby
$ rpm -q gem # If not installed then
@mtaziz
mtaziz / awesome-sysadmin-inspired-by-Awesome-PHP
Last active April 11, 2023 07:08
awesome-sysadmin-inspired-by-Awesome-PHP
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ For the following awesome sysadmin, All the credit goes to the author , Francisco Augusto kahun,+
+ and community + contributers +
+ https://github.com/kahun/awesome-sysadmin.git+ +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###Awesome Sysadmin
A curated list of amazingly awesome open source sysadmin resources inspired by Awesome PHP
Awesome Sysadmin
@mtaziz
mtaziz / openvpn-server-client-config-centos-7
Last active July 4, 2020 08:05
openvpn-server-client-config-centos-7
++++++++++++++++++++++++++++++++++++
+OpenVPN server intalllation notes: +
++++++++++++++++++++++++++++++++++++
Scenario:
Targeted system to be installed on CentO 7
and Clients : on Windows, OS X, and Linux.
Prerequisites:
* CentOS 7 along with root access to the server
* Domain or subdomain that resolves to your server that you can use for the certificates
* We need to make sure that we have Enterprise Linux (EPEL) repository in the system , if not , then we can excute the following to include this reposity.
# Compilation failed at $ sudo make all
/* Kali linux does not have "linux-headers-generic" installed by default */
############Search####################
$ dpkg-query -s linux-headers-generic
$ apt-cache search linux | grep header
$ dpkg -l | grep linux-headers-
##########Dependencies###############
$ sudo apt-get install linux-headers-`uname -r`
$ sudo apt-get install build-essential git
##########Downloading from github################
@mtaziz
mtaziz / workaround-airmn-ng.sh
Last active September 16, 2021 03:05
Workaround for airmon-ng on Kali Linux 2.0
# download compat wireless (compat-wireless-2010-06-26-p.tar.bz2)
# http://linuxwireless.org/download/compat-wireless-2.6/
cd ~/Downloads
ls
tar -jvxf compat-wireless-2010-06-26-p.tar.bz2
ls
cd compat-wireless-2010-06-26-p
make unload
make load
// XPath CheatSheet
// To test XPath in your Chrome Debugger: $x('/html/body')
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/
// 0. XPath Examples.
// More: http://xpath.alephzarro.com/content/cheatsheet.html
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class
#!/bin/bash
DYNAMODB_USER=vagrant
sudo apt-get install openjdk-7-jre-headless -y
cd /home/${DYNAMODB_USER}/
mkdir -p dynamodb
cd dynamodb