example of several maven pom.xml profiles that congiure scala.js library and runtime projects
see http://stackoverflow.com/questions/26512750/how-to-use-scala-js-from-maven
example of several maven pom.xml profiles that congiure scala.js library and runtime projects
see http://stackoverflow.com/questions/26512750/how-to-use-scala-js-from-maven
% ack --no-filename --java --scala -o '".*?"' |stats |egrep -v '^\s*[1-4]\s+' | sort-by-length | |
4062 "" | |
5 "8" | |
6 "H" | |
6 "M" | |
6 "N" | |
6 "k" | |
6 "v" | |
7 "P" | |
7 "U" |
I'm definitely not looking for work. However to provide some helpful guidance for hiring like-minded engineers, I would only consider working for a company if it met these requirements:
#!/bin/bash | |
######################################################################################################################### | |
# MIT License | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, | |
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
miles@frege:~$ scala | |
Welcome to Scala version 2.11.0 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_55). | |
Type in expressions to have them evaluated. | |
Type :help for more information. | |
scala> import scala.language.dynamics | |
import scala.language.dynamics | |
scala> case class Assoc[K, V](value: V) | |
defined class Assoc |
# ~/.screenrc | |
# use visual bell | |
vbell on | |
# set a big scrolling buffer | |
defscrollback 1000 | |
# Set the caption on the bottom line | |
caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c" |
package io.sepa.hbci | |
/** | |
* Helps german, austrian and swiss to calculate IBANs from their old account data. | |
* On a side-note, you don't need a BIC inside your country, IBAN is enough. | |
*/ | |
object IBAN { | |
/** | |
* @param country 2-letter ISO country code | |
* @param kto Kontonummer / Accountnumber |
# download docx2txt by Sandeep Kumar | |
wget -O docx2txt.pl http://www.cs.indiana.edu/~kinzler/home/binp/docx2txt | |
# make a wrapper | |
echo '#!/bin/bash | |
docx2txt.pl $1 -' > docx2txt | |
chmod +x docx2txt | |
# make sure docx2txt.pl and docx2txt are your current PATH. Here's a guide | |
http://shapeshed.com/using_custom_shell_scripts_on_osx_or_linux/ |
## Nano color theme for Scala. | |
## 2013, 2018, Tobias Roeser | |
## | |
syntax "scala" "\.(scala|sbt|sc)$" | |
color green "\<(new|this|transient)\>" | |
color green "\<(catch|do|else|finally|for|if|match|return|switch|throw|try|val|var|while)\>" | |
color green "\<(def|abstract|class|extends|final|import|package|private|protected|public|trait|volatile)\>" | |
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)|\+|\-|\*|\/" | |
color red "@(\\.|[^(])*" | |
color yellow "\<(true|false|null)\>" |