Skip to content

Instantly share code, notes, and snippets.

How To Uninstall tomcat7 On Ubuntu 15.04
To uninstall tomcat7 just follow these instructions.
Are you having problems? You can always add tomcat7again by following the instructions at this link.
Uninstall just tomcat7
`sudo apt-get remove tomcat7`
This will remove just the tomcat7 package itself.
Uninstall tomcat7 and it's dependencies
@sharathholy
sharathholy / media-query.css
Last active November 29, 2019 09:25 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
.container {
/*
grid: When you place it in an element, children will be affected.
*/
display: grid;
/*
grid-template-columns: control as column of your grid.
Each parameter represents a column in the grid, that is. if I take one
'100px', will be two columns only.
*/
@sharathholy
sharathholy / dataframe_insert_into_docx.py
Last active October 3, 2019 06:34
Make document Using Python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Sep 30 05:08:05 2019
@author: sharath
"""
from docx import Document
from docx.shared import Pt,WD_ALIGN_PARAGRAPH
@sharathholy
sharathholy / nodejs-cheatsheet.js
Created December 23, 2019 05:42 — forked from LeCoupa/nodejs-cheatsheet.js
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
/* *******************************************************************************************
* GLOBAL OBJECTS > ARRAY
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array
* ******************************************************************************************* */
// Global object: properties
Array.length // Reflects the number of elements in an array
// Global object: methods
@sharathholy
sharathholy / bash-cheatsheet.sh
Created December 23, 2019 05:46 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04