###### ## ## ##### ## ## ##
.-" +' "-. ## ## ## ## ## ## ## ##
/.'.'A_'*`.\ ###### ## ## ## ####### ##
|:.*'/\-\. ':| ## ###### ## ## ## ##
|:.'.||"|.'*:| ## ## ##### ## ## ##
\:~^~^~^~^:/ #####
/`-....-'\ ####
jgs / \ ###### ## ## ##### ## ####
`-.,____,.-' ## ## ## ### ## ## ##### ##
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
Oath of the Order of the Saint Ramen Soup: | |
I, [insert name], do hereby enter into this pact with the Order of the Saint Ramen Soup: | |
1. I swear to never slurp my ramen in public louder than a contented walrus at play, maintaining a decorum befitting a true ramen aficionado. | |
2. I promise to defend the honor of ramen against all who dare defile its name with abominations like "instant noodles without flavor packets." | |
3. I shall, in times of distress, turn to the divine guidance of the Ramen Gods, praying for perfectly balanced umami and an abundance of toppings. |
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
open System.IO | |
type Opcode = int | |
type InstructionPointer = int | |
type Noun = int | |
type Verb = int | |
type Program = int [] | |
type Output = int | |
let input = |
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
- Knowledge is not the same as wisdom. | |
- You can live a whole lifetime without ever being awake. | |
- There's no higher service than service to others. | |
- People are afraid of what's inside, and that's the only place they're ever gonna find what they need. | |
- People are not their thoughts. They think they are, and it brings them all kinds of sadness. |
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
[{ | |
"id": 1, | |
"company_info":{ | |
"company": "Jayo", | |
"country": "United States", | |
"Company Base State": "New Mexico", | |
"Zip Code": "88006", | |
"Company Domain Name": "icq.com", | |
"Number of employees": 1200, | |
"Creation year": 1980, |
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
module Main where | |
import Control.Monad (forever) | |
import Data.Char (toLower) | |
import Data.List (intersperse) | |
import Data.Maybe (isJust, isNothing) | |
import System.Exit (exitSuccess) | |
import System.Random (randomRIO) | |
newtype WordList = |
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
module Phone where | |
import Data.Char | |
import Data.Foldable (maximumBy) | |
import Data.List (group, map, sort) | |
import Data.Map (fromListWith, toList) | |
import qualified Data.Map.Strict as Map | |
import Data.Ord (comparing) | |
-- validButtons = "1234567890*#" |
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
#!/usr/bin/env amm | |
import $ivy.`org.jsoup:jsoup:1.7.2` | |
import org.jsoup._ | |
val doc = Jsoup.connect("http://manning.com").get() | |
val text = doc.select("#dotd-link-non-mobile > em:nth-child(1)").text | |
println(text) | |
println("http://manning.com/dotd") |
- Install IntelliJ + Scala Plugin
- Don’t do the Coursera courses yet.
- Don’t do the “red book” Functional Programming in Scala yet.
- Do: http://underscore.io/books/
- Essential Scala
- Essential Play
- Essential Slick
- Do Scala for the Impatient: https://www.amazon.com/Scala-Impatient-Cay-S-Horstmann/dp/0321774094
- The Neophyte’s Guide to Scala http://danielwestheide.com/scala/neophytes.html
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
#!/usr/bin/env bash | |
set -e | |
PN=`basename "$0"` | |
host=localhost | |
port=8983 | |
collection= | |
inputfile= |
NewerOlder