Skip to content

Instantly share code, notes, and snippets.

View agusibrahim's full-sized avatar
🌴
On vacation

Agus Ibrahim agusibrahim

🌴
On vacation
View GitHub Profile
@agusibrahim
agusibrahim / content.md
Created September 3, 2025 10:38
Flight Status - Dapatkan data flight status di suatu airport atau by Flight Number. data source: ixigo
@agusibrahim
agusibrahim / gist:1e4b82c24c649021a2ce46766186e567
Created August 9, 2025 02:02
flutter ui generator PROMPT
You're an expert Flutter developer and UI designer creating Custom User
Interfaces: generated, bespoke, interactive interfaces created on-the-fly using
the Flutter SDK API. You will produce a professional, release-ready Flutter
application. All of the instructions below are required to be rigorously
followed.
Custom user interfaces add capabilities to apps so they can construct
just-in-time user interfaces that utilize design aesthetics, meaningful
information hierarchies, rich visual media, and allow for direct graphical
interactions.
["501409:Aceh Barat:Kab. Aceh Barat","501400:Aceh Barat Daya:Kab. Aceh Barat Daya","501404:Aceh Besar:Kab. Aceh Besar","501401:Aceh Jaya:Kab. Aceh Jaya","501417:Aceh Selatan:Kab. Aceh Selatan","501414:Aceh Singkil:Kab. Aceh Singkil","501403:Aceh Tamiang:Kab. Aceh Tamiang","501416:Aceh Tengah:Kab. Aceh Tengah","501405:Aceh Tenggara:Kab. Aceh Tenggara","501402:Aceh Timur:Kab. Aceh Timur","501408:Aceh Utara:Kab. Aceh Utara","5012832:Alapan:Kab. Simeulue","5012578:Arongan Lambalek:Kab. Aceh Barat","5012671:Atu Lintang:Kab. Aceh Tengah","5012589:Babah Rot:Kab. Aceh Barat Daya","5012686:Babul Makmur:Kab. Aceh Tenggara","5012687:Babul Rahmah:Kab. Aceh Tenggara","5012688:Babussalam:Kab. Aceh Tenggara","5012689:Badar:Kab. Aceh Tenggara","5012790:Baeutong Ateuh Banggalang:Kab. Nagan Raya","5012841:Baiturrahman:Kota Banda Aceh","5012600:Baitussalam:Kab. Aceh Besar","5012630:Bakongan:Kab. Aceh Selatan","5012631:Bakongan Timur:Kab. Aceh Selatan","5012726:Baktiya:Kab. Aceh Utara","5012727:Baktiya Barat:Kab. Aceh Utara","50
.ficon-1ah:before {
content: ""
}
.ficon-24-hour-finess-center:before {
content: "ï„‚"
}
.ficon-24hour-check-in:before {
content: ""
@agusibrahim
agusibrahim / scrape_ports_pelni.js
Last active June 30, 2025 08:10
get pelni ports
var token = document.querySelector("input[name='_token']").value;
var options = Array.from(document.querySelectorAll("select[name='ticket_org'] option")).filter(x => x.getAttribute("value") != "");
var results = [];
for (const option of options) {
var ids = option.getAttribute("value");
var b = option.innerText;
var dest=""
try {
@agusibrahim
agusibrahim / main.dart
Created January 20, 2024 06:47
hotel-detail-view
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
This file has been truncated, but you can view the full file.
import 'package:flutter/material.dart';
var blockdata = [
{"a": 22, "s": 58, "w": 376, "h": 30, "t": 37, "p": 545, "l": 40},
{"a": 22, "s": 58, "w": 323, "h": 30, "t": 245, "p": 545, "l": 93},
{"a": 22, "s": 58, "w": 376, "h": 178, "t": 67, "p": 545, "l": 40},
{"a": 1, "s": 59, "w": 376, "h": 30, "t": 355, "p": 545, "l": 40},
{"a": 1, "s": 59, "w": 28, "h": 30, "t": 402, "p": 545, "l": 388},
{"a": 2, "s": 59, "w": 348, "h": 30, "t": 402, "p": 545, "l": 40},
{"a": 2, "s": 59, "w": 189, "h": 30, "t": 561, "p": 545, "l": 227},
@agusibrahim
agusibrahim / fetch_ayah_block.js
Last active December 14, 2024 15:46
fetch ayah block from https://quran.ksu.edu.sa/ for block/highlighting ayah
function drawHilites2(i,t,e){i||(i=currPage),hilites[currMosshaf]||(hilites[currMosshaf]={}),hilites[currMosshaf][i]?hilitePage2(i,t,e):jxr.hilites=$.get(url_interface+"&do=hilites&mosshaf="+currMosshaf+"&t=28&page="+i,function(h){for(var l in h[i]);hilites[currMosshaf][i]=h[i],hilitePage2(i,t,e)},"json")}function hilitePage2(i,t,e){var h,l,f,o,a,s,g,r,n,m,p,_,d,c,u,v,w,P,b=hilites[currMosshaf][i];if(i%2)var y="img_right_cont";else var y="img_left_cont";var z=$("#"+y).offset().top,j=$("#"+y).offset().left;P="hilite",u=_hlMeta[currMosshaf].height,g=_hlMeta[currMosshaf].mgwidth,r=_hlMeta[currMosshaf].twidth,n=_hlMeta[currMosshaf].ofwidth,m=_hlMeta[currMosshaf].ofheight,p=_hlMeta[currMosshaf].fasel_sura,_=_hlMeta[currMosshaf].page_top,d=_hlMeta[currMosshaf].page_sura_top,t&&(P="hilite_memorize",u=_hlMeta[currMosshaf].mem_height,m=_hlMeta[currMosshaf].mem_ofheight),(1==i||2==i)&&(u=_hlMeta[currMosshaf].fp_height,g=_hlMeta[currMosshaf].fp_mgwidth,r=_hlMeta[currMosshaf].fp_twidth,n=_hlMeta[currMosshaf].fp_ofwidth,m
@agusibrahim
agusibrahim / flutter_flow_icon_button.dart
Created July 15, 2022 14:53
missing file for flutterflow
import 'package:flutter/material.dart';
class FlutterFlowIconButton extends StatelessWidget {
const FlutterFlowIconButton(
{Key? key,
this.borderColor,
this.borderRadius,
this.borderWidth,
this.buttonSize,
this.fillColor,