Skip to content
View christian-barnabe-chabi's full-sized avatar
🦾
Enjoying the creative process of building a world using code...
🦾
Enjoying the creative process of building a world using code...

Organizations

@Zenith-I-O
Block or Report

Block or report christian-barnabe-chabi

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Hi there 👋, this is Chris.

  • 🔭 I’m currently working on a MySQL - Fastify - Vue,js - Node.js, Laravel project
  • 🌱 I’m currently using Data Structures and Design Patterns
  • 🌱 I’m currently learning iOS development
  • 👯 I’m looking to collaborate on an Open source project
  • 🤔 I’m looking for help with Algo
  • 💬 Ask me about Javascript/TypeScript, PHP
  • 📫 How to reach me: christian.barnabe@yahoo.com
// Before
const toBin = (n) => {
    const b = [];
    while(n/2 > 0){
        b.unshift(n%2);
        n = parseInt(n/2); 
    }
    return b.join('');
}
console.log(toBin(2022)); // outputs '11111100110'

// NOW
const toBin2 = n => n.toString(2);
console.log(toBin2(2022)); // outputs '11111100110'

Popular repositories

  1. php_adminer php_adminer Public

    PHP Pagener is a kind of framework that helps you deploy admin panel in no time. It is not based on any type of API or on the language in which the API is written. You just need to specify which en…

    CSS 1

  2. laravel-mmcr laravel-mmcr Public

    Generate migrations, models, controllers and routes for your laravel app based on you database already made schema. It includes key constraints

    PHP

  3. ng-generator ng-generator Public

    Generate angular components based on a JSON structured data

    PHP

  4. how-fast-can-you-read how-fast-can-you-read Public

    Simple project to help you read more faster by trigger your mind ability to connect words and process them quickly | coded for fun

    JavaScript

  5. appointment_rsvp appointment_rsvp Public

    PHP

  6. md_custom_shipping_logic md_custom_shipping_logic Public

    This plugin adds some custom shipping taxes at checkout in woocommerce

    PHP