See how a minor change to your commit message style can make a difference.
ℹ️ git-conventional-commits A CLI util to ensure this conventions and generate changelogs
#!/bin/bash | |
clean_project_name() { | |
local input="$1" | |
input=$(echo "$input" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') | |
input=$(echo "$input" | tr -s '[:space:]' '-') | |
input=$(echo "$input" | sed 's/\-*$//') | |
echo "$input" | |
} |
<?php | |
/** | |
* This file contains functions to retrieve system information and display it in a single file server dashboard. | |
* The functions include generating a safe ID, parsing lines, getting CPU info, load average, basic server info, | |
* CPU usage, memory usage, disk usage, and disk space. | |
* | |
* @author Zxce3 | |
* @version 1.1 | |
*/ |
See how a minor change to your commit message style can make a difference.
ℹ️ git-conventional-commits A CLI util to ensure this conventions and generate changelogs
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
const printErrorShouldLoginBefore = () => { | |
console.log( | |
'%cError, script failed to parse your data', | |
'font-size: 18px; color: #f00; background: #000;' | |
); | |
throw new Error('NOT_LOGGED_IN'); | |
}; | |
const printGenericError = (err) => { | |
console.log( |
{ | |
"Facebook": "facebook.com/han.rivaldy.5", | |
"Linkedin": "linkedin.com/in/farhanrivaldy", | |
"Instagram": "instagram.com/farhanrivaldy_", | |
"Medium": "medium.com/@farhanrivaldy", | |
"Github": "github.com/HaradaKumiko", | |
"Twitter": "twitter.com/farhanrivaldy_", | |
"Quora" : "id.quora.com/profile/Farhan-Rivaldy", | |
"Email": "fariv.fariv12@gmail.com", | |
"Discord": "farhanrivaldy" |
const readline = require('readline'); | |
const rl = readline.createInterface({ | |
input: process.stdin, | |
output: process.stdout | |
}); | |
var array = ["Abrisam", "Alfatih", "Alif", "Albab", "Adzriel", "Akmal", "Alhanan", "Alhusayn", "Alfarizi", "Alfarezi", "Alfarizqi", "Altair", "Amrullah", "Amiruddin", "Aulian", "Arif", "Arfan", "Arshaq", "Arrahmah", "Arroyyan", "Asadel", "Asshauqi", "Aulian", "Avicenna", "Awwab", "Azam", "Azizi", "Azhar", "Azka", "Azril", "Baahir", "Baha", "Bahar", "Baharudin", "Baihaqi", "Badzil", "Bakrie", "Barra", "Bashir", "Baaqir", "Chairil", "Chumaidi", "Daffa", "Daniyal", "Dzakir", "Dzaky", "Dzuhairi", "Effendy", "Eshan", "Faeyza", "Fattah", "Farzan", "Fauzan", "Fawwaz", "Firman", "Ghayda", "Ghazzal", "Gibran", "Hafiz", "Hasan", "Hanafi", "Haidar", "Hakima", "Haikal", "Haytham", "Haziq", "Hizam", "Ibrahim", "Iftikhar", "Irsyad", "Izadin", "Jabir", "Jibran", "Kahfi", "Kamil", "Khairan", "Khalid", "Khalique", "Labib", "Lathiif", "Lazuardi", "Leron", "Liban", "Limazah", "Luay", "Luay", "Luqma |
import java.util.Scanner; | |
import java.util.Stack; | |
public class CharReverseJava { | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
System.out.println("Input Kata : "); | |
String kata = input.nextLine(); | |
Stack stack = new Stack(); |
public class BubbleSort { | |
//fungsi main untuk menjalankan kode | |
public static void main(String[] args) { | |
//ini array angka | |
int listAngka[] = {14,33,27,35,10}; | |
//bikin objek untuk menggunakan fungsi yang ada pada class, nama objek kali ini ob1 | |
BubbleSort ob1 = new BubbleSort(); | |
//panggil fungsi sorting dengan parameter array angka |