更新: | 2021-05-23 |
---|---|
作者: | @voluntas |
バージョン: | 2021.1 |
URL: | https://voluntas.github.io/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const srcRelay = 'wss://relay.snort.social' | |
const dstRelay = 'wss://relay-jp.nostr.wirednet.jp' | |
const authors = ['634bd19e5c87db216555c814bf88e66ace175805291a6be90b15ac3b2247da9b'] | |
let srcSocket | |
let dstSocket | |
if (typeof (WebSocket) === 'undefined') { | |
const WebSocket = require('websocket').w3cwebsocket | |
srcSocket = new WebSocket(srcRelay) | |
dstSocket = new WebSocket(dstRelay) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Windows.UI.Xaml.Automation.Peers; | |
using Windows.UI.Xaml.Automation.Provider; | |
using Windows.UI.Xaml.Controls; | |
namespace Tetraptera.Common.Extensions | |
{ | |
public static class ButtonExtension | |
{ | |
public static void RaiseClick(this Button button) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# README.mdというファイルに単純にechoしているため、既にREADME.mdがあった場合内容が削除される 注意 | |
echo -e "**Index**\n\n" >README.md | |
# フォルダが多くなると飛ぶのが面倒なので、[TOC]追加 | |
# TOCに対応していない場合などは考慮していない | |
echo -e "[TOC]\n\n---" >>README.md | |
# ファイルへのリンク部分を出力する関数 | |
# $1が検索フォルダ指定 |
NewerOlder