This file contains hidden or 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
| version: '2.2' | |
| services: | |
| es01: | |
| image: docker.elastic.co/elasticsearch/elasticsearch:7.11.1 | |
| container_name: es01 | |
| environment: | |
| - node.name=es01 | |
| - cluster.name=es-docker-cluster | |
| - discovery.seed_hosts=es02,es03 | |
| - cluster.initial_master_nodes=es01,es02,es03 |
This file contains hidden or 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
| 0xDC01dD7cfC3644B4F1d73d193CeDb5aC90975055 |
This file contains hidden or 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
| 0xc0DdC26d1E14B557C378BcA157C8ac584f29bB13 |
This file contains hidden or 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
| Flutter Resources | |
| Documentation: https://docs.flutter.io/ | |
| Github: https://github.com/flutter/flutter | |
| StackOverflow: https://stackoverflow.com/questions/tagged/flutter | |
| Gitter: https://gitter.im/flutter/flutter | |
| Effective Dart Guide: https://www.dartlang.org/guides/language/effective-dart | |
| Dart Tips: https://www.dartlang.org/resources/dart-tips | |
| Flutter FAQ: https://flutter.io/faq/ | |
| Flutter Rendering: https://www.youtube.com/watch?v=UUfXWzp0-DU | |
| Flutter Engine: https://github.com/flutter/engine/wiki |
This file contains hidden or 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/cupertino.dart'; | |
| import 'package:flutter/material.dart'; | |
| class ShortcutsClone extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| final bottomNavigationBar = CupertinoTabBar( | |
| items: const <BottomNavigationBarItem>[ | |
| BottomNavigationBarItem( | |
| icon: Icon(CupertinoIcons.collections), |
This file contains hidden or 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
| version: '3.1' | |
| services: | |
| docker-postgres: | |
| image: postgres:11.1 | |
| container_name: docker-postgres | |
| volumes: | |
| - path/to/volume:/var/lib/postgresql/data | |
| environment: | |
| - POSTGRES_USER=docker | |
| - POSTGRES_DB=docker |
This file contains hidden or 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
| Expressions | |
| SELECT particle_speed / 2.0 AS half_particle_speed | |
| FROM physics_data | |
| WHERE ABS(particle_position) * 10.0 > 500; | |
| List all movies and their combined sales in millions of dollars ✓ |
This file contains hidden or 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 java.util.ArrayList; | |
| import java.util.Scanner; | |
| public class AddWithoutArithmeticOperator { | |
| public static void main(String[] args) { | |
| Scanner scanner = new Scanner(System.in); | |
| int numberOne = scanner.nextInt(); | |
| int numberTwo = scanner.nextInt(); | |
| int[] firstIntArray = new int[numberOne]; |
This file contains hidden or 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
| myqr.run( | |
| str(kr_id), | |
| version=10, | |
| level='H', | |
| picture=os.getcwd() + '/square.jpg', | |
| colorized=True, | |
| contrast=1.0, | |
| brightness=1.0, | |
| save_name='sqr.jpg', | |
| save_dir=os.getcwd() |