Note: Tested on Fedora only
- Download the new release of GraalVM and unpack it anywhere in your filesystem:
$ tar -xvzf graalvm-ce-1.0.0-rc14-linux-amd64.tar.gz
Note: Tested on Fedora only
$ tar -xvzf graalvm-ce-1.0.0-rc14-linux-amd64.tar.gz
| package ...; | |
| import java.util.Collections; | |
| import java.util.HashSet; | |
| import java.util.Set; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import com.amazonaws.Request; |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| /* | |
| * Copyright (C) 2014 Antonio Leiva Gordillo. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| package com.example.yourapp; | |
| import java.io.IOException; | |
| import java.util.ArrayList; | |
| import java.util.Iterator; | |
| import java.util.List; | |
| import com.example.yourapp.AuthenticationModel; | |
| import retrofit.client.Header; | |
| import retrofit.client.OkClient; |
| import java.io.UnsupportedEncodingException; | |
| import java.util.Map; | |
| import org.simpleframework.xml.Serializer; | |
| import org.simpleframework.xml.core.Persister; | |
| import com.android.volley.AuthFailureError; | |
| import com.android.volley.NetworkResponse; | |
| import com.android.volley.ParseError; | |
| import com.android.volley.Request; |
| Mongo mongo = new Mongo(hosts); | |
| String mapFn = "function(){ var value = {"+ | |
| "title: this.title,"+ | |
| "author: this.author,"+ | |
| "ISBN: this.ISBN,"+ | |
| "description: this.description"+ | |
| "};"+ | |
| "emit({rating: this.rating, author: this.author.id}, value);"+ | |
| "}"; |
| package com.citytechinc.rewriter.linkchecker; | |
| import java.io.IOException; | |
| import org.apache.cocoon.xml.sax.AbstractSAXPipe; | |
| import org.apache.sling.rewriter.ProcessingComponentConfiguration; | |
| import org.apache.sling.rewriter.ProcessingContext; | |
| import org.apache.sling.rewriter.Transformer; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; |
| #!/bin/bash | |
| set -o errexit | |
| # Author: David Underhill | |
| # Script to permanently delete files/folders from your git repository. To use | |
| # it, cd to your repository's root and then run the script with a list of paths | |
| # you want to delete, e.g., git-delete-history path1 path2 | |
| # | |
| # retrieved from: http://dound.com/2009/04/git-forever-remove-files-or-folders-from-history/ | |
| # |
| Set up your file structure for the innerParsys component: | |
| innerParsys | |
| -> parsys | |
| -> new | |
| - _cq_editConfig.xml | |
| - .content.xml | |
| - _cq_editConfig.xml | |
| - .content.xml | |
| - parsys.jsp |