Check if node is installed
$ node --version
Check if node is installed
$ node --version
I have created a module for this.
$ clib install abranhe/os.c
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.sonatype.oss</groupId> | |
<artifactId>oss-parent</artifactId> | |
<version>7</version> | |
</parent> |
#include <string> | |
#include "account.h" | |
using namespace std; | |
Account::Account(void):balance(0) | |
{ | |
} | |
vector<string> Account::report() | |
{ |
// | |
// Reverse an array | |
// Carlos Abraham (abranhe.com) | |
// https://stackoverflow.com/questions/19712903/reverse-contents-in-array | |
// | |
#include <iostream> | |
#include <algorithm> | |
using namespace std; | |
int main() |
// | |
// Simple Sort | |
// Carlos Abraham He... | |
// github.com/abranhe | |
// https://repl.it/@abranhe/Simple-Sort | |
// | |
#include <iostream> | |
#include <vector> | |
#include <algorithm> |
// Author: Abraham (@abranhe) | |
// Run it: https://repl.it/@abranhe/AutoExample | |
// C++ 11 or later | |
#include <iostream> | |
#include <vector> | |
using namespace std; | |
int main() { | |
vector<int> v = {0,1 ,2 ,3 ,4}; |
// See question: https://hackerrank-challenge-pdfs.s3.amazonaws.com/14507-variable-sized-arrays-English?AWSAccessKeyId=AKIAJ4WZFDFQTZRGO3QA&Expires=1537933597&Signature=hih3xrYn04RUlnsFKRVP1%2BFTgWA%3D&response-content-disposition=inline%3B%20filename%3Dvariable-sized-arrays-English.pdf&response-content-type=application%2Fpdf | |
#include <cmath> | |
#include <cstdio> | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
using namespace std; | |
int main() { |
// Run it online | |
// https://repl.it/@abranhe/Pluralsight-1-4-vectors | |
// | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <algorithm> | |
using namespace std; | |
int main() { |