Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

verification

How to check TypeScript code for syntax errors from a command line?

November 26, 2023 by Tarik

The tsc –noEmit is what you’re searching. Do not emit compiler output files like JavaScript source code, source-maps or declarations. source TSDocs If you want lint code as well as check types on CI use tsc –noEmit && eslint source Stackoverflow comment

Categories typescript Tags compilation, syntax, syntax-checking, typescript, verification Leave a comment

Mockito: Verifying with generic parameters

March 2, 2023 by Tarik

Try: verify(someService).process(ArgumentMatchers.<Collection<Person>>any()); Actually, IntelliJ automatically suggested this fix when I typed any()… Unfortunately you cannot use static import in this case.

Categories java Tags generics, java, mockito, parameters, verification Leave a comment

ssh remote host identification has changed

September 6, 2022 by Tarik

Here is the simplest solution ssh-keygen -R <host> For example, ssh-keygen -R 192.168.3.10 From ssh-keygen man page: -R hostname Removes all keys belonging to hostname from a known_hosts file. This option is useful to delete hashed hosts (see the -H option above).

Categories ssh Tags ipa, man-in-the-middle, ssh, verification Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa