yum install lrzsz
# https://ohse.de/uwe/software/lrzsz.html
import java.lang.instrument.Instrumentation; | |
import java.net.URL; | |
import java.security.CodeSource; | |
import java.security.ProtectionDomain; | |
import java.util.Arrays; | |
import java.util.Comparator; | |
public class DumpClassURL { | |
public static void agentmain(String agentArgs, Instrumentation inst) { | |
Class<?>[] classes = inst.getAllLoadedClasses(); |
127.0.0.1:8888> sadd mylist 8 13 9 1 4 888 14 143 | |
(integer) 8 | |
127.0.0.1:8888> SCARD mylist | |
(integer) 8 | |
127.0.0.1:8888> SMEMBERS mylist | |
1) "1" | |
2) "4" | |
3) "8" | |
4) "9" | |
5) "13" |
[root@docker apache-tomcat-7.0.37]# git diff --cached | |
diff --git a/bin/catalina.sh b/bin/catalina.sh | |
old mode 100644 | |
new mode 100755 | |
diff --git a/bin/configtest.sh b/bin/configtest.sh | |
old mode 100644 | |
new mode 100755 | |
diff --git a/bin/daemon.sh b/bin/daemon.sh | |
old mode 100644 | |
new mode 100755 |
package com.github.winse.hadoop | |
import org.apache.hadoop.mapreduce.Job | |
import org.apache.hadoop.mapreduce.Reducer | |
import org.apache.hadoop.io.Text | |
import org.apache.hadoop.io.IntWritable | |
import org.apache.hadoop.io.LongWritable | |
import org.apache.hadoop.mapreduce.Mapper | |
import org.apache.hadoop.conf.Configuration | |
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat |
import java.io.IOException; | |
import java.util.StringTokenizer; | |
import org.apache.hadoop.conf.Configuration; | |
import org.apache.hadoop.fs.FileSystem; | |
import org.apache.hadoop.fs.Path; | |
import org.apache.hadoop.io.IntWritable; | |
import org.apache.hadoop.io.LongWritable; | |
import org.apache.hadoop.io.Text; |
import static org.junit.Assert.assertEquals; | |
import java.io.BufferedReader; | |
import java.io.BufferedWriter; | |
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.FileOutputStream; |
diff --git a/src/main/java/com/cxy/redisclient/integration/I18nFile.java b/src/main/java/com/cxy/redisclient/integration/I18nFile.java | |
index 1df1322..302e279 100644 | |
--- a/src/main/java/com/cxy/redisclient/integration/I18nFile.java | |
+++ b/src/main/java/com/cxy/redisclient/integration/I18nFile.java | |
@@ -49,6 +49,8 @@ public class I18nFile extends PropertyFile { | |
public static final String NAME = "NAME"; | |
public static final String TYPE = "TYPE"; | |
public static final String SIZE = "SIZE"; | |
+ public static final String COMMENT = "COMMENT"; | |
+ |
@echo off | |
rem npp-windows app... | |
rem http://stackoverflow.com/questions/636381/what-is-the-best-way-to-do-a-substring-in-a-batch-file | |
set fileRelativePath=%1 | |
set filepath="%~dp0..\..\%fileRelativePath:~17,-1%" | |
start E:\local\usr\share\npp\notepad++.exe %filepath% | |
rem pause |
$ [hadoop@umcc97-44 phoenix-4.0.0-incubating]$ bin/sqlline.py localhost | |
/* | |
hbase(main):020:0> describe 't1' | |
DESCRIPTION ENABLED | |
't1', {NAME => 'f1', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '0', VERSIONS => '1', COMPRESS true | |
ION => 'NONE', MIN_VERSIONS => '0', TTL => 'FOREVER', KEEP_DELETED_CELLS => 'false', BLOCKSIZE => '65536', IN_MEMORY => 'fals | |
e', BLOCKCACHE => 'true', METADATA => {'ENCODE_ON_DISK' => 'true'}} | |
1 row(s) in 0.0830 seconds |