This file contains hidden or 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
# | |
# Universal Archive Extract / Pack / Compress Tool for your Zsh and Bash Shells | |
# Include this into your ~/.zshrc or ~/.bashrc | |
# | |
# Extract an archive | |
# example: extract file | |
extract () { | |
if [ -f $1 ] ; then | |
case $1 in |
This file contains hidden or 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
brew update | |
brew cask install java |
This file contains hidden or 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 slick.driver.H2Driver.api._ | |
case class Holiday(id: Int, employeeId: Int, holDate: java.sql.Date, holDayType: String, holType: String) | |
class Holidays(tag: Tag) | |
extends Table[Holiday](tag, "HOLIDAYS") { | |
def id = column[Int]("HOL_ID", O.PrimaryKey) | |
def employeeId = column[Int]("EMP_ID") | |
def holDate = column[java.sql.Date]("HOL_DATE") | |
def holDayType = column[String]("HOL_DAY_TYPE") |
This file contains hidden or 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 slick.driver.H2Driver.api._ | |
case class Holiday(id: Int, employeeId: Int, holDate: java.sql.Date, holDayType: String, holType: String) | |
class Holidays(tag: Tag) | |
extends Table[Holiday](tag, "HOLIDAYS") { | |
def id = column[Int]("HOL_ID", O.PrimaryKey) | |
def employeeId = column[Int]("EMP_ID") | |
def holDate = column[java.sql.Date]("HOL_DATE") | |
def holDayType = column[String]("HOL_DAY_TYPE") |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |