ask_chatgpt -f app/models/user.rb -q "find a bug in this Rails model" ask_chatgpt -f app/models/user.rb -q "create RSpec spec for this model" @@ -49,6 +50,10 @@ parser = OptionParser.new do |opts| options[:model] = model end + opts.on("-t", "--temperature 0.7", ...
// (Floyd-Steinberg) static void stb__DitherBlock(unsigned char *dest, unsigned char *block) { int err[8],*ep1 = err,*ep2 = err+4, *et; int ch,y; // process channels seperately for (ch=0; ch<3; ++ch) { unsigned char *bp = block+ch, *dp = dest+ch; unsigned char *...
In [1]: from pprint import pprint ...: from wechatsogou import WechatSogouAPI, WechatSogouConst ...: ...: ws_api = WechatSogouAPI() ...: gzh_articles = ws_api.get_gzh_article_by_hot(WechatSogouConst.hot_index.food) ...: for i in gzh_articles: ...: pprint(i) ...: {...