Skip to content

Instantly share code, notes, and snippets.

View zikosw's full-sized avatar

Supakorn Warodom zikosw

View GitHub Profile
mindmap
root((Foundations of AI))
AI_Agent_System[ระบบ AI Agent]
Structure[โครงสร้างและส่วนประกอบ]
Perception_Sensors[Perception: รับข้อมูลผ่าน Sensors]
(4th--Intelligent Agent p.10-11, 14)
Reasoning_Process[Reasoning: ประมวลผลและให้เหตุผล]
(4th--Intelligent Agent p.14 / 2nd--Knowledge p.4)
Action_Actuators[Action: ตอบสนองผ่าน Actuators]
(4th--Intelligent Agent p.11, 13)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>DNSSettings</key>
<dict>
<key>DNSProtocol</key>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>DNSSettings</key>
<dict>
<key>DNSProtocol</key>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>DNSSettings</key>
<dict>
<key>DNSProtocol</key>
@zikosw
zikosw / hmac-sha256-sign.sh
Created November 29, 2020 15:54
Create hmac sha256 sign
echo -n 'PAYLOAD' | hmac256 $KEY
@zikosw
zikosw / .skhdrc
Last active July 27, 2022 02:37
Yabai config
# open terminal
# cmd - return : /Applications/Kitty.app/Contents/MacOS/kitty --single-instance -d ~
# focus window
alt - h : yabai -m window --focus west
alt - j : yabai -m window --focus south
alt - k : yabai -m window --focus north
alt - l : yabai -m window --focus east
# swap window
@zikosw
zikosw / LumaSharpenHook.glsl
Created February 22, 2020 16:16 — forked from voltmtr/LumaSharpenHook.glsl
usage: vo=opengl-hq:user-shaders="~/config_directory/LumaSharpenHook.glsl"
// vim: set ft=glsl:
/*
LumaSharpenHook 0.3
original hlsl by Christian Cann Schuldt Jensen ~ CeeJay.dk
port to glsl by Anon
It blurs the original pixel with the surrounding pixels and then subtracts this blur to sharpen the image.
It does this in luma to avoid color artifacts and allows limiting the maximum sharpning to avoid or lessen halo artifacts.