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
.ficon-1ah:before {
content: ""
}
.ficon-24-hour-finess-center:before {
content: "ï„‚"
}
.ficon-24hour-check-in:before {
content: ""
@agusibrahim
agusibrahim / scrape_ports_pelni.js
Created February 1, 2024 09:22
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 / 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,
{
"SURVEY": {
"DESCRIPTION": "Dear customer 👋, please take a few moments to share feedback about the conversation you had with %{inboxName}.",
"RATING": {
"LABEL": "Rate your conversation",
"SUCCESS_MESSAGE": "Thank you for submitting the rating"
},
"FEEDBACK": {
"LABEL": "Do you have any thoughts you'd like to share?",
"PLACEHOLDER": "Your feedback (optional)",
@agusibrahim
agusibrahim / expose_wsl_port.js
Created August 19, 2021 00:58
Expose your WSL port to other device (same network)
const execSync = require('child_process').execSync;
async function main (){
var wslip=(await execSync("bash -c \"hostname --all-ip-addresses\"")+"").replace(" ","").replace("\n","")
try{
await execSync("NET SESSION >nul 2>&1")
}catch{
console.log("Please run as Administrator")
return
}
if(process.argv.length<2 || isNaN(process.argv[2])){
@agusibrahim
agusibrahim / ftp_test.py
Last active May 3, 2020 01:45
ftp connection checker
import ftplib, time, urllib2, urllib
from configparser import ConfigParser
config=ConfigParser()
config.read("ftp_config.ini")
# atur disini yaa
HOSTNAME="localhost"
PORT=14147
@charset "UTF-8";
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
/* line 9, ../scss/includes/_normalize.scss */
html {
font-family: sans-serif;
@agusibrahim
agusibrahim / index.html
Last active December 15, 2019 05:20
rNaMKWe
<button onclick="share1()">SHARE TEKS</button>
<button onclick="share2()">SHARE IMG</button>
<button onclick="share3()">SHARE WHATSAPP</button>
<button onclick="notif1()">SHOW NOTIF</button>