· @gholk
78 followers · 1935 posts · Server g0v.social

想不到去年寫的勉強堪用的 模組功能還有真的翻出來用的一天。
那時想做一個像 python 的 import 可以直接匯入 top level 變數的模組系統,而不是 require.js 那種需要顯式匯出的。
本來想做 amd.js 但寫到一半發現太麻煩就逃了。

gitlab.com/-/snippets/2584226

#jscript

Last updated 2 years ago

hanscees · @hanscees
460 followers · 7326 posts · Server social.sargasso.nl

@osslate There is no problem inserting into Hugo pages.
So if folks want they could very well insert a solution for that based on An external pagecounter somewhere with an api.
If that would be stuck into a basic howto that might help users a lot.

#jscript #hugo

Last updated 2 years ago

hanscees · @hanscees
432 followers · 6203 posts · Server social.sargasso.nl

Given the popularity, power and success of this modern approach to building web applications, why on earth would you consider an older, clunkier and less popular approach like hypermedia?

JavaScript Fatigue

We are glad you asked!

Hypermedia: A Reintroduction hypermedia.systems/hypermedia-

#webdev #html #json #api #jscript

Last updated 2 years ago

SAPIENTech · @SAPIENTech
2 followers · 3 posts · Server techhub.social
Rev. GothAlice · @alice
115 followers · 576 posts · Server marrow.haus

@pbeens If my tone wasn't obvious: never.

That's a fool's errand. A windmill to tilt at. (Insert other literary references for futility here.)

See also: —also -based, as part of —or , because Microsoft do as Microsoft do.

#actionscript #ecmascript #flash #jscript

Last updated 3 years ago

· @gholk
51 followers · 873 posts · Server g0v.social

這幾天玩 windows 的腳本,用了 object model 來讀寫 excel 表格、ActiveX 的 、FileSystemObject 來存檔 http response 作快取 (不過最後沒用到) 。
把變數名稱、url、資料碼掉後分享出來,至少我覺得 jscript 在讀寫 excel 自動化這點還蠻方便的,windows 內建不用裝其它有的沒的,也不用特別調什麼設定,雖然比起 明顯少掉 msgbox 這類對話框功能,但對不想學 basic 的人還是可以一用。

gist.github.com/GHolk/119afb3d

#jscript #excel #ajax #vba #js

Last updated 3 years ago

ITSEC News · @itsecbot
687 followers · 32461 posts · Server schleuss.online