Skip to content

Instantly share code, notes, and snippets.

View mtaziz's full-sized avatar

Tariq mtaziz

  • Bangladesh
View GitHub Profile
@mtaziz
mtaziz / python_trader_for_medium_article_v1.py
Created February 9, 2021 17:13 — forked from pacarvalho/python_trader_for_medium_article_v1.py
Simple python script for trading currency pair on forex.com
from gcapi import GCapiClient # From https://github.com/rickykim93/gcapi-python
from gcapi.gcapi_tools import format_date # From https://github.com/rickykim93/gcapi-python
from datetime import datetime
from time import sleep
import numpy
def check_sell_criteria(prices):
# TODO: Write your algorithm to detect sell condition here
return False
@mtaziz
mtaziz / android-apk-hacking-how-to.md
Created December 24, 2019 21:04 — forked from luciopaiva/android-apk-hacking-how-to.md
Android APK hacking how-to

Android APK hacking how-to

Install and configure SDK

  • install Android Studio (google it)

  • configure your shell (considering Linux+Bash):

    export ANDROID_HOME=$HOME/Android/Sdk
    export PATH=$PATH:$ANDROID_HOME/tools
    

export PATH=$PATH:$ANDROID_HOME/platform-tools

@mtaziz
mtaziz / pip-install-gdal.md
Created July 21, 2018 05:41 — forked from cspanring/pip-install-gdal.md
Installing GDAL in a Python virtual environment

Installing GDAL in a Python virtual environment

Get gdal development libraries:

$ sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
$ sudo apt-get update
$ sudo apt-get install libgdal-dev

Create and activate a virtual environment:

#!/bin/bash
DYNAMODB_USER=vagrant
sudo apt-get install openjdk-7-jre-headless -y
cd /home/${DYNAMODB_USER}/
mkdir -p dynamodb
cd dynamodb
// 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
@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
# 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 / 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.
@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