I hereby claim:
- I am knalli on github.
- I am knalli (https://keybase.io/knalli) on keybase.
- I have a public key whose fingerprint is FB6E 9E11 33CF E897 C89D E96B 6164 C7B3 B2F2 2D50
To claim this, I am signing this object:
# if running bash | |
if [ -n "$BASH_VERSION" ]; then | |
# include .bashrc if it exists | |
if [ -f "$HOME/.bashrc" ]; then | |
. "$HOME/.bashrc" | |
fi | |
fi |
maybe = -> | |
console.log 'Maybe?' | |
require('./semver-is-a-promise')(require('./package.json')).then(maybe) |
import com.fasterxml.jackson.databind.ObjectMapper; | |
import com.fasterxml.jackson.datatype.joda.JodaModule; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.context.annotation.ImportResource; | |
import org.springframework.integration.support.json.Jackson2JsonObjectMapper; | |
import org.springframework.integration.support.json.JsonObjectMapper; | |
@Configuration | |
public class IntegrationConfig { |
@Configuration | |
public class Config { | |
@Bean | |
public JsonObjectMapper<?> jsonObjectMapper() { | |
final ObjectMapper mapper = new ObjectMapper(); | |
mapper.registerModule(new JodaModule()); | |
return new Jackson2JsonObjectMapper(mapper); | |
} |
@Service("api") | |
public class ApiImpl { | |
public Response handle(Request request) { | |
// Do some stuff and return a response object | |
} | |
} |
@Service | |
public interface MyGateway { | |
@Gateway | |
Response handle(@Payload Request request); | |
} |
{ | |
"name": "extract-html-from-raw-mail", | |
"version": "1.0.0", | |
"main": "parse.js", | |
"dependencies": { | |
"mailparser": "~0.4.1" | |
}, | |
"author": "knalli <[email protected]>", | |
"license": "MIT" | |
} |
# Sometimes some Java applications will not work because the internal references to the trusted libs are broken. | |
# Unless '/System/Library/Java/Support/CoreDeploy.bundle/Contents/Home/lib/security' does not exist, this should help | |
$ sudo mkdir -p /System/Library/Java/Support/CoreDeploy.bundle/Contents/Home/lib/security | |
$ cd /System/Library/Java/Support/CoreDeploy.bundle/Contents/Home/lib/security | |
$ sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/security/cacerts | |
$ sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/security/blacklist | |
$ sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/security/trusted.libraries |
I hereby claim:
To claim this, I am signing this object:
"use strict"; | |
var _get = function get(object, property, receiver) { var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if ("value" in desc && desc.writable) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } }; | |
var _inherits = function (subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) subClass.__proto__ = superClass; }; | |
var _createClass = (function () { function defineProperties(target, props) { for (var key in props) { var prop = pr |