Skip to content

Instantly share code, notes, and snippets.

View alicanalbayrak's full-sized avatar

Ali Can alicanalbayrak

View GitHub Profile
@canmogol
canmogol / acm.bash.sh
Created August 5, 2016 10:13
Bash primary prompt
#!/bin/bash
reset=$(tput sgr0)
bold=$(tput bold)
black=$(tput setaf 0)
red=$(tput setaf 1)
green=$(tput setaf 2)
yellow=$(tput setaf 3)
blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
package com.metsci.glimpse.examples.axis;
import com.metsci.glimpse.axis.Axis2D;
import com.metsci.glimpse.axis.listener.mouse.AxisMouseListener2D;
import com.metsci.glimpse.examples.Example;
import com.metsci.glimpse.layout.GlimpseAxisLayout2D;
import com.metsci.glimpse.layout.GlimpseLayout;
import com.metsci.glimpse.layout.GlimpseLayoutProvider;
import com.metsci.glimpse.painter.shape.PointSetPainter;
import com.metsci.glimpse.painter.shape.PolygonPainter;
#!/bin/bash
#First you update your system
sudo apt-get -y update && sudo apt-get -y upgrade
sudo apt-get -y install curl wget firefox
#Install Google Chrome
echo "Chrome"
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get -y update