Skip to content

Instantly share code, notes, and snippets.

View misterioss's full-sized avatar

Serhii misterioss

  • Keenethics
  • Ukraine, Lviv
View GitHub Profile
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import Item from './Item';
import update from 'immutability-helper';
const getRandomNumber = () => {
return parseInt( Math.random() * 100 ) + 1
};
mjob list -s running | wc -l
# get current date
from datetime import datetime
datetime.now().strftime("%Y-%m-%d %H:%M:%S")
// get current timestamp in milliseconds
System.currentTimeMillis()