Introduction to collection API
There are Some and None
val i = Some(1)
val j = None| #!/bin/bash | |
| function jira_issue() | |
| { | |
| curl -u $JIRA_USERNAME:$JIRA_PASSWORD $JIRA_BASEURL'/rest/api/2/issue/'$1 | |
| } | |
| function jira_search() | |
| { | |
| curl -G -u $JIRA_USERNAME:$JIRA_PASSWORD "$JIRA_BASEURL/rest/api/2/search" --data-urlencode "jql=$1" |
| # Copyright © 2014 Jan Ehrhardt | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: | |
| # | |
| # The above copyright notice and this permission notice shall be included in |
| ;;; derjan.el --- derjan's customizations of Emacs prelude | |
| ;; Copyright © 2013-2015 Jan Ehrhardt | |
| ;; | |
| ;; This program is free software: you can redistribute it and/or modify | |
| ;; it under the terms of the GNU General Public License as published by | |
| ;; the Free Software Foundation, either version 3 of the License, or | |
| ;; (at your option) any later version. | |
| ;; | |
| ;; This program is distributed in the hope that it will be useful, |
| # oh-my-zsh location | |
| ZSH=$HOME/.oh-my-zsh | |
| # Use lambda theme | |
| ZSH_THEME="robbyrussell" | |
| # Use plugins for typical tools | |
| plugins=(brew git) | |
| # Load oh-my-zsh |
| #!/bin/sh | |
| if [ -z "$SBT_VERSION" ] | |
| then | |
| SBT_VERSION=0.13.0 | |
| fi | |
| SBT_LAUNCH_JAR=$HOME/.sbt/sbt-launch-$SBT_VERSION.jar | |
| mkdir -p $HOME/.sbt |
| import javax.crypto.Cipher; | |
| import java.security.NoSuchAlgorithmException; | |
| public class KeyLengthDetector { | |
| public static void main(String[] args) { | |
| int allowedKeyLength = 0; | |
| try { | |
| allowedKeyLength = Cipher.getMaxAllowedKeyLength("AES"); | |
| } catch (NoSuchAlgorithmException e) { |
Following the vagrant documentation to create a new base box running Ubuntu 12.04 and Puppet requires to do a lot of single steps. Using this simple guide may help you to go through these steps much faster.
You will need to install a current version of