Skip to content

Instantly share code, notes, and snippets.

View mysticBliss's full-sized avatar
🏠
Working from home

myticBliss mysticBliss

🏠
Working from home
View GitHub Profile
@mysticBliss
mysticBliss / Getting unique elements from List.md
Last active February 2, 2018 10:44
Getting unique elements from List

Getting unique elements from List

mylist = [1,2,3,4,5,6,6,7,7,8,8,9,9,10]

Using Simple Logic from Sets - Sets are unique list of items

mylist=list(set(mylist))
@mysticBliss
mysticBliss / BasicsOf-OOPS.md
Created February 25, 2018 14:25
Basics Of-OOPS
# Library
# Abstractions-- list of books, lendbook, addbook, removebook

# Student
# - order book 
# - return book
ambari-server stop
ambari-agent stop
pkill -9 java
#################################
# Remove Packages
################################
yum -y remove ambari-\*
yum -y remove hcatalog\*
yum -y remove hive\*
### Keybase proof
I hereby claim:
* I am mysticbliss on github.
* I am saqie (https://keybase.io/saqie) on keybase.
* I have a public key ASDQHOYpCBJsOvBkw6SYayonsx2ejyCJKml1BCeCPKV5Pwo
To claim this, I am signing this object: