
MacのVSCode(VisualStudioCode)のClineでOllamaが動作しない時の解決備忘録
2024.11.13

WordPressでメディアのサムネイルを一括で再生成するプラグイン『Regenerate Thumbnails』
2023.09.23

MacでOpen Interpreterをローカルで動かした際に、CodeLlama Modelがダウンロードされる場所
2023.09.09
Category Ajax,JavaScript Update 2010.02.09
JSなどで画像等を後から読み込んだりする場合、
先読みをしておかないとまずい場合があるとおもいます。
そんなときにJQueryのattrにて下記のソースで先読み設定ができるようです。
jQuery.preimg = function() { for(var i = 0; i<arguments.length; i++) { jQuery("<img>").attr("src", arguments[i]); //配列から読み込み } }; jQuery.preimg("画像名.jpg", "画像名.jpg");