Skip to content

Instantly share code, notes, and snippets.

View musale's full-sized avatar
Breaking Things 😜

Musale Martin musale

Breaking Things 😜
View GitHub Profile
include "secure"
fixedConnectionPool = 5
repository.dispatcher {
executor = "thread-pool-executor"
throughput = 1
thread-pool-executor {
fixed-pool-size = ${fixedConnectionPool}
}
// The Typesafe repository
resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/"
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.6.12")
// Scala formatting: "sbt scalafmt"
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.12")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")%
sbt.version=1.1.1
scalaVersion in ThisBuild := "2.12.4"
crossScalaVersions := Seq("2.11.12", "2.12.4")
name := "random-quote"
version := "1.0.0-SNAPSHOT"
libraryDependencies += guice
libraryDependencies += "net.codingwell" %% "scala-guice" % "4.1.1"
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % Test
lazy val root = (project in file(".")).enablePlugins(PlayScala)

Keybase proof

I hereby claim:

  • I am musale on github.
  • I am musale (https://keybase.io/musale) on keybase.
  • I have a public key ASBOCqg17Qf9QZ-ajWU6i12_NDP5XJRdABikfXz3Ebq80Qo

To claim this, I am signing this object:

@musale
musale / Makefile
Created July 26, 2017 14:53 — forked from isaacs/Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@musale
musale / letsencrpt.sh
Last active July 3, 2017 14:59 — forked from etowett/letsencrpt.sh
Commands to create letsencrypt certs and autorenew when they expire
# Clone letsenrypt to /opt
sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
# To Create Certs
sudo -H /opt/letsencrypt/letsencrypt-auto certonly --standalone -d site.com -d www.site.com
# To Renew
sudo -H /opt/letsencrypt/letsencrypt-auto certonly --standalone --renew-by-default -d site.com -d www.site.com
# To Autorenew
@musale
musale / color-emoji-on-linux.sh
Created June 27, 2017 14:26 — forked from himalay/color-emoji-on-linux.sh
Color emoji on Arch Linux.
# create folders if does not exist
mkdir -p ~/.fonts
mkdir -p ~/.config/fontconfig/
# download noto color emoji font from https://www.google.com/get/noto/#emoji-zsye-color
# extract NotoColorEmoji.ttf file into ~/.fonts/
# create font config file
cat << 'EOF' > ~/.config/fontconfig/fonts.conf
<?xml version="1.0" encoding="UTF-8"?>
@musale
musale / config
Created June 22, 2017 14:28 — forked from mvisonneau/config
Terminator Config File
[global_config]
suppress_multiple_term_dialog = True
title_transmit_bg_color = "#839496"
title_inactive_fg_color = "#93a1a1"
title_transmit_fg_color = "#eee8d5"
title_inactive_bg_color = "#586e75"
[keybindings]
[profiles]
[[default]]
palette = "#073642:#d30102:#859900:#b58900:#6c71c4:#d33682:#2aa198:#839496:#586e75:#cb4b16:#859900:#b58900:#268bd2:#d33682:#2aa198:#93a1a1"
# initialization file (not found)