Skip to content

Instantly share code, notes, and snippets.

@emranweb
emranweb / speed.txt
Created April 14, 2017 04:02
Ubuntu/ Elementary OS Net Speed indicator
#Follow this code for Du Style Neet Speed Indicator for your Ubuntu or Elementary OS PC.
sudo apt-add-repository ppa:fixnix/netspeed
sudo apt-get update
sudo apt-get install indicator-netspeed-unity
@emranweb
emranweb / Pythone.txt
Created April 14, 2017 04:05
Install Pythone in Ubutu/ Elementary PC
You can install Python 3.6 on Ubuntu 16.04 using this PPA.
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt update
sudo apt install python3.6
git add .
git status // to see what changes are going to be commited
git commit -m 'Some descriptive commit message'
git push origin master
//and Next
git checkout gh-pages // go to the gh-pages branch
git rebase master // bring gh-pages up to date with master
#get
object.name;
object[expression];
#set
object.name = value;
object.[expression];
#deleate
@emranweb
emranweb / Node JS 7 For Linux
Last active August 11, 2017 14:42
Node JS 7 For Linux
sudo apt-get install python-software-properties
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install nodejs
sudo apt-get update
sudo apt-get install default-jre
sudo apt-get install default-jdk
or
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install rubygems
sudo gem install sass
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:philip.scott/elementary-tweaks
sudo apt-get update
sudo apt-get install elementary-tweaks
@emranweb
emranweb / Bootstsrap4 Accordion Before after Icon
Created June 10, 2018 18:53
Bootstrap4 Before after icon. Then the accordian is hide it show one icon after when it expend it show after icon. It use Font awesome 5 Icon.
#accordion .btn:before {
font-family: "Font Awesome 5 Free";
font-weight: 900;
content: "\f106";
float: right;
}
/************************/
#accordion .btn.collapsed:before {