Skip to content

Instantly share code, notes, and snippets.

View ChengJenLi's full-sized avatar

Cheng Jen Li ChengJenLi

View GitHub Profile
@ChengJenLi
ChengJenLi / main.dart
Last active April 8, 2023 00:40
Dart(2-15)
/*
* 類別定義及取用
* */
//匯入套件
import "dart:convert" as conv;
import "package:http/http.dart" as http;
class User {
//類別元素
@ChengJenLi
ChengJenLi / main.dart
Last active April 7, 2023 07:25
Dart(2-14)
/*
* 類別定義及取用
* */
//匯入套件
import "dart:convert" as conv;
class User {
//類別元素
@ChengJenLi
ChengJenLi / Dart(2-12)
Last active April 5, 2023 18:10
Dart(2-12)
import "dart:convert" as convert;
import "package:http/http.dart" as http;
Future <List<dynamic>> getRemoteSystemData(String remoteUri) async {
Uri multipleItemUrl=Uri.parse(remoteUri);
http.Response multipleResposnes= await http.get(multipleItemUrl);
List<dynamic> jsonArrayFromRsmote= convert.jsonDecode(multipleResposnes.body);
return jsonArrayFromRsmote;
}
@unnikked
unnikked / README.md
Last active June 2, 2025 10:16
How to host your Telegram bot on Google App Script

Telegram Bot on Google App Script

This is the source code of one of my blog post. To read the full blog post please click here.

@sam0737
sam0737 / clock.html
Last active September 3, 2025 18:50
OBS Studio: A HTML page for showing current date and time in the video
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
</head>
<body translate="no" >