Skip to content

Instantly share code, notes, and snippets.


Parth Lawate parthlawate

View GitHub Profile
parthlawate /
Last active Feb 18, 2017 — forked from coolbung/
Script to install typical tools needed by TTPL Devs - safe for elementary OS
read -p "Enter non-admin username (eg: ttpl1) : " non_admin_username
if [ ! -d "$non_admin_home_dir" ]; then
echo "Invalid username"
#!/usr/bin/env bash
#* @package Component Name
#* @copyright Copyright (C) 2009 2014 Techjoomla, Tekdi Technologies Pvt. Ltd. All rights reserved.
#* @license GNU GPLv2 <>
#* @link
# This Script can be used to maintain your demos and refresh them periodically
# It can also be used to create replication instances quickly for development and sync them with live or the other way round
# Another use of the script is for code deployments from local to live
# Currently this is for Joomla but you could potentially fork it for any database of file based application
# Fair Warning : Note that you are playing with your live server files and Database. So make sure you know what you are doing !