⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
This file contains 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 demo1; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.sql.Statement; | |
public class DbConn { | |
// 创建静态全局变量 |
This file contains 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
<?php | |
class Emotion{ | |
public function transEmotion($words, $baseUrl = "/Public"){ | |
$patternQQ['1'] = '/\[微笑\]/'; | |
$patternQQ['2'] = '/\[撇嘴\]/'; | |
$patternQQ['3'] = '/\[色\]/'; | |
$patternQQ['4'] = '/\[发呆\]/'; | |
$patternQQ['5'] = '/\[得意\]/'; | |
$patternQQ['6'] = '/\[流泪\]/'; | |
$patternQQ['7'] = '/\[害羞\]/'; |
This file contains 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
42.62.50.238 www.ihelpoo-local.com | |
42.62.50.238 hbmy.ihelpoo-local.com | |
42.62.50.238 hutc.ihelpoo-local.com | |
42.62.50.238 zzuli.ihelpoo-local.com | |
42.62.50.238 hutc.ihelpoo-local.com | |
42.62.50.238 xcu.ihelpoo-local.com | |
42.62.50.238 ccnu.ihelpoo-local.com | |
42.62.50.238 bnu.ihelpoo-local.com | |
42.62.50.238 jccug.ihelpoo-local.com | |
42.62.50.238 hbuas.ihelpoo-local.com |
This file contains 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
### INSTALL phpredis on Ubuntu 12 with nginx / php5-fpm | |
# Install php5-dev and dev tools git and php5-cli | |
$ sudo apt-get install build-essential git php5-dev php5-cli | |
# clone phpredis (https://github.com/nicolasff/phpredis) | |
$ git clone git://github.com/nicolasff/phpredis.git | |
# phpize & make | |
$ cd phpredis |
This file contains 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
diff --git a/core/solo-core.iml b/core/solo-core.iml | |
index b066337..b358e37 100644 | |
--- a/core/solo-core.iml | |
+++ b/core/solo-core.iml | |
@@ -3,6 +3,7 @@ | |
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false"> | |
<output url="file://$MODULE_DIR$/target/classes" /> | |
<output-test url="file://$MODULE_DIR$/target/test-classes" /> | |
+ <exclude-output /> | |
<content url="file://$MODULE_DIR$"> |
This file contains 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
http://stackoverflow.com/questions/13528268/should-gwt-activities-places-be-singletons-or-prototypes |
This file contains 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
Scheduler.get().scheduleFinally(new ScheduledCommand() { | |
@Override | |
public void execute() { | |
_app.goTo(new LoginPlace(_app.getCurrentPlaceToken()); | |
} | |
} |
This file contains 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
<!DOCTYPE HTML> | |
<%@ page contentType="text/html;charset=UTF-8" language="java" %> | |
<%@ page import="org.apache.hupa.shared.SConsts" %> | |
<%@ page import="org.apache.hupa.shared.domain.User" %> | |
<html> | |
<body> | |
<% | |
User user = (User)session.getAttribute(SConsts.USER_SESS_ATTR); | |
if (user != null) { |
This file contains 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
Feb 4, 2013 3:31:10 PM org.b3log.solo.util.Statistics onlineVisitorCount | |
FINER: Current request [IP=127.0.0.1] | |
Feb 4, 2013 3:31:10 PM org.b3log.solo.util.Statistics onlineVisitorCount | |
FINER: Current online visitor count [2] | |
Feb 4, 2013 3:31:10 PM org.b3log.solo.filter.PageCacheFilter doFilter | |
FINER: Request URI[/authors/1359990] | |
Feb 4, 2013 3:31:10 PM org.b3log.solo.filter.PageCacheFilter doFilter | |
FINER: Page cache miss for request URI[/authors/1359990] | |
Feb 4, 2013 3:31:10 PM org.b3log.solo.filter.PermalinkFilter doFilter | |
FINER: Request URI[/authors/1359990] |
NewerOlder