Skip to content

Instantly share code, notes, and snippets.

@kyak
kyak / google.tcl
Created August 31, 2016 08:01
Google custom search API eggdrop script
package require http
package require tls
::http::register https 443 [list ::tls::socket -tls1 1]
package require json
bind pub -|- "!google" google::bind
bind pub -|- "!g" google::bind
namespace eval google {
#Get here: https://console.developers.google.com/apis
@kyak
kyak / gist:bcb309bbd15876ba72bd17810340bd31
Created June 14, 2025 12:26
tdom 0.9.5 patch for gcc 15.1.1
See https://aur.archlinux.org/packages/tdom#comment-1028238
```
diff --git a/PKGBUILD b/PKGBUILD
index b7e0908..8b481ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,9 +13,11 @@ depends=('tcl'
'gumbo-parser')
options=(staticlibs !lto)