Took a year and a half
- careful planning
| from parse import parse | |
| import numpy as np | |
| filename = 'input' | |
| filepath = f'data/{filename}.plain' | |
| positions = [] | |
| velocities = [] | |
| pattern = 'position=<{px},{py}> velocity=<{vx},{vy}>' |
| let config = URLSessionConfiguration.default | |
| let session = URLSession(configuration: config) | |
| let url = URL(string: "https://httpbin.org/anything")! | |
| let task = session.dataTask(with: url) { data, response, error in | |
| // ensure there is no error for this HTTP response | |
| guard error == nil else { | |
| print ("error: \(error!)") | |
| return |
| <IfModule mod_ssl.c> | |
| <VirtualHost _default_:443> | |
| ServerAdmin ***@***.*** | |
| ServerName woo.local | |
| ServerAlias www.woo.local | |
| DocumentRoot /var/www/woo.local | |
| # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, | |
| # error, crit, alert, emerg. | |
| # It is also possible to configure the loglevel for particular |
course by Google
main topics
Lesson 1: The Flutter Framework
| final _color1 = Colors.red; | |
| final _color2 = Colors.blueGrey[900]; | |
| final _color3 = Colors.amberAccent; | |
| final _color4 = Colors.pink.shade50; | |
| //final _color5 = Colors.lightRed; | |
| final _color6 = Colors.transparent; | |
| final _color7 = const Color(0xFF013487); | |
| final _color8 = const Color(0xFF4CD132); | |
| //final _color9 = const Color(0xFF0134GG); |
| var str = "Hello, playground" | |
| var strings = [String]() | |
| str.characters.map{strings.append(String($0))} |