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
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-4.0.0-0.rc3.git2.1.fc23.x86_64] (local build) | |
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org | |
=== START OF INFORMATION SECTION === | |
Device Model: Samsung SSD 850 PRO 256GB | |
Serial Number: S1SUNSAFA06649M | |
LU WWN Device Id: 5 002538 8a0713409 | |
Firmware Version: EXM01B6Q | |
User Capacity: 256,060,514,304 bytes [256 GB] | |
Sector Size: 512 bytes logical/physical |
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
=== Часть 1. Обзорная информация | |
== Обязательно посмотрите | |
http://en.wikipedia.org/wiki/Internet_media_type | |
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes или http://www.flickr.com/photos/girliemac/sets/72157628409467125 | |
http://api.rubyonrails.org/classes/ActionDispatch/Response.html | |
http://api.rubyonrails.org/classes/ActionDispatch/Request.html | |
== Документация по AJAX в jQuery |
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/python | |
# GistID: 3775979 | |
# | |
# This is a python script. You need a Python interpreter to run it. | |
# For example, ActiveState Python, which exists for windows. | |
# | |
# It can run standalone to convert files, or it can be installed as a | |
# plugin for Calibre (http://calibre-ebook.com/about) so that | |
# importing files with DRM 'Just Works'. | |
# |
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
<h3 class="title-text title-text-top0">Добавить отзыв</h3> | |
<%= form_for [@page, @comment] do |f| %> | |
<div class="row-form1 clear"> | |
<div class="col-1 fleft"> | |
<div class="row-form1 clear"> | |
<div class="row-form1-left fleft">Имя:</div> | |
<div class="row-form1-right fleft"><%= f.text_field :user_name %></div> | |
</div> | |
</div> | |
<div class="col-2 fleft"> |
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 AddNewFieldsToComments < ActiveRecord::Migration | |
def self.up | |
add_column :comments, :ip, :string | |
add_column :comments, :rate, :integer | |
add_column :comments, :email, :string | |
add_column :comments, :user_name, :string | |
add_column :comments, :description, :text | |
add_column :comments, :page_id, :integer | |
remove_column :comments, :title | |
remove_column :comments, :comment |