以下のバージョンで追加されたJDBCドライバへの依存によってmavenの実行が失敗する。
<groupId>com.atlassian.amps</groupId>
<artifactId>atlassian-amps-parent</artifactId>
<version>5.0.16</version>
public class ReturnTypeOverload { | |
public static void main(String[] args) { | |
Long lv = getValue(); | |
System.out.println(lv); | |
String sv = getValue(); | |
System.out.println(sv); | |
} |
import java.io.*; | |
import com.sun.net.httpserver.*; | |
public class Us { | |
public static void main(String... args) throws Exception { | |
HttpServer serv = HttpServer.create(new java.net.InetSocketAddress(8080), 0); | |
serv.createContext("/", exc -> { | |
if ("POST".equals(exc.getRequestMethod())) { | |
BufferedReader br = new BufferedReader(new InputStreamReader(exc.getRequestBody())); | |
String s = br.readLine().trim(); | |
String k = Integer.toHexString(s.hashCode()); |
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION | |
Do Not Translate or Localize | |
This file provides information regarding components that are being relicensed to you by Microsoft under Microsoft痴 Visual Studio Code 撤review・software licensing terms. Microsoft reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise. | |
Microsoft is offering you a license to use the following components subject to the Microsoft Visual Studio Code 撤review・software license terms, except that components licensed under open source licenses requiring that such component remain under the original license are being made available to you by Microsoft under the original licensing terms. Please refer to the accompanying Credits_41.0.2272.76.html file for additional notices regarding the Chromium open source project. | |
1. Async-each version 0.1.6 (https://github.com/paulmillr/async-each) | |
2. atom-electron version 0.22.3 (https://github.com/atom/electron) | |
3. Cecil version 0.9.5.0 (https://github.com/jbevai |
@REM download from http://www.oracle.com/technetwork/apps-tech/jdbc-112010-090769.html | |
atlas-mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.2.0 -Dpackaging=jar -Dfile=ojdbc6.jar | |
@REM download from http://www.oracle.com/technetwork/java/javaee/jta/index.html and rename from .zip to .jar | |
atlas-mvn install:install-file -DgroupId=jta -DartifactId=jta -Dversion=1.0.1 -Dpackaging=jar -Dfile=jta-1_0_1B-classes.jar |
trap [Exception] { | |
Write-EventLog -EntryType Error -LogName Application -Source Application -EventId 4649 -Message $error[0].exception | |
break | |
} | |
Invoke-RestMethod -Uri "http://haka.yamashi.ro/api/v1/incenses" -Method POST -Body "token=xxxxxx" |
description "Tomcat Server" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
respawn limit 10 5 | |
# run as non privileged user | |
# add user with this command: | |
## adduser --system --ingroup www-data --home /opt/apache-tomcat apache-tomcat |
/* | |
* Copyright 2015 SATO taichi | |
* | |
* 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 |
#! /bin/bash | |
# Description: show dependency tree | |
# Author: damphat | |
if [ $# -lt 1 ]; then | |
echo 'Usage: apt-rdepends-tree [-r] <package>' | |
echo 'Required packages: apt-rdepends' | |
exit 1 | |
fi |
namespace :jruby do | |
VERSION = "1.7.18" | |
ZIPPATH = ".jruby/#{VERSION}.zip" | |
task :extract do | |
require 'zip' | |
Zip::File.open ZIPPATH do |zf| | |
zf.each do |e| | |
zf.extract e, ".jruby/#{e.to_s}" | |
end |