Entries by Aliza

PM2 – Quick Start

Welcome to the PM2 Quick Start! PM2 is a daemon process manager that will help you manage and keep your application online. Getting started with PM2 is straightforward, it is offered as a simple and intuitive CLI, installable via NPM. Installation The latest PM2 version is installable with NPM or Yarn: To install Node.js and […]

PM2 – Managing applications states

PM2 is a process manager. It manages your applications states, so you can start, stop, restart and delete processes. Start a process: Now let’s say you need to stop the web-interface: As you can see the process hasn’t disappeared. It’s still there but in stopped status. To restart it just do: NB: starting PM2 2.1.x, restarts are immutable, meaning that […]

ESET INTERNET SECURITY KEYS

Download Free fresh ESET NOD32 ACTIVATION KEYS. Suitable for ESET NOD32 Antivirus, ESET NOD32 Internet Security, ESET NOD32 Smart Security and ESET Mobile Security. Activation keys H5RW-XHCG-T2JU-SCAH-2T7K 76AK-XDGS-3XT6-K2ND-37P5 75F8-XJDC-B97N-D5V5-6RN7 Tags: #ESET #MOBILE #INTERNET #SECURITY #KEYS

ESET MOBILE SECURITY KEYS

Download Free fresh ESET NOD32 ACTIVATION KEYS. Suitable for ESET NOD32 Antivirus, ESET NOD32 Internet Security, ESET NOD32 Smart Security and ESET Mobile Security. Activation keys 72RP-XH2N-RET7-EA2E-WAXW X27V-X6MU-F4V9-CW3F-VTHX 6D3U-X7F2-RUX7-CK9H-6DTT Tags: #ESET #MOBILE #SECURITY #KEYS

ESET ANTIVIRUS 4-8 KEYS

Download Free fresh ESET NOD32 ACTIVATION KEYS. Suitable for ESET NOD32 Antivirus, ESET NOD32 Internet Security, ESET NOD32 Smart Security and ESET Mobile Security. Activation keys 75F8-XJDC-B97N-D5V5-6RN7 PR3D-XKFU-C63E-NGBU-FTAR K9SA-XRDD-UGPR-2HHK-BBMG Tags: #ESET #NOD32 #KEYS #ESET ANTIVIRUS 4-8

ESET NOD32 ACTIVATION KEYS

Download Free fresh ESET NOD32 ACTIVATION KEYS. Suitable for ESET NOD32 Antivirus, ESET NOD32 Internet Security, ESET NOD32 Smart Security and ESET Mobile Security. Activation keys 75F8-XJDC-B97N-D5V5-6RN7 PR3D-XKFU-C63E-NGBU-FTAR K9SA-XRDD-UGPR-2HHK-BBMG Tags: #ESET #NOD32 #KEYS

npm cheatsheet

Package management npm i Alias for npm install npm install Install everything in package.json npm install lodash Install a package npm install –save-dev lodash Install as devDependency npm install –save-exact lodash Install with exact –save is the default as of npm@5. Previously, using npm install without –save doesn’t update package.json. Install names npm i sax NPM package npm i sax@latest Specify […]

fetch() cheatsheet

Fetch Response Request options Catching errors Non-2xx responses are still successful requests. Use another function to turn them to errors. Using with node.js See: isomorphic-fetch (npmjs.com) References https://fetch.spec.whatwg.org/ https://www.npmjs.com/package/whatwg-fetch

JavaScript Date cheatsheet

Constructor Constructor new Date( 2014, 2, 1, 13, 0, 59, 0) Date Year Month Day Hour Min Sec Milli Months are zero-indexed (eg, January is 0). Conversion d.toString() “Mon Dec 29 2014 00:58:28 GMT+0800 (PHT)” d.toTimeString() “00:58:46 GMT+0800 (PHT)” d.toUTCString() “Sun, 28 Dec 2014 16:58:59 GMT” d.toDateString() “Thu Jan 10 2013” d.toISOString() “2013-01-09T16:00:00.000Z” d.toLocaleString() “12/29/2014, 12:57:31 […]

ES2015+ cheatsheet

A quick overview of new JavaScript features in ES2015, ES2016, ES2017, ES2018 and beyond. Block scoping Let Const let is the new var. Constants work just like let, but can’t be reassigned. See: Let and const Backtick strings Interpolation Multiline strings Templates and multiline strings. See: Template strings Binary and octal literals See: Binary and octal literals New methods New string […]

Vim scripting cheatsheet

Start hacking You can either put this in a script (script.vim) and run it (:source script.vim), or you can type the commands individually in normal mode as :let and :echo. Learn by example Here’s another example with functions, variables and mapping. Variables Defining Variable prefixes The s: prefix is also available in function names. See :help local-variables Other prefixes Vim options Prefix Vim options with & […]

Capybara cheatsheet

Navigating Clicking links and buttons Interacting with forms Limiting Querying Predicates Positive Negative has_content? has_no_content? has_css? (selector) has_no_css? has_xpath? (path) has_no_xpath? has_link? (selector) has_no_link? has_button? (selector) has_no_button? has_field? (selector) has_no_field? has_checked_field? (selector) has_unchecked_field? has_table? (selector) has_no_table? has_select? (selector) has_no_select? In Rspec, these also map to matchers like page.should have_content. Selectors The selector arguments can be text, CSS selector, or XPath expression. RSpec assertions In RSpec, you […]

Vimdiff cheatsheet

Vim is a very efficient text editor. This reference was made for Vim 8.0. Navigating ]c Next difference [c Previous difference Editing do Diff Obtain!Pull the changes to the current file. dp Diff Put!Push the changes to the other file. :diffupdate Re-scan the files for differences. ZQ Quit without checking changes Folds zo / zO Open zc / zC Close […]

Kotlin cheatsheet

Kotlin is a statically typed programming language for modern multiplatform applications. Mutability Strings Numbers Booleans Static Fields Null Safety Nullable properties Checking for null Safe Operator Elvis Operator Safe Casts Collections Creation Accessing Maps Mutability Iterating Filtering & Searching Note: it is the implicit name for a single parameter. #Functions Parameters & Return Types Higher Order Functions Extension Functions […]

MySQL cheatsheet

Create / Delete Database Backup Database to SQL File Restore from backup SQL File Repair Tables After Unclean Shutdown Browsing Select Select – Join Conditions Insert Delete Update Create / Delete / Modify Table Create Drop Alter Change field order Keys Users and Privileges Host ‘%’ indicates any host. Main Data Types ⚠ INT(2) = […]

Find cheatsheet

Usage Conditions Access time conditions These conditions only work in MacOS and BSD-like systems (no GNU/Linux support). Condition flow Actions Examples

regexp cheatsheet

Character classes . Any character, except newline \w Word \d Digit \s Whitespace \W Not word \D Not digit \S Not whitespace [abc] Any of a, b, or c [a-e] Characters between a and e [1-9] Digit between 1 and 9 [^abc] Any character except a, b or c Anchors ^abc Start with abc abc$ End with abc Escaped characters \. \* \\ Escape special character used […]

How to Build a C++ Binary search tree?

A binary tree is a hierarchical data structure whose behavior is similar to a tree, as it contains root and leaves (a node that has no child). The root of a binary tree is the topmost node. Each node can have at most two children, which are referred to as the left child and the right child. A node that has at least one […]

Learn Python – Free Interactive Python Tutorial

Welcome free interactive Python tutorial for people who want to learn Python, fast. Welcome to the thesoft interactive Python tutorial. Whether you are an experienced programmer or not, this website is intended for everyone who wishes to learn the Python programming language. You are welcome to join our group on Facebook for questions, discussions and updates. Just […]