<commit_before>#! /usr/bin/sh

REPO_VLC=http://download.videolan.org/pub/vlc/SuSE/Leap_42.1
REPO_VLC=http://download.videolan.org/pub/vlc/SuSE/Tumbleweed
REPO_X2GO=http://download.opensuse.org/repositories/X11:/RemoteDesktop:/x2go/openSUSE_Leap_42.1
REPO_X2GO=http://download.opensuse.org/repositories/X11:/RemoteDesktop:/x2go/openSUSE_Tumbleweed

GIT_REPO_SPOTIFY=https://github.com/flanaras/opensuse-spotify-installer

DL_PACKAGE_XNVIEW=http://download.xnview.com/XnViewMP-linux.x86_64.rpm
DL_PACKAGE_CHROME=https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
DL_PACKAGE_VIBER=http://download.cdn.viber.com/desktop/Linux/viber.rpm
DL_PACKAGE_SKYPE=https://download.skype.com/linux/skype-4.3.0.37-suse.i586.rpm
DL_PACKAGE_TEAMVIEWER=http://download.teamviewer.com/download/teamviewer.i686.rpm

FILENAME_XNVIEW=XnViewMP-linux.x86_64.rpm
FILENAME_CHROME=google-chrome-stable_current_x86_64.rpm
FILENAME_VIBER=viber.rpm
FILENAME_SKYPE=skype-4.3.0.37-suse.i586.rpm
FILENAME_TEAMVIEWER=teamviewer.i686.rpm

DL_COMPRESSED_ANDROID_STUDIO=https://dl.google.com/dl/android/studio/ide-zips/2.1.2.0/android-studio-ide-143.2915827-linux.zip
DL_COMPRESSED_ANDROID_SDK=https://dl.google.com/android/android-sdk_r24.4.1-linux.tgz
DL_COMPRESSED_INTELLIJ=https://download-cf.jetbrains.com/idea/ideaIU-2016.1.3.tar.gz

sudo zypper ref

## Git is needed for some applications
#We love and need git
sudo zypper in git

##### ----- Personal touches ----- #####
# Adding a better font experience for our Linux environment
sudo zypper in fetchmsttfonts



## -- Media

# We can't do anything without vlc
sudo zypper rm vlc*
sudo zypper ar $REPO_VLC VLC
sudo zypper mr -r VLC
sudo zypper in vlc

# A nice pdf viewer, I like more this than the default one
sudo zypper in okular

# Image viewer XnView
wget $DL_PACKAGE_XNVIEW
sudo zypper in XnViewMP-linux.x86_64.rpm
rm XnViewMP-linux.x86_64.rpm

# Spotify
# https://github.com/flanaras/opensuse-spotify-installer
git clone $GIT_REPO_SPOTIFY
./opensuse-spotify-installer/install-spotify.sh
rm -rf opensuse-spotify-installer


## -- Browsers

# Opera, for an alternative of firefox
sudo zypper in opera<commit_msg>resolve icon problem for okular<commit_after>#! /usr/bin/sh

REPO_VLC=http://download.videolan.org/pub/vlc/SuSE/Leap_42.1
REPO_VLC=http://download.videolan.org/pub/vlc/SuSE/Tumbleweed
REPO_X2GO=http://download.opensuse.org/repositories/X11:/RemoteDesktop:/x2go/openSUSE_Leap_42.1
REPO_X2GO=http://download.opensuse.org/repositories/X11:/RemoteDesktop:/x2go/openSUSE_Tumbleweed

GIT_REPO_SPOTIFY=https://github.com/flanaras/opensuse-spotify-installer

DL_PACKAGE_XNVIEW=http://download.xnview.com/XnViewMP-linux.x86_64.rpm
DL_PACKAGE_CHROME=https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
DL_PACKAGE_VIBER=http://download.cdn.viber.com/desktop/Linux/viber.rpm
DL_PACKAGE_SKYPE=https://download.skype.com/linux/skype-4.3.0.37-suse.i586.rpm
DL_PACKAGE_TEAMVIEWER=http://download.teamviewer.com/download/teamviewer.i686.rpm

FILENAME_XNVIEW=XnViewMP-linux.x86_64.rpm
FILENAME_CHROME=google-chrome-stable_current_x86_64.rpm
FILENAME_VIBER=viber.rpm
FILENAME_SKYPE=skype-4.3.0.37-suse.i586.rpm
FILENAME_TEAMVIEWER=teamviewer.i686.rpm

DL_COMPRESSED_ANDROID_STUDIO=https://dl.google.com/dl/android/studio/ide-zips/2.1.2.0/android-studio-ide-143.2915827-linux.zip
DL_COMPRESSED_ANDROID_SDK=https://dl.google.com/android/android-sdk_r24.4.1-linux.tgz
DL_COMPRESSED_INTELLIJ=https://download-cf.jetbrains.com/idea/ideaIU-2016.1.3.tar.gz

sudo zypper ref

## Git is needed for some applications
#We love and need git
sudo zypper in git

##### ----- Personal touches ----- #####
# Adding a better font experience for our Linux environment
sudo zypper in fetchmsttfonts



## -- Media

# We can't do anything without vlc
sudo zypper rm vlc*
sudo zypper ar $REPO_VLC VLC
sudo zypper mr -r VLC
sudo zypper in vlc

# A nice pdf viewer, I like more this than the default one
sudo zypper in okular
# KDE base is needed to load correctly the icons (I guess this could be done by installing the oxygen* icon pack and fonts)
sudo zypper in -t pattern kde

# Image viewer XnView
wget $DL_PACKAGE_XNVIEW
sudo zypper in XnViewMP-linux.x86_64.rpm
rm XnViewMP-linux.x86_64.rpm

# Spotify
# https://github.com/flanaras/opensuse-spotify-installer
git clone $GIT_REPO_SPOTIFY
./opensuse-spotify-installer/install-spotify.sh
rm -rf opensuse-spotify-installer


## -- Browsers

# Opera, for an alternative of firefox
sudo zypper in opera
{'fraction_non_alphanumeric': 0.11815754339118825, 'fraction_numerical': 0.037383177570093455, 'mean_word_length': 5.123978201634878, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1003362', 'n_tokens_mistral': 1978, 'n_tokens_neox': 1785, 'n_words': 282}