あまり深く理解してないので識者のツッコミ大歓迎
取り敢えず最低限だけ
# 補完を有効にする| # Two ENV variables control the 'gem' command: | |
| # | |
| # GEM_HOME: the single path to a gem dir where gems are installed | |
| # GEM_PATH: a standard PATH to gem dirs where gems are found | |
| # | |
| # A gem directory is a directory that holds gems. The 'gem' command will lay | |
| # out and utilize the following structure: | |
| # | |
| # bin # installed bin scripts | |
| # cache # .gem files ex: cache/gem_name.gem |
| require 'formula' | |
| class Vim < Formula | |
| homepage 'http://www.vim.org/' | |
| url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2' | |
| head 'https://vim.googlecode.com/hg/' | |
| sha256 '5c5d5d6e07f1bbc49b6fe3906ff8a7e39b049928b68195b38e3e3d347100221d' | |
| version '7.3.682' | |
| def features; %w(tiny small normal big huge) end |
| #!/bin/sh | |
| # | |
| # Create Google Chrome launcher (for Mac) | |
| # | |
| CHROME_APP="/Applications/Google Chrome.app" | |
| CHROME_PROFILE_DIR="$HOME/Library/Application Support/Google/Chrome" | |
| echo "Enter profile name: \c" |
| class PixivImage | |
| include Mongoid::Document | |
| field :image_id | |
| field :pixiv_user_id | |
| field :title | |
| field :tags, :type => Array | |
| field :url | |
| field :image_url | |
| field :description | |
| field :saved, :type => Boolean, :default => false |
| 白い瓶に封じられたディスク | |
| 茶色のハンドバッグに隠されたセキュリティカード | |
| 赤いビニール袋に入ったIDカード | |
| 茶色のペットボトルに詰めこまれた宝の地図 | |
| 赤い謎の像に入った地図 | |
| 紫色のワインボトルに封じられた証拠写真 | |
| 金色の段ボール箱に厳重に保管された覚醒剤 | |
| 銀色のコーラの空き缶に入っているフロッピーディスク | |
| 銀色のペンに入った覚せい剤 | |
| 金色の空き缶に詰められたヘロイン |
| // | |
| // STWKClientHook.m | |
| #import "STWKClientHook.h" | |
| #import <objc/message.h> | |
| struct STWKOrderedClientCluster{ | |
| struct WKPageLoaderClient loader; | |
| struct WKPagePolicyClient policy; | |
| struct WKPageFormClient form; |
| # 厨2病フレーズだけで記述できるプログラミング言語 のイメージ | |
| 何ッ () | |
| もしも それ が 真実 なの ならば——— | |
| これ は 大変なことになるぞ! (いや?)\ | |
| まぁ…… いい… | |
| ククク…… 見せてもらおうじゃないか…… ←\ | |
| 旋律 の 傀儡師 の 実力とやらを! # TODO なぜだ!? 動く!? | |
| use v6; | |
| class CA { | |
| has @.data; | |
| has @.rule; | |
| method new ($rule, $length, $population) { | |
| my @data = (1 xx $population, 0 xx $length - $population).pick(*); | |
| my @rule = $rule.fmt("%08b").flip.comb.map({.Int}); | |
| self.bless(*, data => @data, rule => @rule); |