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
import 'package:flutter/material.dart'; | |
import 'dart:async'; | |
void main() { | |
/// | |
/// Example 1 | |
/// | |
// final myStream = NumberCreator().stream; | |
// final subscription = myStream.listen( | |
// (data) => print('s: $data'), |
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
# sh fakeswap.sh 2048 | |
fakeswap.sh: 6: fakeswap.sh: Bad substitution | |
Внимание!!! Это bash-скрипт | |
# bash fakeswap.sh 2048 | |
# 1. Сохраняем скрипт как fakeswap.sh | |
# ----------------------------------- |
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
<?php | |
/* | |
Для работы с файлом urlrewrite.php в Bitrix есть класс CUrlRewriter. | |
Вот некоторые из его методов: | |
*/ | |
// | |
// Переменные |
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
define(['marionette', 'underscore'], function (Marionette, _) { | |
return Marionette.ItemView.extend({ | |
tagName: 'li', | |
className: 'gallery-item-view', | |
template: _.template('<a href="#" data-link="<%= link %>"><img src="<%= src %>" alt="<%= alt %>" /></a>'), | |
events: { | |
'click a': 'onClick' | |
}, |