{"type":"rich","width":"100%","provider_url":"https://hatena.blog","categories":["Ubuntu","GNOME"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Feagletmt.hatenadiary.org%2Fentry%2F20080918%2F1221745635\" title=\" pbcopy on Linux (using GTK+) - EAGLE \u96d1\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":" pbcopy on Linux (using GTK+)","published":"2008-09-18 22:47:15","description":"\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u66f8\u3044\u3066\u307f\u305f\u3002 pbcopy.c #include <gtk/gtk.h> #include <gio/gio.h> #include <gio/gunixinputstream.h> int main(int argc, char *argv[]) { gtk_init(&argc, &argv); GInputStream *in = g_unix_input_stream_new(0, FALSE); gchar buf[1024]; gssize read_bytes; GError *error; GString *str = g_string_new(\"\"); whil\u2026","url":"https://eagletmt.hatenadiary.org/entry/20080918/1221745635","image_url":null,"blog_title":"EAGLE \u96d1\u8a18","version":"1.0","height":"190","author_name":"eagletmt","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/eagletmt/","blog_url":"https://eagletmt.hatenadiary.org/"}