Skip to content

Instantly share code, notes, and snippets.

View sumanta-ghosh's full-sized avatar

SKG sumanta-ghosh

  • kolkata, India
View GitHub Profile
@sumanta-ghosh
sumanta-ghosh / spring-servlet.xml
Created November 30, 2023 19:22
Java Spring Framework
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:c="http://www.springframework.org/schema/c" xmlns:util="http://www.springframework.org/schema/util" xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
https://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/util
https://www.springframework.org/schema/util/spring-util.xsd
http://www.springframework.org/schema/tx
<VirtualHost *:80>
ServerAdmin webmaster@[WWW]
ServerName [WWW]
ServerAlias www.[WWW]
DocumentRoot /var/www/html/[WWW]
ErrorLog ${APACHE_LOG_DIR}/[WWW].com.error.log
@sumanta-ghosh
sumanta-ghosh / git-cmd
Created July 2, 2018 03:20
git command
git clone -b mybranch --single-branch git://sub.domain.com/repo.git
@sumanta-ghosh
sumanta-ghosh / httpd-vhosts.conf
Created June 20, 2018 20:55
xampp-vhost file
# Virtual Hosts
#
# Required modules: mod_log_config
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at