Skip to content

Instantly share code, notes, and snippets.

View oridanus's full-sized avatar
🏄‍♂️
surfing

ori danus oridanus

🏄‍♂️
surfing
  • bob
  • Tel Aviv, Israel
View GitHub Profile
@owainlewis
owainlewis / ApplicationController.scala
Last active March 27, 2019 11:30
Play Framework Basic Auth Action (play, scala, basic auth)
class ControllerWithBasicAuth extends Controller {
private val WithBasicAuth = new BasicAuthAction("user", "pass")
def index = WithBasicAuth {
Ok("Correct basic auth credentials")
}
}
@natelandau
natelandau / .bash_profile
Last active March 20, 2024 22:19
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management