Quick One Liners in JavaScript, TypeScript, Python, Rust, Java, Ruby, C, C++

Overview

ONE LINERS

This repository contains cool and simple one line utility functions to easily use common repetitive methods in JavaScript, TypeScript, Python, Rust, Java, Ruby, C, C++ and more ...

TYPESCRIPT

  • wait: Waits for a specific amount of time in milliseconds.
  • isWeekDay: Checks if a date is a weekDay.
  • reverse: Reverses a string.
  • isEven: Check if a number is even.
  • capitalize: Capitalizing a string.
  • isArrayEmpty: Checks if an array is empty.
  • isObjectEmpty: Checks if an object/array is empty.
  • randomInteger: Generate random int from two parameters.
  • toggleBoolean: Toogles a boolean value.

JAVASCRIPT

  • wait: Waits for a specific amount of time in milliseconds.
  • isWeekDay: Checks if a date is a weekDay.
  • reverse: Reverses a string.
  • isEven: Check if a number is even.
  • capitalize: Capitalizing a string.
  • isArrayEmpty: Checks if an array is empty.
  • isObjectEmpty: Checks if an object/array is empty.
  • randomInteger: Generate random int from two parameters.
  • toggleBoolean: Toogles a boolean value.
You might also like...

Typescript package compatible with python's pickle loads/dumps

picklefriend Typescript package compatible with python's pickle loads/dumps Installation npm i picklefriend Usage import { pickle } from 'picklefriend

Oct 27, 2022

Very simple full-stack application using React, Java Spring Boot, and PostgreSQL

Very simple full-stack application using React, Java Spring Boot, and PostgreSQL. The API was built following the N-Tier architecture. The goal was to explore and learn more in-depth the development of APIs, the use of Docker and deploying with AWS.

Apr 23, 2022

Blockchain, Smart Contract, Ganache, Remix, Web3, Solidity, Java Script, MQTT, ESP32, RFID, DHT11,

Blockchain, Smart Contract, Ganache, Remix, Web3, Solidity, Java Script, MQTT, ESP32, RFID, DHT11,

May 24, 2022

Projeto desenvolvido em Angular e Material, para conclusão do curso de extensão em Java

EmpresaFront This project was generated with Angular CLI version 13.0.4. Development server Run ng serve for a dev server. Navigate to http://localhos

Mar 18, 2022

Nodejs,Expreess,Mongodb,Reactjs,Redux,Java app,Google,Docker,Heroku,...

Nodejs,Expreess,Mongodb,Reactjs,Redux,Java app,Google,Docker,Heroku,...

Tiến độ công việc Team: https://docs.google.com/spreadsheets/d/1BBv4CXNniNjqdIE7tjrG9UM4nprd3NSVy2FX9oaWq0Q/edit#gid=0 Web Online: https://movienetfli

Sep 17, 2022

This gem aims to let you quickly send SMS from JavaScript and Python using the Orange SMS API.

Orange SMS API 📬 Orange SMS is a client library that allow you to send SMS with Javascript and Python using the Orange SMS API Disclaimer ⛔ This gem

Aug 4, 2022

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more

Apache MXNet (incubating) for Deep Learning Apache MXNet is a deep learning framework designed for both efficiency and flexibility. It allows you to m

Jan 5, 2023

Projeto de Botnet com Python, Websockets, Async e Javascript

Projeto de Botnet com Python, Websockets, Async e Javascript

A3 - Botnets Este é um repositório onde documentarei todo o processo de pesquisa e desenvolvimento de uma botnet do zero com python, websockets e asyn

Sep 23, 2022
Owner
Divin Irakiza
Building some cool stuff.
Divin Irakiza
A concise collection of classes for PHP, Python, JavaScript and Ruby to calculate great circle distance, bearing, and destination from geographic coordinates

GreatCircle A set of three functions, useful in geographical calculations of different sorts. Available for PHP, Python, Javascript and Ruby. Live dem

null 72 Sep 30, 2022
An obsidian plugin that allows code blocks executed interactively in sandbox like jupyter notebooks. Supported language rust、kotlin、python、Javascript、TypeScript etc.

Obsidian Code Emitter This plugin allows code blocks executed interactively like jupyter notebooks. Currently, support languages: Rust Kotlin JavaScri

YiiSh 38 Dec 28, 2022
This is a project that is used to execute python codes in the web page. You can install and use it in django projects, You can do any operations that can be performed in python shell with this package.

Django execute code This is a project that is used to execute python codes in the web page. You can install and use it in django projects, You can do

Shinu 5 Nov 12, 2022
Ruby's rstfilter extension

vscode-rstfilter README You can see the execution results by saving the file. Requirements rstfilter-lsp command in rstfilter gem is needed. $ gem ins

Koichi Sasada 17 Dec 27, 2022
Lightweight VSCode extension for Ruby.

vscode-ruby-light Lightweight VSCode extension for Ruby. Install Install via Visual Studio Marketplace: Ruby Light - Visual Studio Marketplace For Dia

Ryo Nakamura 23 Jan 2, 2023
A tiny JVM (Java Virtual Machine) program written in TypeScript.

jvm-on-typescript A tiny JVM (Java Virtual Machine) program written in TypeScript. This virtual machine specification compliants Java Virtual Machine

Itsu 27 Nov 24, 2022
Download all Moodle files with one click. This is a Chrome extension built to save time and effort from downloading files manually one by one!

Moodle Downloader Extension Moodle downloader extension for Chrome. The extension is tested with both the TUM moodle and the official moodle demo. Not

Zhongpin Wang 8 Nov 15, 2022
Quick and easy spring animation. Works with other animation libraries (gsap, animejs, framer motion, motion one, @okikio/animate, etc...) or the Web Animation API (WAAPI).

spring-easing NPM | Github | Docs | Licence Quick and easy spring animations. Works with other animation libraries (gsap, animejs, @okikio/animate, mo

Okiki Ojo 34 Dec 14, 2022
Gutenberg + Rust + TypeScript

Gutenberg + Rust + TypeScript This is a minimum block plugin template to rapidly get started building WP blocks using Rust + TypeScript. Follow me on

Kevin Batdorf 29 Dec 23, 2022
Rust's Option and Result, implemented for TypeScript.

oxide.ts Rust's Option<T> and Result<T, E>, implemented for TypeScript. Features Zero dependencies, full test coverage and examples for every function

null 331 Jan 3, 2023