Skip to content

Instantly share code, notes, and snippets.

View iqfareez's full-sized avatar
🎯
Focusing

Fareez Iqmal iqfareez

🎯
Focusing
View GitHub Profile
@iqfareez
iqfareez / app.py
Created May 23, 2024 00:40
Print all table and its row in an sqlite database
import sqlite3
import pandas as pd
# Connect to the SQLite database (Change to your db name)
conn = sqlite3.connect('quran_db.sqlite')
# Query to get all table names
query = "SELECT name FROM sqlite_master WHERE type='table';"
tables = pd.read_sql_query(query, conn)
[
{
"id": "4bca563ec5ca0cdd",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
@iqfareez
iqfareez / banks_malaysia.json
Created December 13, 2023 03:41
List of Bank in Malaysia (Taken from Bank Muamalat's IBG Transfer bank list)
[
"Affin Bank Berhad",
"Al Rajhi Banking & Investment Corporation (Malaysia) Berhad",
"Alliance Bank (M) Berhad",
"AmBank (M) Berhad",
"Bangkok Bank Berhad",
"Bank Islam Malaysia Berhad",
"Bank Kerjasama Rakyat Malaysia Berhad",
"Bank of America Malaysia Berhad",
"Bank of China (Malaysia) Berhad",
@iqfareez
iqfareez / README.md
Last active November 4, 2023 07:19
Flutter APK Renamer

This Bash script is designed to rename APK files generated by Flutter.

Before: app-arm64-v8a-release.apk
After: MyAwesomeApp-armeabi-v8a-v1.0.0.apk

Note

Version number if extracted from pubspec.yaml file

Usage

@iqfareez
iqfareez / script.sh
Last active February 15, 2023 11:06
Example running bash script from a URL
#!/bin/bash
echo "Hello, world!"
echo "This is a test script."
echo "Thanks for running me!"
@iqfareez
iqfareez / maker_pico_default.py
Created January 25, 2023 11:12
Default code for Maker Pi Pico W
import board
import digitalio
import neopixel
import simpleio
import time
import pwmio
# Initialize LEDs
# LEDs placement on Maker Pi RP2040
@iqfareez
iqfareez / README.md
Last active January 20, 2023 07:10
Excel update day name on cell select

Excel Macro to dynamically update cell with day name

Demo

2023-01-19.16-06-00.mp4

You can download template file here.

Important

@iqfareez
iqfareez / listview_builder.dart
Last active September 17, 2022 04:31
Example of ListView.builder
import 'package:flutter/material.dart';
List<String> list = ["A", "B", "C", "D", "E", "F"];
void main() {
return runApp(
MaterialApp(
title: 'Flutter New AppDemo',
debugShowCheckedModeBanner: false,
home: Scaffold(
@iqfareez
iqfareez / arduino.ino
Created May 24, 2022 18:46
arduino part code as of today
‎‎​