Skip to content

Instantly share code, notes, and snippets.

View gezhiwei8899's full-sized avatar
🎯
Focusing

gezhiwei gezhiwei8899

🎯
Focusing
  • qichacha
  • suzhou China
View GitHub Profile
@gezhiwei8899
gezhiwei8899 / AES.java
Created May 17, 2018 09:42 — forked from ymnk/AES.java
JSch examples
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */
/**
* This program will demonstrate how to use "aes128-cbc".
*
*/
import com.jcraft.jsch.*;
import java.awt.*;
import javax.swing.*;
public class AES{
@gezhiwei8899
gezhiwei8899 / settings.xml
Created June 7, 2016 16:33
Maven settings for China users
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<!-- mirror | Specifies a repository mirror site to use instead of a given
repository. The repository that | this mirror serves has an ID that matches
the mirrorOf element of this mirror. IDs are used | for inheritance and direct
lookup purposes, and must be unique across the set of mirrors. | -->
<mirror>
<id>nexus-osc</id>
<mirrorOf>central</mirrorOf>
<name>Nexus osc</name>