Proposed levels of skill for the scala programming language, can be used as a base for a curriculum
Related links:
- the scala style guide.
- a scala basic exam
- examples of scala abuses
- sample training curriculum Artima
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
Proposed levels of skill for the scala programming language, can be used as a base for a curriculum
Related links:
| ############################################################################ | |
| # _ | |
| # | |_ _ __ ___ _ ___ __ | |
| # | __| '_ ` _ \| | | \ \/ / | |
| # | |_| | | | | | |_| |> < | |
| # \__|_| |_| |_|\__,_/_/\_\ | |
| # | |
| # Cheatsheets: | |
| # https://devhints.io/tmux | |
| # `property not found` issue: |
| # path | |
| PATH=$PATH:$HOME/bin:/sbin:/usr/sbin:~/.nave | |
| # alias | |
| alias la="ls -a" | |
| alias lf="ls -F" | |
| alias ll="ls -l" | |
| alias du="du -h" | |
| alias df="df -h" | |
| alias su="su -l" |
| #!/bin/bash | |
| PROJECT_NAME="$1" | |
| SCALA_VERSION="2.9.1" | |
| SCALATEST_VERSION="1.6.1" | |
| MOCKITO_VERSION="1.8.5" | |
| mkdir $PROJECT_NAME | |
| cd $PROJECT_NAME | |
| Load up Terminal (Applications > Utilities > Terminal.app) and type the following. | |
| sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist | |
| To turn it back on, just do the opposite: | |
| sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist |
| package com.vast.example | |
| import java.net.InetSocketAddress | |
| import java.util.UUID | |
| import java.util.concurrent.{Executors, TimeUnit} | |
| import com.google.common.base.Splitter | |
| import com.twitter.finagle.http.Http | |
| import com.twitter.finagle.builder.{Server, ServerBuilder} | |
| import com.twitter.finagle.service.TimeoutFilter | |
| import com.twitter.finagle.{Service, SimpleFilter, GlobalRequestTimeoutException} |
| #!/bin/sh | |
| # add a simple 'nuget' command to Mac OS X under Mono | |
| # get NuGet.exe binary from http://nuget.codeplex.com/releases/view/58939 | |
| # get Microsoft.Build.dll from a Windows .NET 4.0 installation | |
| # copy to /usr/local/bin and Robert is your father's brother.... | |
| # | |
| PATH=/usr/local/bin:$PATH | |
| mono --runtime=v4.0 /usr/local/bin/NuGet.exe $* |
| http { | |
| proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=one:8m max_size=3000m inactive=600m; | |
| proxy_temp_path /var/tmp; | |
| include mime.types; | |
| default_type application/octet-stream; | |
| sendfile on; | |
| keepalive_timeout 65; | |
| gzip on; | |
| gzip_comp_level 6; |
| #!/bin/bash | |
| # bash generate random alphanumeric string | |
| # | |
| # bash generate random 32 character alphanumeric string (upper and lowercase) and | |
| NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
| # bash generate random 32 character alphanumeric string (lowercase only) | |
| cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1 |