Stable Diffusion のプロンプト上で足し算や引き算ができるようオプションを追加するパッチ
ピラミッドを20%だけ日本に寄せる
# 計算式は ピラミッド + 20% * (日本 - エジプト)
# プロンプトは pyramid + 0.2 (japan - egypt) となる
This tutorial will turn your Raspberry PI into a simple Bluetooth audio receiver, which plays music through connected speakers. It's like a regular car audio system, but it can be used anywhere and it's a good value.
Audio source (i.e. smartphone)
|
v
((( Wireless Bluetooth Channel )))
|
モヒカンslackのチャネルリスト(毎日 AM 5:00 自動更新)
詳細はQiita:究極のIT系最新技術情報収集用Slackチーム公開 - モヒカンSlack -を参照。
参加は
#target illustrator | |
function make() { | |
var name = 'temp'; // Action name. | |
var set = 'temp'; // Set name. | |
var level = app.userInteractionLevel; | |
var action; | |
app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS; |
シーケンス図とかフローチャートをしごとで描画することになった場合、 テキストから生成できたら楽なので、それ系のツールまとめ
#import <Foundation/Foundation.h> | |
#import "RCTBridgeModule.h" | |
#define RCT_EXTERN_MODULE(objc_name, objc_supername) \ | |
RCT_EXTERN_REMAP_MODULE(objc_name, objc_name, objc_supername) | |
#define RCT_EXTERN_REMAP_MODULE(js_name, objc_name, objc_supername) \ | |
objc_name : objc_supername \ | |
@end \ | |
@interface objc_name (RCTExternModule) <RCTBridgeModule> \ |
import { Component } from "React"; | |
export var Enhance = ComposedComponent => class extends Component { | |
constructor() { | |
this.state = { data: null }; | |
} | |
componentDidMount() { | |
this.setState({ data: 'Hello' }); | |
} | |
render() { |
var sum = values.reduce(function(sum, value){ | |
return sum + value; | |
}, 0); | |
var avg = sum / data.length; |
import Foundation | |
extension String | |
{ | |
var length: Int { | |
get { | |
return countElements(self) | |
} | |
} | |