This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Json | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from http.server import BaseHTTPRequestHandler | |
from urllib import parse | |
import psycopg2 | |
import json | |
import os | |
class handler(BaseHTTPRequestHandler): | |
def do_GET(self): | |
connection = psycopg2.connect ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://codelabs.developers.google.com/codelabs/android-room-with-a-view/#0 | |
https://github.com/googlecodelabs/android-room-with-a-view | |
https://stackoverflow.com/questions/8784249/android-autocompletetextview-with-custom-adapter-filtering-not-working/8784931 | |
Icons: | |
https://material.io/resources/icons/?style=baseline |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# <bitbar.title>Sunrise and sunset time</bitbar.title> | |
# <bitbar.version>v1.0</bitbar.version> | |
# <bitbar.author>S Mahbub-Uz Zaman</bitbar.author> | |
# <bitbar.author.github>lifeparticle</bitbar.author.github> | |
# <bitbar.desc>Sunrise and sunset time</bitbar.desc> | |
# <bitbar.image></bitbar.image> | |
# <bitbar.dependencies></bitbar.dependencies> | |
# <bitbar.abouturl></bitbar.abouturl> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Author S Mahbub-Uz Zaman on November 8, 2015 | |
* Lisence Under GPL2 | |
*/ | |
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Author S Mahbub-Uz Zaman on October 23, 2015 | |
* Lisence Under GPL2 | |
*/ | |
public static String monthNames[] = {"January", "February", "March", "April", | |
"May", "June", "July", "August", "September", "October", | |
"November", "December"}; | |
// input 17/06/1991 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MIT License | |
Copyright (c) 2023 Mahbub Zaman | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// beta | |
// Lisence Under GPL2 | |
// Author: S.Mahbub-Uz-Zaman | |
public static String a = "test,test,test"; | |
public static String replaceWith = " and "; | |
// using StringBuffer's replace method | |
public static void replaceLastCommaSB () { | |
StringBuffer sb = new StringBuffer(a); |
// Compiled by: S.Mahbub-Uz-Zamanm
// http://mahbubzaman.wordpress.com/
Founder(s): Thomas J. Watson Charles and Ranlett Flint Founded: June 16, 1911, Endicott, New York, U.S.
source: