1. PMD (https://pmd.github.io/)
CPD (copy paste detector)
If you use the Java 11 or more version, please use the PMD 6.11.0 or more
windows
> bin\cpdgui.bat
linux
$ ./run.sh cpd --minimum-tokens 100 -- files /usr/local/java/src/java
https://stackoverflow.com/questions/53260053/current-eclipse-plugin-for-duplicated-code
2. ConQAT
ConQAT end of life
You can download old versions from here.
Sunday, February 17, 2019
Thursday, February 14, 2019
About "Shell Script"
Writing Shell Scripts - The Beginner's Guide
#!: hashbang or shebang
#! /bin/bash: it is a convention, not a rule.
Why do you need to put #!/bin/bash at the beginning of a script file?
And
sysadmin execute command - How to use SSH to run a shell script on a remote machine?
#!: hashbang or shebang
#! /bin/bash: it is a convention, not a rule.
Why do you need to put #!/bin/bash at the beginning of a script file?
And
sysadmin execute command - How to use SSH to run a shell script on a remote machine?
Tuesday, December 25, 2018
RNTI: Radio Network Temporary Identifier
RNTI (Radio Neteork Temporary Identifier) in LTE
http://www.telecomsource.net/showthread.php?6056-RNTI-(-Radio-Network-Temporary-Identifier)-in-LTE
RNTIs in LTE
http://howltestuffworks.blogspot.com/2014/06/rntis-in-lte.html
http://www.telecomsource.net/showthread.php?6056-RNTI-(-Radio-Network-Temporary-Identifier)-in-LTE
RNTIs in LTE
http://howltestuffworks.blogspot.com/2014/06/rntis-in-lte.html
Thursday, December 13, 2018
CPU profiler
1. CPU profilter
1. 1 gprof, Valgrind and gperftools - an evaluation of some tools for application level CPU profiling on Linux
1.2 List of performance analysis tools
2. Valgrind
- memory leak profiling: $ valgrind ./sample
- cache profileing: $ valgrind --tool==cachegrind ./sample
- function profiling: $ valgrind --tool==callgrind ./sample
- kcachegrind (GUI tool)
3. gprof
- WIKI
- tutorial: https://www.thegeekstuff.com/2012/08/gprof-tutorial/
- What is gprof?
- How to install and use profiling tool Gprof on Linux
- GPROF Tutorial
To write the gmon.out file properly, your program must exit normally. _exit()
Call graph: gprof2dot
- gprof Quick-Start Guide
- use the makefile (edit CFLAGS / FFLAGS first) or call compiler at the shell
- required flags for profiling: -pg -g
- try with and without inlining: -finline / -fno-inline
4. gprof2dot
Saturday, September 1, 2018
Python: Tips 1
sprintf in Python
------------------------------
How to do a sprintf in Python
http://www.johnkerl.org/python/sprintf.html
[Tutor] sprintf-like functionality in Python
http://mail.python.org/pipermail/tutor/2003-August/024921.html
Python/파이썬] C언어의 sprintf 함수 구현 예제
http://mwultong.blogspot.com/2007/01/python-c-sprintf.html
gmtime conversion in Python
------------------------------
Python time gmtime() Method
http://www.tutorialspoint.com/python/time_gmtime.htm
import time
time.gmtime(xxxxxxxxx.xxx)
Python isNumber
------------------------------
http://mwultong.blogspot.com/2007/01/python-isnumber-isnum-isnumeric.html
def isNumber(s):
try:
float(s)
return True
except ValueError:
return False
------------------------------
How to do a sprintf in Python
http://www.johnkerl.org/python/sprintf.html
[Tutor] sprintf-like functionality in Python
http://mail.python.org/pipermail/tutor/2003-August/024921.html
Python/파이썬] C언어의 sprintf 함수 구현 예제
http://mwultong.blogspot.com/2007/01/python-c-sprintf.html
gmtime conversion in Python
------------------------------
Python time gmtime() Method
http://www.tutorialspoint.com/python/time_gmtime.htm
import time
time.gmtime(xxxxxxxxx.xxx)
Python isNumber
------------------------------
http://mwultong.blogspot.com/2007/01/python-isnumber-isnum-isnumeric.html
def isNumber(s):
try:
float(s)
return True
except ValueError:
return False
Subscribe to:
Posts (Atom)