Skip to content

Instantly share code, notes, and snippets.

View harisfi's full-sized avatar
🎯
Focusing

Haris F. harisfi

🎯
Focusing
View GitHub Profile
@harisfi
harisfi / 8puzzle.txt
Created September 14, 2023 01:21
8puzzle.txt
h1 = 5
d1 = |2-0|+|2-0| = 4
d2 = |0-0|+|1-1| = 0
d3 = |2-0|+|1-2| = 3
d4 = |0-1|+|2-0| = 3
d5 = |1-1|+|1-1| = 0
d6 = |1-1|+|2-2| = 0
d7 = |0-2|+|0-0| = 2
d8 = |2-2|+|0-1| = 1
@harisfi
harisfi / 1.kt
Created October 4, 2023 06:31
T6
package com.hryzx.interactionhandlingexample
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.interaction.collectIsPressedAsState
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
buying maint lug_boot safety class
vhigh vhigh small low unacc
vhigh vhigh small med unacc
vhigh vhigh small high unacc
vhigh vhigh med low unacc
vhigh vhigh med med unacc
vhigh vhigh med high unacc
vhigh vhigh big low unacc
vhigh vhigh big med unacc
vhigh vhigh big high unacc
noted_date temp out/in
30-11-2018 23:58 37 Out
30-11-2018 23:56 36 Out
30-11-2018 23:33 37 Out
30-11-2018 23:31 37 Out
30-11-2018 23:19 37 Out
30-11-2018 23:11 37 Out
30-11-2018 23:09 37 Out
30-11-2018 22:35 37 Out
30-11-2018 22:33 37 Out
public class ProductCatalog {
private List<Product> products;
private ProductRepository productRepository;
private ProductSearchService productSearchService;
private ProductUIService productUIService;
private ProductReportService productReportService;
private ProductNotificationService productNotificationService;
public ProductCatalog() {
products = new ArrayList<>();
@harisfi
harisfi / INSTALL.md
Created February 22, 2025 06:05 — forked from thomasheller/INSTALL.md
Install Arch Linux in VirtualBox VM