- class.cColor.php : CSSなどで、色味を統一させるために、色相を保ったまま、明度の変更、色の混合、色の強調、ウェエブセーフカラーなどに変換するクラスです。
- function.file_get_googletext.php : 一般公開されたGoogle文書をSmartyなどのテンプレート・エンジンのテンプレートとして使うために、テキストの文字列として返す関数。
| <?php | |
| /** | |
| * ********************************************************* | |
| * KEINOS Data engine class extended SQLite3 version | |
| * ********************************************************* | |
| * 最新版 | |
| * https://gist.githubusercontent.com/KEINOS/05f43c81edff366b6e9b9e627a36eb6a/raw/class.cData.php | |
| */ |
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <!-- 1. 下記<div>タグが<iframe> (とビデオ・プレーヤー)に置き換わります。 --> | |
| <h3>YouTube Play List</h3> | |
| <div id="player"></div> | |
| <!-- 動画が次へ移るとonPlayerStateChange関数により<div>タグ内の情報も更新されます --> | |
| <h3>Current URL of Video</h3> | |
| <div id="video_url"></div> |
| <?php | |
| /* | |
| ======================================================================== | |
| 指定したパスがディレクトリか否かをBOOLEANで返す (2種類) | |
| https://gist.githubusercontent.com/KEINOS/b12a889ea822255d0156134da02f3a4a/raw/function.dir_exists.php | |
| ======================================================================== | |
| */ | |
| /** |
| /* | |
| html5doctor.com Reset Stylesheet | |
| v1.6.1 | |
| Last Updated: 2010-09-17 | |
| Author: Richard Clark - http://richclarkdesign.com | |
| Twitter: @rich_clark | |
| Original Author: Eric Meyer's CSS reset - http://meyerweb.com | |
| ** How to use: | |
| <link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/KEINOS/c90c22e7ee166b9c797acefd33e5ccfb/raw/reset.css"> |
WSH Scripts below worked with Wine @ Wineskin winery.
| #!/bin/sh | |
| # | |
| # Check your ServerURL and Stream key at: | |
| # https://www.youtube.com/live_dashboard | |
| # and overwrite <ServerURL> and <YourStreamKey> below. | |
| raspivid -o - -w 1920 -h 1080 -t 0 -fps 30 -b 6000000 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv <ServerURL>/<YourStreamKey> | |
| # Loop to keep the script run | |
| while true |
| <?php | |
| /* ======================================================================= | |
| Markdown記法(.md)ファイルをHTML記法に変換するスクリプト | |
| 拡張子.mdの場合、このファイルを開くようにhtaccessで定義。環境変数($_SERVER)情報より | |
| 該当mdファイルを参照し、Parsedownクラスを使ってHTML形式に変換を行う。 | |
| ・ Parsedown : http://parsedown.org/ | |
| ・ 詳細 : https://blog.keinos.com/20161213_1906 | |
| ・ 参照元 : http://blog.fenrir-inc.com/jp/2012/05/github_markdown.html |
| AddType text/markdown md | |
| Action text/markdown /path/to/markdown.php |