This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.log4j._ | |
import org.apache.spark._ | |
object noMercy extends App { | |
Logger.getLogger("org").setLevel(Level.ERROR) | |
val sc = new SparkContext("local[*]", "No Mercy Prediction") | |
val noMercyResults = sc.textFile("/home/monster/git/scala-spark/src/main/resources/nomercy.txt") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'package) | |
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) | |
;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities` | |
;; and `package-pinned-packages`. Most users will not need or want to do this. | |
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t) | |
(package-initialize) | |
(setq package-check-signature nil) | |
(eval-and-compile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Copyright of the below functions belong to the author/contributors of https://github.com/dominikh/go-mode.el. | |
;; Usage: Plug go-mode's gofmt to the new go-ts-mode (built-in go mode which uses tree-sitter) in emacs. | |
;; go-ts-mode landed on emacs `master` branch on 2022-12-16. | |
(defcustom gofmt-command "gofmt" | |
"The 'gofmt' command. | |
Some users may replace this with 'goimports' | |
from https://golang.org/x/tools/cmd/goimports." |