Skip to content

Instantly share code, notes, and snippets.

View ifindev's full-sized avatar
:electron:
Shipping Things 🔥

Muhammad Arifin ifindev

:electron:
Shipping Things 🔥
View GitHub Profile
@ifindev
ifindev / prd.md
Last active March 9, 2026 23:05
PRD Aplikasi Manajemen Lapangan Futsal

Product Requirement Document

Sistem Manajemen Lapangan Futsal (FutsalKu)

Versi: 1.0 — Draft

Tanggal: 9 Maret 2026

Status: In Review

@ifindev
ifindev / prd.ms
Created March 9, 2026 11:40
PRD Sistem Managemen Rental Mobil
# Product Definition Document
## Sistem Manajemen Rental Mobil (RentalKu)
> **Versi:** 1.0 — Draft
>
>
> **Tanggal:** 27 Februari 2026
>
> **Status:** In Review
@ifindev
ifindev / CLAUDE.md
Last active March 13, 2026 06:40
CLAUDE.md with Linear & GitHub Integration

CLAUDE.md

Linear Workflow

Before starting any ticket

  1. Pull the ticket from Linear: use mcp__linear-server__get_issue with the issue ID
  2. Read comments on the immediately preceding ticket (e.g. if starting E3-003, read E3-002 comments) using mcp__linear-server__list_comments — look for handoff notes left by the previous agent
  3. Read the full description, acceptance criteria, technical notes, and API tests
  4. Set the ticket status to In Progress via mcp__linear-server__save_issue
@ifindev
ifindev / audio-recorder-v1.tsx
Last active April 24, 2025 13:45
AI Transcriber App
import { useState, useRef } from 'react';
type AudioRecorderProps = {
onRetryRecording: () => void;
onRecordingComplete: (audioBlob: Blob) => void;
}
export function AudioRecorder({
onRetryRecording,
onRecordingComplete,
@ifindev
ifindev / query.sql
Created September 17, 2022 16:44
SQL Challenges
CREATE TABLE IF NOT EXISTS USERS (
ID serial primary key not null,
UserName varchar(200)null,
Parent int not null
);
INSERT INTO USERS (UserName, Parent) VALUES ('Ali', 2)
INSERT INTO USERS (UserName, Parent) VALUES ('Budi', 0)
INSERT INTO USERS (UserName, Parent) VALUES ('Cecep', 1)
@ifindev
ifindev / api.js
Last active August 4, 2024 19:47
REST API Transaction by Average Monthly Spending
'use strict';
const fs = require('fs');
process.stdin.resume();
process.stdin.setEncoding('utf-8');
let inputString = '';
let currentLine = 0;
@ifindev
ifindev / employee.go
Last active July 4, 2022 17:06
Struct Composition Go
type Employee struct {
Name string
Age int
Height float32 // cm
Gender string
PositionName string
MonthsOfService int
Department string
}
@ifindev
ifindev / interface.go
Created July 4, 2022 10:38
Go Interface for Polymorphism
// You can edit this code!
// Click here and start typing.
package main
import (
"fmt"
"math"
)
type Shape interface {
@ifindev
ifindev / closure.go
Last active June 7, 2022 15:26
Golang Basic
// Closure is a function which can be stored on a variable
package main
import {
"fmt"
}
func main() {
var numbers = []int{2, 3, 4, 5, 6, 7, 8, 9}
@ifindev
ifindev / restaurant_with_menu.json
Created March 24, 2022 10:36 — forked from seahyc/restaurant_with_menu.json
Restaurants with Menu
This file has been truncated, but you can view the full file.
[
{
"cashBalance": 4483.84,
"menu": [
{
"dishName": "Postum cereal coffee",
"price": 13.88
},
{
"dishName": "GAI TOM KA: CHICKEN IN COCONUT CREAM SOUP WITH LIME JUICE GALANGA AND CHILI",