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
# 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, |
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
Конвенция Ruby on Rails. Оптимизация разработки | |
Феноменальная популярность Ruby on Rails в значительной степени обусловлена переходом к новым трендам и технологиям в нужный момент времени. | |
Но, к сожалению, технические преимущества с течением времени стачиваются. Поэтому необходимо подробное объяснение того, каким образом RoR не только продолжает оставаться актуальным, но расширяет свое влияние и сообщество. | |
Мое предположение, что несокрушимым фактором была и остается его противоречивая конвенция. | |
Эта конвенция активно развивалась последние десять лет, но большая часть основных идей осталась не тронута. Я не претендую на некую фундаментальную оригинальность этих идей. Главное достижение Rails - это объединение вокруг себя сильного сообщества людей с нестандартным подходом и мировоззрением о природе программирования и программистах. | |
Итак, вот девять самых важных столпов Rails-конвенции и того, как их воспринимает ваш покорный слуга: |
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
.site {width: 90%} |
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
font-size: 62,5% /* 1em = 1px */ | |
also | |
result = target : context |
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
https://github.com/node-inspector/node-inspector |
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
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 |
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
http://habrahabr.ru/post/235531/ |
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
mysqldump -uroot -proot dbName < one_table.sql | |
или | |
mysql -uroot -proot | |
use dbName | |
source ~/one_table.sql |
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
mysqldump -uroot -proot --where="column=val" dbName tableName > ~/result.sql |
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
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> |
NewerOlder