I hereby claim:
- I am vaibhavmule on github.
- I am vaibhavmule (https://keybase.io/vaibhavmule) on keybase.
- I have a public key ASAvEBTuIiSrgdmtgR0udGn4st5D8e3khRQXzqZeBqjh2go
To claim this, I am signing this object:
first_input = list(raw_input()) | |
second_input = list(raw_input()) | |
third_input = list(raw_input()) | |
def tictactoe(first_row, second_row, third_row): | |
if check_horizontal(first_row, second_row, third_row) == True: | |
res = True | |
elif check_verticle(first_row, second_row, third_row) == True: | |
res = True |
server { | |
listen 80; | |
root /var/www/yourdomain.com/public; | |
index index.html index.htm; | |
server_name yourdomain.com; | |
location / { | |
default_type "text/html"; |
// GET Request | |
var xhr = new XMLHttpRequest(); | |
// Three Arguments: Method, Url and true is optional boolean for async | |
xhr.open("GET", "http://example.com/", true); | |
// Log the response | |
xhr.onload = function () { | |
console.log(xhr.responseText); | |
}; |
install, chromium, git, git config, dropbox, build-essential libssl-dev for nodejs, |
sudo apt-get update && sudo apt-get dist-upgrade | |
sudo apt-get install netselect-apt -y | |
sudo netselect-apt | |
sudo apt-get install sudo chromium vim git git-core zsh vlc libcanberra-gtk-module fonts-crosextra-carlito fonts-crosextra-caladea -y | |
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - | |
wget "https://www.rescuetime.com/installers/rescuetime_current_amd64.deb" | |
sudo dpkg -i rescuetime_current_amd64.deb | |
rm rescuetime_current_amd64.deb |
echo "Updating" && | |
sudo apt-get update | |
echo "Upgrading" && | |
sudo apt-get dist-upgrade | |
echo "Cleaning Up" && | |
sudo apt-get -f install && | |
sudo apt-get autoremove && | |
sudo apt-get -y autoclean && |
# install git | |
sudo apt get install git | |
# install elasticsearch | |
sudo apt-get install build-essential libssl-dev | |
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list | |
sudo apt-get update && sudo apt-get install elasticsearch | |
# install java |
# Install command line developer tools | |
cd /Applications/Utilities/ | |
xcode-select --install | |
# install nvm node and npm | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash | |
echo ". ~/.nvm/nvm.sh" > ~/.bash_profile | |
nvm install stable | |
nvm use stable | |
nvm alias default stable |
I hereby claim:
To claim this, I am signing this object:
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |