• POSTS
  • ARCHIVES
  • Write Cucumber JVM Step Definitions

    2016-10-20

    - Views

    Original Link

    When I started working with Cucumber JVM it took a while to get the knack of how to write nice and efficient step definitions. Being a regular expression ninja certainly helps but you can get by with a few examples which will enable you to write a wide range of Cucumber steps. Below are some I found the most useful.

    More...
  • Show LOC per Author in Git

    2016-10-13

    - Views

    If you want to check how many lines of code you’ve pushed to a Git repository, you can do it by git log.

    Two ways to get the numbers, using gawk and awk repectively:

    More...
  • Servlet 3.0 Annotation

    2016-10-05

    - Views

    Servlet 3.0 has many new features like pluggability and the extension support, asynchronous execution of processing,and a new set of annotations.

    And with these annotations, we can write servlet completely without web.xml.

    More...
  • JSONPath - Stefan Goessner JSONPath Implementation

    2016-09-26

    - Views

    A frequently emphasized advantage of XML is the availability of plenty tools to analyze, transform and selectively extract data out of XML documents. XPath is one of these powerful tools.

    It’s time to wonder, if there is a need for something like XPath4JSON and what are the problems it can solve.

    More...
  • Build SS Server on a VPS

    2016-09-20

    - Views

    The SS proxy is proven to be faster and more stable than SSH. Here is an introduction on how to build SS server on a VPS.

    More...
  • SED - Substitute Multiple Lines

    2016-09-16

    - Views

    Ususally we use SED for stream processing which process text line by line (SED reads line by line, removes any trailing new lines, places a line in a pattern space buffer, process as per the given commands and prints the pattern space.) Sometimes we need to substitute multiple lines. SED can handle such case as well.

    More...
  • Unit Outing - Xinchang

    2016-09-11

    - Views

    In the last two days we had a great weekend at Xinchang. We visited the famous Grand Buddha Temple and the food in the hotel were great too. We all had a great time together and looking forward to the next outing!

    More...
  • Check Connections in Oracle

    2016-08-31

    - Views

    To monitor the connections used in Oracle, you can use below SQL to get the data.

    More...
  • Clone a database in MySQL

    2016-08-18

    - Views

    There are different ways to clone a database in MySQL.

    More...
  • Git Ignore Pattern

    2016-08-06

    - Views

    Here is an introduction to pattern format in .gitignore.

    More...

Categories

  • TED1
  • framework1
  • home1
  • life4
  • technologies49

Tag Cloud

Mac TED Windows annotation api centos cucumber curl database design docker git home java jdk jekyll json jvm life linux lunr mail markdown maven mysql network nosql oracle outing principles project recipe regex restful sed servlet shell sql ss ssh ssl string thread wiremock

Recent Posts

  • Wiremock - A fallback solution for existing API?
  • Build Docker Image with Maven
  • Shuangxi Outing
  • SSL Handshake Failure after Upgrading to JDK 8
  • Check DB Connection Count for Processes on Linux
PREVNEXT

© 2016 - 2019 Kevin, powered by Hexo
and hexo-theme-bubuzou

闽ICP备16007301号-2