#####search a file in jar files by name
static void checking(String fileName, String jarPath) {
File jarsFolder = new File(jarPath);
File jar = null;
JarEntry jarEntry = null;
String jarEntryName = "";
try {
if (jarsFolder != null && jarsFolder.isDirectory()) {
###TOP 20
- check list
- OverAPI, collecting all cheat sheets
- popular frameworks: JQury(guide);
- release notice
- checklist for scope & dependencies;
###PM
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
from:https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/com/liferay/portal/events/ServicePreAction.java | |
~~~ | |
protected void servicePre( | |
HttpServletRequest request, HttpServletResponse response) | |
throws Exception { | |
ThemeDisplay themeDisplay = initThemeDisplay(request, response); |
###commands
- installing-netstat-on-centos-7-minimal-installation/
- grep -E 'foo|bar' *.txt
- sudo date -s "2016-09-06 07:57:30 GMT"
Internet Scale Services Checklist: A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."
System Design Cheatsheet :Picking the right architecture = Picking the right battles + Managing trade-offs
- download the certificate by browser;
- import it by keytool
keytool -import -alias aliasName -keystore cacerts -file fileName -storepass changeit -trustcacerts -noprompt Certificate was added to keystore
- get certificate by java source code: https://github.com/escline/InstallCert/blob/master/InstallCert.java http://www.xinotes.net/notes/note/1088/
OlderNewer