Skip to content

Instantly share code, notes, and snippets.

View bwafi's full-sized avatar

Syahroni Bawafi bwafi

View GitHub Profile
@bwafi
bwafi / AdbCommands
Created September 11, 2024 15:13 — forked from Pulimet/AdbCommands
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.

Install Android SDK CLI Ubuntu 20.04 WSL2 (Work in Progress)

Install Java 8

sudo apt install openjdk-8-jdk-headless

Android SDK

@bwafi
bwafi / commit-message-id.md
Created August 11, 2024 14:27 — forked from nyancodeid/commit-message-id.md
Commit Message Guidelines

Pedoman Commit Message

Kami memiliki aturan yang sangat tepat tentang bagaimana pesan git commit kami dapat diformat. Ini mengarah ke pesan yang lebih mudah dibaca yang mudah diikuti ketika melihat melalui history proyek. Dan juga, kami menggunakan pesan git commit untuk menghasilkan log perubahan pada Angular.

Format Commit Message

Setiap pesan komit terdiri dari header, konten, dan catatan kaki. Judul memiliki format khusus yang mencakup jenis, cakupan, dan subjek:

<type>(<scope>): <subject>
<BLANK LINE>
@bwafi
bwafi / sortLetters.js
Last active August 8, 2024 12:49
Technical test - (SKK MIGAS) Satuan Kerja Khusus Pelaksana Kegiatan Usaha Hulu Minyak dan Gas Bumi
function sortLetters(words) {
let joinArray = words.join("");
let wordAppear = {};
for (let char of joinArray) {
wordAppear[char] = (wordAppear[char] || 0) + 1;
}
let appearArray = Object.entries(wordAppear);
[
{
"id": 1,
"title": "Laptop Backpack",
"price": 109.95,
"description": "A cool laptop backpack",
"image": "https://fakestoreapi.com/img/81fPKd-2AYL._AC_SL1500_.jpg",
"rating": 3.9
},
{
@bwafi
bwafi / anagram.js
Last active July 29, 2024 11:27
Pre Assessment Software Engineer - Back End Ultra Voucher
function bubbleSort(chars) {
let n = chars.length;
for (let i = 0; i < n - 1; i++) {
for (let j = 0; j < n - i - 1; j++) {
if (chars[j] > chars[j + 1]) {
let temp = chars[j];
chars[j] = chars[j + 1];
chars[j + 1] = temp;
}
}