- ボールみたいなソファ
- 椅子(アーロン、オカムラ...etc)
- パーティション有無
- マルチモニタ数
- キーボード提供
- 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
class Nyan | |
def replace_method(a, b) | |
(class << self; self end).module_exec do | |
alias_method "#{a}_backup", a | |
alias_method "#{b}_backup", b | |
alias_method b, "#{a}_backup" | |
alias_method a, "#{b}_backup" | |
end | |
end |
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
# -*- coding: utf-8 -*- | |
module StringsOfJewelve | |
COLOR_NUMBERS = (0..7).to_a | |
def to_jewelve | |
return self.split('').map(&:to_random_colored).shuffle.join | |
end | |
def to_random_colored |
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
.gist { | |
color: #000; | |
} | |
.gist div { | |
padding: 0; | |
margin: 0; | |
} | |
.gist .gist-file { |
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
(\ (\ | |
(,, 0 ω 0) < Github | |
(/ (/ \) \) |
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 ruby | |
require 'thor' | |
class NginxConf < Thor | |
desc 'register PORT', 'install new config file' | |
option :prefix, type: :string, default: "/usr/local" | |
def register(port) | |
root = Dir::pwd | |
project = root.split(/\//).last |
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
use strict; | |
use warnings; | |
use Compress::Raw::Zlib; | |
my $file_name = shift; | |
my $opt_name = "glitched_".$file_name; | |
open (FH, $file_name) or die "$!"; | |
binmode FH; | |
my $hoge = *FH; |
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
sudo apt-get install libjpeg-dev libtiff-dev libpng-dev giflib-dev libttf-dev libfreetype6-dev | |
sudo cpan -i Imager |
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
package Acme::UuuuNyaaa; | |
use strict; | |
use warnings; | |
sub new{ | |
my $class = shift; | |
my $self = bless {}, $class; | |
return $self; |
godのインストール
sudo gem install god
godの起動
$ god -c god.rb
NewerOlder