Skip to content

Instantly share code, notes, and snippets.

View shaheerakr's full-sized avatar
🎯
Focusing

Muhammad Shaheer Akram shaheerakr

🎯
Focusing
View GitHub Profile
@shaheerakr
shaheerakr / httpd-xampp.conf
Created December 12, 2019 10:30
phpmyadmin config for running over network
#
# XAMPP settings
#
<IfModule env_module>
SetEnv MIBDIRS "C:/xampp/php/extras/mibs"
SetEnv MYSQL_HOME "\\xampp\\mysql\\bin"
SetEnv OPENSSL_CONF "C:/xampp/apache/bin/openssl.cnf"
SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php"
SetEnv PHPRC "\\xampp\\php"
@shaheerakr
shaheerakr / httpd.conf
Created December 12, 2019 10:27
apache http conf for running over network
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
@shaheerakr
shaheerakr / my.ini
Created December 12, 2019 10:25
mysql config for working on network
# Example MySQL config file for small systems.
#
# This is for a system with little memory (<= 64M) where MySQL is only used
# from time to time and it's important that the mysqld daemon
# doesn't use much resources.
#
# You can copy this file to
# C:/xampp/mysql/bin/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is C:/xampp/mysql/data) or
@shaheerakr
shaheerakr / git-comands
Last active October 9, 2019 19:04
Git commands with there use cases
# merging remote master into local master
> git checkout master
> git pull origin master
# merging local master into a local branch updating remote branch
## it is recomended to make the local master even to its remote before running these commands, to do this step see the above case
> git checkout <branch-name>
> git merge master
> git push origin <branch-name>
# commit and push changes into local branch then to remote
> git add .