This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example; | |
import javax.crypto.Cipher; | |
import javax.crypto.spec.IvParameterSpec; | |
import javax.crypto.spec.SecretKeySpec; | |
/** | |
* Encrypt/Decrypt text2text by using Triple-DES | |
* | |
* @author Tom Misawa ([email protected]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.example; | |
import java.io.File; | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import javax.xml.bind.DatatypeConverter; | |
public class ToDataURI { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var LowpassFilter = (function () { | |
function LowpassFilter(params) { | |
this.mSamplingRange = 0; | |
this.mSamplingBuffer = []; | |
this.mCurrentFilterVal = 0; | |
this.mCurrentDataNumber = 0; | |
this.setSamplingRange(20); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//namespace[begin]**************************** | |
var mypackage; | |
if (mypackage === undefined) { | |
mypackage = {}; | |
} | |
//namespace[end]**************************** | |
mypackage.MyClass = | |
(function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Thennable Method(prototype) | |
* @param myObject | |
* @returns {Promise} | |
*/ | |
MyClazz.prototype.method = function (myObject) { | |
var me = this; | |
return new Promise(function (resolve, reject) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apply "refs/heads/master" in the Source |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn clean deploy | |
=> | |
https://oss.sonatype.org/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Configure Fetch at the GIT perspective | |
Apply "refs/heads/master" in the Source | |
Apply "refs/remotes/origin/master" in the Destination(Maybe set automatically) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright 2006-2016 Tom Misawa([email protected]) | |
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 | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test; | |
import javax.jws.WebMethod; | |
import javax.jws.WebParam; | |
import javax.jws.WebParam.Mode; | |
import javax.jws.WebService; | |
/** | |
* Service Logic Class | |
* |
NewerOlder