Skip to content

Instantly share code, notes, and snippets.

View pattanunNP's full-sized avatar
🤒
Out sick

Pattanan Numpong pattanunNP

🤒
Out sick
View GitHub Profile
{
"data.info.th.juristicpersonname": "กรีน สมาร์ท การเกษตร จำกัด",
"data.info.th.registeredtype": "บริษัทจำกัด",
"data.info.th.status": "ยังดำเนินกิจการอยู่",
"data.info.th.tsic": "46209",
"data.info.th.industryname": "การขายส่งวัตถุดิบอื่นๆทางการเกษตรซึ่งมิได้จัดประเภทไว้ในที่อื่น",
"data.info.th.province": "นนทบุรี",
"data.info.th.profile.juristicname": "บริษัท กรีน สมาร์ท การเกษตร จำกัด",
"data.info.th.profile.register_number": "0105564076108",
"data.info.th.profile.financialsubmission": [2565, 2564],
{
"searchJuristicInfo": {
"RegisterNo": "0105560150591",
"JuristicPersonName": "โลแดช (ไทยแลนด์) จำกัด",
"RegisteredType": "บริษัทจำกัด",
"Status": "ยังดำเนินกิจการอยู่",
"TSIC": "58202",
"IndustryName": "การจัดทำซอฟต์แวร์สำเร็จรูป (ยกเว้นซอฟต์แวร์เกมสำเร็จรูป)",
"Province": "กรุงเทพมหานคร",
"RegisteredCapital": "1,000,000.00",
[
{
"registerno": "1939",
"registernumber": "0105560155780",
"juristicpersonname": "201 อาศัย ดีเวลลอปเมนท์ จำกัด",
"registeredtype": "บริษัทจำกัด",
"status": "ยังดำเนินกิจการอยู่",
"tsic": "68101",
"industryname": "การซื้อและการขายอสังหาริมทรัพย์ที่เป็นของตนเอง เพื่อการพักอาศัย",
"province": "กรุงเทพมหานคร",
package chat
import (
"bytes"
"fmt"
"log"
"os"
"os/signal"
"syscall"
"time"
const provinces: { th_name: string, en_name: string }[] = [
{ th_name: 'กรุงเทพมหานคร', en_name: 'Bangkok' },
{ th_name: 'กระบี่', en_name: 'Krabi' },
{ th_name: 'กาญจนบุรี', en_name: 'Kanchanaburi' },
{ th_name: 'กาฬสินธุ์', en_name: 'Kalasin' },
{ th_name: 'กำแพงเพชร', en_name: 'Kamphaeng Phet' },
{ th_name: 'ขอนแก่น', en_name: 'Khon Kaen' },
{ th_name: 'จันทบุรี', en_name: 'Chanthaburi' },
{ th_name: 'ฉะเชิงเทรา', en_name: 'Chachoengsao' },
{ th_name: 'ชลบุรี', en_name: 'Chonburi' },
type CustomerUserAccount struct {
UserID string `json:"user_id" bson:"user_id"`
Firstname string `json:"firstname" bson:"firstname"`
Lastname string `json:"lastname" bson:"lastname"`
Email string `json:"email" bson:"Email"`
DisplayName string `json:"display_name" bson:"display_name"`
Company string `json:"company" bson:"Company"`
PhoneNumber string `json:"phone_number" bson:"phone_number"`
AdsLink string `json:"ads_link" bson:"ads_link"`
RegisterDate int64 `json:"register_date" bson:"register_date"`
{
"project_id": "{{$randomUUID}}",
"name_en": "sad2a",
"name_th": "dasd",
"project_description_en": "loooooooooooosaddddd",
"project_description_th": "asd",
"status": "active",
"launch_date": "2023-04-01T15:18:00.000Z",
"publish_date": "2023-04-01T17:18:00.000Z",
"end_date": "2023-04-25T15:18:00.000Z",
body {
-webkit-tap-highlight-color: transparent;
overscroll-behavior-y: none;
touch-action: none;
-webkit-overflow-scrolling: none;
overflow: hidden;
/* Other browsers */
overscroll-behavior: none;
}
info = {
"0":{
"name":"Aooni",
"description":"เบียร์ญี่ปุ่นจากนากาโน่",
"taste":"รสชาตินุ่มลึก หอม",
"acohol":7
},
"1":{
"name":"Kujukuri ocean Stout",
"description":"สเตาต์ เป็นเบียร์สีเข้ม เนื่องมาจากการใช้เมล็ดข้าวมอลต์ ที่ผ่านการคั่วหรืออบเป็นเวลานาน",
@pattanunNP
pattanunNP / FeatureExtact.py
Last active April 10, 2022 19:30
FeatureExtact.py
## Import the libraries
from tensorflow.keras.preprocessing import image
from tensorflow.keras.applications.vgg16 import VGG16, preprocess_input
from tensorflow.keras.models import Model
from pathlib import Path
from PIL import Image
import numpy as np
class FeatureExtractor:
def __init__(self):