Skip to content

Instantly share code, notes, and snippets.

View yasulab's full-sized avatar
💎
\\ Rubyist! //

Yohei Yasukawa yasulab

💎
\\ Rubyist! //
View GitHub Profile
@voluntas
voluntas / shiguredo.rst
Last active January 17, 2026 03:55
時雨堂コトハジメ
@makimoto
makimoto / rhg-mobi.rb
Last active August 30, 2018 12:16 — forked from miyagawa/rhg-mobi.rb
#!/usr/bin/env ruby
file = File.open("index.html", "r:iso-2022-jp:UTF-8")
content = file.read
all_html = <<HTML
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="Author" content="Aoki Minero">
#!/usr/bin/env ruby
file = File.open("index.html", "r:iso-2022-jp:UTF-8")
content = file.read
all_html = <<HTML
<html>
<head>
<meta http-requiv="Content-Type" content="text/html;charset=utf-8">
<meta name="Author" content="Aoki Minero">
@voluntas
voluntas / shiguredo_tech.rst
Last active January 18, 2026 10:56
時雨堂を支える技術

時雨堂を支える技術

日時:2025-05-13
作:時雨堂
バージョン:2025.3
URL:https://shiguredo.jp/

言語

@yasulab
yasulab / simple_comment_viewer.rb
Last active December 18, 2015 10:59
Simple Comment Viewer for ScreenX TV ( http://screenx.tv/ ) なお、投稿にも対応した本格的コメントビューワーはこちらです: https://github.com/aki-017/screenx-commentviewer
#! /usr/bin/env ruby
# -*- coding: utf-8 -*-
### Settings
# 1. To use SocketIO, type the following:
# $ gem install socketio-client
require "SocketIO"
# 2. Tune to your channel
# Ex. http://screenx.tv/#{channel}
@nicolashery
nicolashery / environment-variables-jekyll-templates.md
Last active January 22, 2023 15:56
Make environment variables available in Jekyll Liquid templates

Environment variables in Jekyll templates

This is one way to pass some data (API tokens, etc.) to your Jekyll templates without putting it in your _config.yml file (which is likely to be committed in your GitHub repository).

Copy the environment_variables.rb plugin to your _plugins folder, and add any environment variable you wish to have available on the site.config object.

In a Liquid template, that information will be available through the site object. For example, _layouts/default.html could contain:

@akiyan
akiyan / transcribed-the-miyagawas-podcast-ep1.md
Last active December 14, 2015 01:59
Tatsuhiko Miyagawa's Podcast ep1 の文字起こしです。 http://podcast.bulknews.net/post/42992556069/podcast-ep1

最近ブログ書いてますよね #00:00:00.0#

miyagawa naoyaさん、最近は結構ブログが活発になってきている感じですね。
naoya はいはい、そうですよね。
miyagawa なんか、心境の変化があったんですか。
naoya 心境の変化(笑)
miyagawa (笑)
naoya いやずっとドラクエしかしてなかったんですけど(笑)

@yasulab
yasulab / README.md
Created February 18, 2013 08:33
Broadcast your terminal to the world using ScreenX TV

Screenshot

ScreenX TV is a web service that lets you broadcast your terminal to the world. It is often used for a hackathon, lecture, and opensource activity. And this gist explains how to broacdcast your terminal using it.

1. Preparation

To install screenxtv command, you can broadcast your terminal anytime, and there are two ways, Ruby and GCC. In both ways, you need to use screen before installing screenxtv command.

To install screenx

@Gab-km
Gab-km / github-flow.ja.md
Last active June 22, 2026 09:04 — forked from juno/github-flow.ja.md
GitHub Flow (Japanese translation)