Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
apply plugin: EnterpriseRepositoryPlugin | |
class EnterpriseRepositoryPlugin implements Plugin<Gradle> { | |
// https://repo1.maven.org/maven2/ | |
private static String CENTRAL_URL = "https://maven.aliyun.com/repository/central" | |
// http://jcenter.bintray.com/ | |
private static String JCENTER_URL = "https://maven.aliyun.com/repository/jcenter" | |
// https://maven.google.com/ | |
private static String GOOGLE_URL = "https://maven.aliyun.com/repository/google" | |
// https://plugins.gradle.org/m2/ |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
// Copy from http://www.adamretter.org.uk/blog/entries/LDAPTest.java | |
LDAPTest.javapackage ldaptest; | |
import java.util.Hashtable; | |
import javax.naming.Context; | |
import javax.naming.NamingEnumeration; | |
import javax.naming.NamingException; | |
import javax.naming.directory.DirContext; | |
import javax.naming.directory.SearchControls; |