useful-scripts

🐌 useful scripts for making developer's everyday life easier and happier, involved java, shell etc.

APACHE-2.0 License

Stars
7.1K
Committers
14

Bot releases are hidden (Show)

useful-scripts - Release 1.3.0 🙉

Published by oldratlee over 6 years ago

New Features

  1. c:
    • add quiet option(-q) 🙉
    • add keep eol option(-k) 🐽
    • check unrecognized option 🌪
    • improve stability 💎
      • check pipe fail
      • use if instead &&/||, avoid exit logic bug when "if clause" fail
  2. find-in-jars:
    • add separator option(-s) 🌈
    • check unrecognized option 🌪

Code Cleanup

  1. improve usage function to simplify exit code 🌵

Have Fun! 💕
2018-3-5

useful-scripts - Release 1.2.0 🐯

Published by oldratlee almost 7 years ago

New Features

  1. show-busy-java-threads:
    • support unlimited use name width(use ps wide output) 🍻
  2. find-in-jars:
    • color grep match pattern #63 🌈
    • support absolute path option(-a)

Improvements

  1. coat: if not in console, use cat command directly 🐯
  2. improve docs and comments

Code Cleanup

  1. use &&/|| instead of if/else if code is more concise and readable.
  2. use fatal function to simplify exit logic
  3. improve option parse of find-in-jars, support --
  4. remove unnecessary arithmetic parenthesis
  5. fix typo

Have Fun! 💕
Happy new year!
2018-1-1

useful-scripts - Release 1.1.1 ✨

Published by oldratlee almost 7 years ago

Chang Log

  1. show-busy-java-threads
    • fix bug: long username(more 8 chars) will be trunk, cause jstack fail #62 ✨
      PR from @xiongchen2012 ❤️
  2. find-in-jars
    • support support ignore case option -i
  3. code cleanup
    • remove sh file name suffix for shell script
    • remove unnecessary arithmetic parenthesis

Have Fun! 💕
2017-11-2

useful-scripts - First Release 0.1.0 💥

Published by oldratlee almost 7 years ago

Change Log

New Scripts

  1. add show-busy-java-threads 💥
    see doc: https://github.com/oldratlee/useful-scripts/blob/master/docs/java.md#beer-show-busy-java-threads
  2. add find-in-jars 🎯
    see doc: https://github.com/oldratlee/useful-scripts/blob/master/docs/java.md#beer-find-in-jars

Have Fun! 💕
2013-3-13

useful-scripts - Release 0.6.0 🎯

Published by oldratlee almost 7 years ago

Change Log

New Scripts

  1. add tcp-connection-state-counter 🎯

Improvement

  1. several documentation improvement and code cleanup

Have Fun! 💕
2014-6-13

useful-scripts - Release 0.7.0 🌈

Published by oldratlee almost 7 years ago

Change Log

New Scripts

  1. show-duplicate-java-classes 🌈
  2. coat(formally colines), cat lines colorfully. 🏳️‍🌈
  3. self install script

Improvement

  1. show-busy-java-threads
    • improve regex, avoid problem when thread id has same prefix number
  2. parseOpts.sh
    • fix bash 3.0 compatibility problem #44
  3. xpl
    • fix file select bug under linux
  4. several documentation improvement

Have Fun! 💕
2015-6-28

useful-scripts - Release 0.8.0 💖

Published by oldratlee almost 7 years ago

Change Log

New Scripts

  • c: copy output to system clip, improve workflow of shell operations 💖
  • a2l: convert arguments to lines 🌈
  • ap/rp

Improvement

  1. several documentation improvement

Have Fun! 💕
2015-6-30

useful-scripts - Release 0.9.0 👻

Published by oldratlee almost 7 years ago

Change Log

  1. show-busy-java-threads
    • support jstack others java process via sudo 👻
    • improve output color order ❤️
  2. show-duplicate-java-classes
    • compatible with python 3
  3. console-text-color-themes.sh
    • add defensive logic for lib mode
  4. ap
    • fix error when file name contains blank chars
  5. documentation update
    • add docs for ap/rp
    • add web/android dev scene for show-duplicate-java-classes
    • several documentation improvement

Have fun! 💕
2017-3-20

useful-scripts - Release 1.1.0 🍬

Published by oldratlee almost 7 years ago

Chang Log

  1. show-busy-java-threads
    • support full options of jstack, like -m/-l 😱
  2. rewrite coat(formerly colines)
    • use cat instead of self implementation, so as to support all options of cat 💋
    • rewrite by bash, faster and less dependency(python) 🍬
  3. improve stability & readability, clean code:
    • use -t 1 check instead of -c /dev/stdout when check is tty/console
    • use escape sequence syntax to avoid separated echo, avoid break line when parallel output from multi-process
    • adjust color order of coat/a2l, more human friendly
  4. several documentation improvement

Have Fun! 💕
2017-10-23

useful-scripts - Release 1.0.0 😋

Published by oldratlee about 7 years ago

Change Log

  1. show-busy-java-threads
    • support delay/count arguments, so as to run multiply time automatically 🍬
    • support options -a to append info to log file, so as to review later 😋
    • support jstack options -F, force dump 😱
    • support options -s to specify jstack path, it's convenient when run by sudo
    • check os support, report os unsupported info and exit
    • fix wrong user bug, when run by sudo -u user_foo
  2. find-in-jars
    • support macOS (reimplement option parse)
    • support multiply find directories
    • support all pattern mode of grep, -E/-F/-P options ✨
    • support responsive process info output when run at console(tty) 🙆
    • performance optimization, use zipinfo/unzip command first
      zipinfo -1/unzip -Z1 is ~25 times faster than jar tf ⚡️ 😎
  3. tcp-connection-state-counter
    • support macOS #56 PR from @sunuslee ❤️
  4. Documentation update
    • add OS support info
    • hide doc for svn related scripts from index readme. (Yes, please use git instead! 💥 )
    • several documentation improvement

Have fun! 💕
2017-10-03

Package Rankings
Top 3.81% on Proxy.golang.org