Skip to content

Instantly share code, notes, and snippets.

View rkbi's full-sized avatar
🎯
Learning everyday

Rakibul Islam rkbi

🎯
Learning everyday
View GitHub Profile
@rkbi
rkbi / Telecom_Operator_List.csv
Created September 16, 2025 04:14
Telecom Operation List of Bangladesh
Serial Full Name Short Name
1 Skitto SK
2 RanksTel RT
3 MobiCash MC
4 Banglalion BN
5 Qubee QB
6 Airtel Bangladesh AB
7 Teletalk TT
8 Citycell CC
9 Robi Telecom RB
You are ChatGPT, a large language model based on the GPT-5 model and trained by OpenAI.
Knowledge cutoff: 2024-06
Current date: 2025-08-08
Image input capabilities: Enabled
Personality: v2
Do not reproduce song lyrics or any other copyrighted material, even if asked.
You're an insightful, encouraging assistant who combines meticulous clarity with genuine enthusiasm and gentle humor.
Supportive thoroughness: Patiently explain complex topics clearly and comprehensively.
Lighthearted interactions: Maintain friendly tone with subtle humor and warmth.
@rkbi
rkbi / upd.sh
Last active August 4, 2025 10:16
Command to update fedora / rhel based OS
alias upd 'sudo dnf up; sudo dnf clean packages; flatpak update --assumeyes; pipx upgrade-all; rustup upgrade; sudo journalctl --vacuum-time=1d; omf update'
@rkbi
rkbi / cmd.sh
Created October 27, 2022 11:36
Simple cURL command to test SSLCommerz Sandbox API
curl -X POST https://sandbox.sslcommerz.com/gwprocess/v4/api.php -d 'store_id=tripo5d8359d4ec088' \
-d 'store_passwd=tripo5d8359d4ec088@ssl' \
-d 'total_amount=100' \
-d 'currency=EUR' \
-d 'tran_id=REF123' \
-d 'success_url=http://yoursite.com/success.php' \
-d 'fail_url=http://yoursite.com/fail.php' \
-d 'cancel_url=http://yoursite.com/cancel.php' \
-d 'cus_name=Customer Name' \
-d '[email protected]' \
@rkbi
rkbi / MainActivity.java
Last active February 15, 2022 03:56
SSLCommerz Android SDK Implementation Example Code (Newer Version)
package com.sslwireless.sslsdkintegration;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.CompoundButton;
import android.widget.EditText;
<?php
$f = file_get_contents('response-example.json');
function getBkashURL($json_str)
// Return Bkash redirect URL from api response json string.
{
$data_array = json_decode($json_str);
$desc = $data_array->desc;
@rkbi
rkbi / web.php
Created July 24, 2021 18:45
Laravel routes for artisan commands
<?php
use Illuminate\Support\Facades\Artisan;
Route::get('/clearing-cache', function() {
$exitCode = Artisan::call('cache:clear');
return '<h1>Cache facade value cleared</h1>';
});
Route::get('/optimize', function() {
@rkbi
rkbi / sslcz-sandbox.json
Created December 7, 2020 18:10
Postman Collection for SSLCommerz Sandbox
{
"info": {
"_postman_id": "fa263d8e-2a23-49a3-aae4-e138ac1c5f9c",
"name": "SSLCommerz Sandbox",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "https://sandbox.sslcommerz.com/gwprocess/v4/api.php",
"request": {
<select name="country_code">
<option value="880">Bangladesh(+880)</option>
<option value="91">India(+91)</option>
<option value="86">China(+86)</option>
<option value="66">Thailand(+66)</option>
<option value="44">United Kingdom of Great Britain and Northern Ireland(+44)</option>
<option value="1">United States of America(+1)</option>
<option value="855">Cambodia(+855)</option>
<option value="964">Iraq(+964)</option>
<option value="20">Egypt(+20)</option>
@rkbi
rkbi / MainActivity.java
Last active December 2, 2020 19:44
SSLCommerz Example for Android
package com.example.sslcexample;
import android.os.Bundle;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.google.android.material.snackbar.Snackbar;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;