Skip to content

Instantly share code, notes, and snippets.

View gist:afcf9c315c62d9102ae569cc562374ac
.buildSparkSession : create SparkSessionBuilder
NON_VOID → val spark = SparkSession.builder().master("local").appName("$expr$").getOrCreate() [IMPORT org.apache.spark.sql.SparkSession]
View yaourt.sh
pacman -S --needed base-devel git wget yajl
cd /tmp
git clone https://aur.archlinux.org/package-query.git
cd package-query/
makepkg -si
cd ..
git clone https://aur.archlinux.org/yaourt.git
cd yaourt/
makepkg -si
cd ..
@logikv
logikv / palemoon.32b.install.on.manjaro.linux.64b.sh
Last active Jul 15, 2019 — forked from samirfor/palemoon.32b.install.on.manjaro.linux.64b.sh
Installing Palemoon 32 bits on Manjaro Linux 64 bits
View palemoon.32b.install.on.manjaro.linux.64b.sh
#!/bin/sh
set -e
echo "== Installing Palemoon 32 bits on Manjaro Linux 64 bits =="
echo
echo "Installing deps (lib32) ..."
echo
yaourt -S --noconfirm lib32-gtk2 lib32-dbus-glib
echo
@logikv
logikv / jb_install_update.sh
Created Oct 25, 2017 — forked from zabidok/jb_install_update.sh
Install or update jetbrains products like PhpStorm, WebStorm, IntelliJ Idea, PyCharm, CLion, ReSharper on Ubuntu and fix problems with non latin hotkeys in gui java application
View jb_install_update.sh
#!/bin/bash
# installation jetbrains
j_url="https://data.services.jetbrains.com/products/download"
tmp_dir="$HOME/tmp_jb"
install_dir="/opt"
if [ "$(whoami)" != "root" ]
then
echo "Sorry, you are not root."
exit 1
fi