- Лянок – Belarus is famous for linen. You can buy here linen tableclothes, towels, and other linen goods. This place also sells traditional straw dolls (https://udf.by/english/featured-stories/189584-5-traditional-souvenirs-to-bring-from-belarus.html)
- Антиквар – flea market
- Подземка – post cards with Minsk, t-shirts, magnets etc.
- Галерея Славутасци – straw souvenirs (https://udf.by/english/featured-stories/189584-5-traditional-souvenirs-to-bring-from-belarus.html)
- пл. Свободы - a bucnh of souvenir shops located in this area
- Кирмаш – souvenir shop (handmade linen shirts, magnets)
- Central Book Store – post cards, books (check out Гэта Беларусь дзетка)
- [ГУМ](https://goo.gl/maps/2KVgGC
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
PROMPT='%{$fg[magenta]%}%c %{$fg[green]%}» %{$reset_color%}' | |
RPROMPT='%{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%}' | |
ZSH_THEME_GIT_PROMPT_PREFIX=" #" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="" | |
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✓%{$reset_color%}" |
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
root = true | |
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
indent_style = tab | |
indent_size = 2 |
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 (c) 2019, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override |
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
Map<String, int> map = {}; | |
int id = 0; | |
int getIdOrCreate(String key) { | |
if (map.containsKey(key)) { | |
return map[key]; | |
} else { | |
id++; | |
map[key] = id; | |
return id; |
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 'dart:io'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
const BE_HOST = 'https://api.dev'; | |
class AppConfig { | |
static String BE_ENDPOINT; | |
} |
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
{ | |
"JSON Serializable": { | |
"prefix": "jsons", | |
"body": [ | |
"factory $1.fromJson(Map<String, dynamic> data) => _$$1FromJson(data);", | |
"Map<String, dynamic> toJson() => _$$1ToJson(this);" | |
] | |
}, | |
"JSON Annotation": { | |
"prefix": "jsona", |
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 'dart:io'; | |
import 'dart:async'; | |
StreamTransformer<T, T> interrupt<T>() { | |
return StreamTransformer.fromHandlers(handleData: (data, sink) { | |
stdin.readLineSync(); | |
sink.add(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
import 'package:flutter/material.dart'; | |
class Service { | |
final String authToken; | |
Service({this.authToken}); | |
getData() async { | |
if (authToken == null) { | |
fetchAnonymous(); | |
} else { |
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 Storage<T> { | |
final _internal = <Type, T>{}; | |
void add(T value, [Type? type]) { | |
_internal[type ?? T] = value; | |
} | |
T get<T>() { | |
return _internal[T] as T; | |
} |
OlderNewer