Skip to content

Instantly share code, notes, and snippets.

View kate-kate's full-sized avatar
🐛
hello world

Kate Kuznetsova kate-kate

🐛
hello world
  • RiverWay
  • Russia
View GitHub Profile
# Copyright 2018 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Конвенция Ruby on Rails. Оптимизация разработки
Феноменальная популярность Ruby on Rails в значительной степени обусловлена переходом к новым трендам и технологиям в нужный момент времени.
Но, к сожалению, технические преимущества с течением времени стачиваются. Поэтому необходимо подробное объяснение того, каким образом RoR не только продолжает оставаться актуальным, но расширяет свое влияние и сообщество.
Мое предположение, что несокрушимым фактором была и остается его противоречивая конвенция.
Эта конвенция активно развивалась последние десять лет, но большая часть основных идей осталась не тронута. Я не претендую на некую фундаментальную оригинальность этих идей. Главное достижение Rails - это объединение вокруг себя сильного сообщества людей с нестандартным подходом и мировоззрением о природе программирования и программистах.
Итак, вот девять самых важных столпов Rails-конвенции и того, как их воспринимает ваш покорный слуга:
.site {width: 90%}
font-size: 62,5% /* 1em = 1px */
also
result = target : context
https://github.com/node-inspector/node-inspector
http://nodejs.org/api/
http://howtonode.org/
https://github.com/nodejitsu/handbook
https://www.npmjs.org/
http://nodeup.com/
http://browsenpm.org/help
http://www.scoop.it/t/nodejs-code
http://openmymind.net/redis.pdf
http://habrahabr.ru/post/235531/
mysqldump -uroot -proot dbName < one_table.sql
или
mysql -uroot -proot
use dbName
source ~/one_table.sql
mysqldump -uroot -proot --where="column=val" dbName tableName > ~/result.sql
public function actionFindTables()
{
$res = [];
$text = file_get_contents('zl30.html', 'web');
$rows = preg_split('/=+/', $text);
foreach ($rows as $row) {
list($title, $body) = preg_split('/-{5,}/', $row);
$html = '<h1><br />' . $title . '<br /><br /></h1>';
$html .= '<table border="1" cellspacing="0" cellpadding="4"><colgroup span="5" width="85">';
$html .= '<thead><tr><td align="left" height="17">№</td><td align="left">Part No.</td>