Skip to content

Instantly share code, notes, and snippets.

@otw1248
otw1248 / books.md
Last active April 22, 2016 08:51
Readings in Database Systems, 5th Edition
@otw1248
otw1248 / java.md
Last active April 22, 2016 08:41
java;source code;

#####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()) {

back up to clouds / disks; try to put everything into clouds.

clouds: google/microsoft; weiyun/baidu;

  1. contact/email/photo/video -->google
  2. msg / call history

Dev Ops

Dev
@otw1248
otw1248 / FAQ on DEV,OPS,QA list and references.md
Last active June 14, 2019 22:42
docker;xsl, exslt; git, CM;gitlab;intellij,IDE;markdown;SSH;java, JVM; soap; xsl, exslt;migration,ant,maven;
@otw1248
otw1248 / ServicePreAction.java
Last active December 12, 2016 02:13
liferay
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);
@otw1248
otw1248 / linux.md
Last active September 6, 2016 07:59
linux,commands
@otw1248
otw1248 / starred items.md
Last active September 24, 2016 14:46
star,good,recommendations

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

@otw1248
otw1248 / port.md
Last active August 25, 2016 06:55
port

###PROXY/tunnel: 251XX ->QA; 252XX-->STG; 253XX-->PRD

PORT

51XXX docker port

  • 510XX database instances;
  • 514XX UT