An Overview of JavaScript Testing in 2018

TL;DR; Use Jest for unit and integration tests and TestCafe for UI tests. please check this source: This guide is intended to catch you up with the most important reasoning, terms, tools, and approaches to JavaScript testing in 2018. It combines information from many great articles, that are linked at the bottom, and adds from our own experience in Welldone […]

Everyone can now run JavaScript on Cloudflare with Workers

What’s a Worker? Cloudflare Workers derive their name from Web Workers, and more specifically Service Workers, the W3C standard API for scripts that run in the background in a web browser and intercept HTTP requests. Cloudflare Workers are written against the same standard API, but run on Cloudflare’s servers, not in a browser. Here are the tools you […]

Oracle Data Pump (expdp, impdp) in Oracle Database 10g, 11g, 12c

Schema Exports/Imports The OWNER parameter of exp has been replaced by the SCHEMAS parameter which is used to specify the schemas to be exported. The following is an example of the schema export and import syntax. expdp scott/[email protected] schemas=SCOTT directory=TEST_DIR dumpfile=SCOTT.dmp logfile=expdpSCOTT.log impdp scott/[email protected] schemas=SCOTT directory=TEST_DIR dumpfile=SCOTT.dmp logfile=impdpSCOTT.log source:

My Tasks in Security checklist

Injections  (’ or ‘1’=’1) Broken Authentication and session managements XSS Insecure data object notations security misconfiguration Sensitive data exposures Missing Function Level Access Control CSRF Using components with known vulnerability unvalidate redirects and forwards HTTP header injection Clickjacking Directory listing user-agent Content spoofing Cross-domain AJAX request security headers Some S3 Buckets are world readable SPF/DMARC records subdomain takeover […]

Rule Your Microservices with an API Gateway: Part I

Traditionally web applications have been implemented so that one application includes all of the business logic. These monolithic applications are very easy to build and start with smaller codebases and they are relatively easy to test. Also, IDEs have good support for monolith applications and they are faster to develop in the beginning.Monolithic applications can be successful, but increasingly people […]

NVMe vs SSD vs HDD Performance

A lot has changed in the world of computer storage in the past decade. Traditional spinning hard disk drives (HDD) have been outperformed by insanely fast and now affordable Solid State Drives (SSD). And now we have insanely faster flash memory technology already available for the consumer market in the shape of Non-Volatile Memory Express (NVMe), which is manufactured in a number of different […]

Easy Install Softether VPN to Ubuntu VPS

What is SoftEther VPN SoftEther VPN (“SoftEther” means “Software Ethernet”) is one of the world’s most powerful and easy-to-use multi-protocol VPN software. It runs on Windows, Linux, Mac, FreeBSD and Solaris. SoftEther VPN is open source. You can use SoftEther for any personal or commercial use for free charge. SoftEther VPN is an optimum alternative to OpenVPN and Microsoft’s VPN servers. SoftEther VPN has […]

How to prevent SQL injection in PHP?

Use prepared statements and parameterized queries. These are SQL statements that are sent to and parsed by the database server separately from any parameters. This way it is impossible for an attacker to inject malicious SQL. You basically have two options to achieve this: Using PDO (for any supported database driver): <span class=”pln”>$stmt </span><span class=”pun”>=</span><span class=”pln”> $pdo</span><span class=”pun”>-&gt;</span><span class=”pln”>prepare</span><span class=”pun”>(</span><span class=”str”>’SELECT […]