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
function addLoadEvent(func) { | |
var oldonload = window.onload; | |
if (typeof window.onload != 'function' ) { | |
window.onload = func; | |
else { | |
window.onload = function() { | |
oldonload(); | |
func(); | |
} | |
} |
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
#rdesktop -u [username] -p [password] [ip host server] -g [resolution] | |
rdesktop -u vunb -p 123456a@ 10.2.4.34 -g 1280x800 |
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
[vi@Manlab java-openjdk]$ mkdir ~/.sqldeveloper | |
[vi@Manlab java-openjdk]$ echo "/usr/lib/jvm/java-openjdk" > ~/.sqldeveloper/jdk | |
[vi@Manlab java-openjdk]$ sqldeveloper | |
Oracle SQL Developer | |
Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
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
To create a diagram for existing database schema or its subset: | |
File → Data Modeler → Import → Data Dictionary → select DB connection (add if none) → Next → last few steps intuitive. | |
(SQL Developer version 3.2.09.23.) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> | |
<import resource="classpath*:applicationContext-service.xml"/> | |
<import resource="classpath*:applicationContext-dao.xml"/> | |
<import resource="classpath*:applicationContext.xml"/> | |
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> | |
<property name="ignoreUnresolvablePlaceholders" value="true"/> |
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
pocketsphinx_continuous.exe -hmm hub4wsj_sc_8k -jsgf hello.gram -dict hub4.5000.dic | |
pocketsphinx_continuous.exe -hmm an4.cd_cont_1000 -lm an4.ug.lm.DMP -dict an4.dic |
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
1. Sao chép cấu hình interface theo thứ tự, ifcfg-eth0:0 | |
[root@Manlab network-scripts]# cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0 | |
2. cấu hình các tham số cấu hình file ifcfg-eth0:0 phù hợp với mong muốn | |
- NAME | |
- DEVICE | |
- IPADDR | |
- GATEWAY | |
- DNS1/DNS2 |
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
Windows phone | |
http://www.windowsphone.com/en-us/store/app/anynote/cb7112e1-5bc1-400c-85f2-95adaf35a677 | |
Android | |
https://play.google.com/store/apps/details?id=com.luminant.audionote&hl=en | |
https://play.google.com/store/apps/details?id=com.khymaera.android.listnotefree | |
https://play.google.com/store/apps/details?id=com.flufflydelusions.app.enotesclassic&hl=en |
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
[vi@Manlab snmp-poller]$ mvn install:install-file -Dfile=lib/snmp4j-2.1.0.jar -DgroupId=org.snmp4j -DartifactId=snmp4j -Dversion=2.1.0 -Dpackaging=jar | |
Ref: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html |
OlderNewer