日時: | 2024-02-01 |
---|---|
作: | 時雨堂 |
資料 バージョン: | 2024.1 |
GitHub URL: | https://github.com/shiguredo/momo |
製品 URL: | https://momo.shiguredo.jp/ |
- 日時: 2025-02-16
- 作: 時雨堂
- バージョン: 2025.1
- URL: https://sora-labo.shiguredo.jp/
Sora Labo は WebRTC SFU Sora を検証目的であれば無料で試せるサービスです。
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
util = require('util') | |
cheerio = require('cheerio') | |
# Reply booth items title and image_link | |
module.exports = (robot) -> | |
robot.hear /#(https:\/\/\w+.booth.pm\/items\/\d+)/, (msg) -> | |
msg | |
.http(msg.match[1]) | |
.get() (err, res, body) -> | |
if res.statusCode != 200 |
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
<?php | |
/* !! 入力配列の中にある数値添字要素の添字の数値は、 結果の配列ではゼロから始まる連続した数値に置き換えられます。 */ | |
$a = array( | |
'a' => 'aaa', | |
'100' => '100100100', | |
); | |
$b = array( | |
'b' => 'bbb', |
JavaScript を使っていると「JavaScript出来るの? jQuery / AngularJS / Node.js etc... で困ってるんだけどさー」みたいな話を振られることがあります。 そういった時に、自分は一般的なライブラリの使い方やフレームワークに対して大した知見も興味もないので、わざわざ説明するのも面倒なのでこうして文章にしておきます。(本当に届いて欲しい人に限って、こういう文章が届かないのはわかっていますが、文章を書くこと自体が気晴らしだと思って諦めます。)
先ほどのような話は自分に限ったことではなく、たぶん経験のある人も多いでしょう。 振られた話が自分の分かる範囲、あるいは興味のあるものならばまだ良いのですが、そうでないことがあまりに多すぎます。 話を振られるだけならともかく「JavaScriptできるんでしょ? じゃあ jQuery つかったこのサービスのメンテしてほしいんだけどー」みたいに仕事として振られることもあり、そう言う時は脳みそ取り出して洗剤で洗った方が良いのでは、と思うことも多々あります。
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
■未検討の疑問点 | |
・抽象的に考えるにはどのような環境・制約が必要なのか? | |
・プログラムを書く上でどこまで抽象化するのか? | |
・抽象化をする上で適切な言語の選択はあるのか? | |
・OSのような強制的な抽象化とフレームワークのような非強制的な抽象化の共通点は?相違点は? | |
・抽象化は役に立つのか?何の役に立つのか? | |
・抽象化をよくやる人とそうでない人がいると思うが、後者が抽象化するメリットはあるのか? | |
・よくやる人とそうでない人を分けた理由は | |
・「抽象化は手段だ」説←何のための手段か? | |
・日常生活にも抽象化はあるのか?あるなら具体例は? |
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
### | |
Gruntfile by geta6 | |
usage: | |
grunt only build | |
grunt server + watch | |
install: | |
npm i --save-dev \ | |
grunt \ |
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
#!/usr/bin/env python2 | |
# @brief dump id3 tag info to .json file | |
# @version 0.1 | |
# @author gongqijian | |
# @create 2013/04/11 | |
import os | |
import sys | |
import getopt |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
/*! | |
* @brief GNU拡張機能を用いたラムダ関数を実現するマクロ | |
* | |
* gccもしくはC++0x対応コンパイラでのみコンパイル可能<br> | |
* トップレベルで用いることはできない |
NewerOlder