This file contains hidden or 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
| file -I sample-excel.xls | |
| sample-excel.xls: application/vnd.ms-excel; charset=binary |
This file contains hidden or 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
| "Condition": { | |
| "ArnLike": { | |
| "aws:SourceArn": "arn:aws:s3:*:*:s3-event-test" | |
| } |
This file contains hidden or 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
| ruby "2.1.2" | |
| gem 'rails', '4.1' |
This file contains hidden or 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
| gem "mongoid" | |
| gem "bson_ext" |
This file contains hidden or 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
| cat /etc/redhat-release | |
| Scientific Linux release 6.5 (Carbon) |
This file contains hidden or 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 AnonymousController < ApplicationController | |
| def index | |
| render "#{params[:directory]}/index" | |
| end | |
| end |
This file contains hidden or 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 CreateUsers < ActiveRecord::Migration | |
| def change | |
| create_table :users do |t| | |
| t.integer :name | |
| t.attachment :icon | |
| end | |
| end | |
| end |
This file contains hidden or 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
| Item.search(:created_at_gteq => "2014-09-10", :created_at_lteq => "2014-09-25").result.to_sql | |
| => "SELECT `items`.* | |
| FROM `items` | |
| WHERE ((`items`.`created_at` >= '2014-09-10 00:00:00' | |
| AND `items`.`created_at` <= '2014-09-25 00:00:00'))" |
This file contains hidden or 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
| require "oreore" | |
| require "thor" | |
| module Oreore | |
| class CLI < Thor | |
| desc "hello", "say 'hello world!'." | |
| def hello | |
| puts "Hello World!" | |
| end | |
| end |
This file contains hidden or 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
| <%= button_tag :type => "submit", :class =>"btn btn-default btn-s-md" do %> | |
| <i class="fa fa-search"></i>検索 | |
| <% end %> | |
| <%= button_tag sanitize('<i class="fa fa-search"></i>検索'), :type => "submit", | |
| :class =>"btn btn-default btn-s-md" %> | |
| <%= button_tag '<i class="fa fa-search"></i>検索'.html_safe, :type => "submit", |