('.ppt' '.pptx' '.doc', '.docx', '.xls', '.xlsx')
Format :
http://view.officeapps.live.com/op/view.aspx?src=[ONLY_OFFICE_FILE_URL_ENCODED]
| server { | |
| listen 80; | |
| # maps p8080.example.com -> localhost:8080 | |
| server_name ~^p(?<port>[^.]+)\.example\.com$; | |
| location / { | |
| proxy_pass http://localhost:$port; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Real-IP $remote_addr; |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(const MyApp()); | |
| class MyApp extends StatelessWidget { | |
| const MyApp({super.key}); | |
| static const String _title = 'Flutter ListView Sample'; | |
| @override |
I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.
So below I made a list of leetcode problems that are as close to grokking problems as possible.
| import sys | |
| import glob | |
| import ruamel.yaml | |
| yaml = ruamel.yaml.YAML() | |
| def main(): | |
| # python3 pubspec_base_sync.py ../pubspec_base_android.yaml ../pubspec_base_android_huawei.yaml |
Page 47
This kind of mindset is crucial to managing your career, because when you start to think of yourself as a business, you start to make good business decisions.
Page 52
Every step you take without a clear direction is a wasted step. Don’t randomly walk through life without a purpose for your career.
Your big goal should be something not too specific, but clear enough that you can know if you’re steering toward it or not. Think about what you want to ultimately do with your career.
| import 'package:flutter/material.dart'; | |
| import 'dart:math' as math; | |
| import 'dart:async'; | |
| void main() => runApp(new MyApp()); | |
| class MyApp extends StatelessWidget { | |
| // This widget is the root of your application. | |
| @override | |
| Widget build(BuildContext context) { |
| // No Security | |
| { | |
| "rules": { | |
| ".read": true, | |
| ".write": true | |
| } | |
| } |
| { | |
| "chat": { | |
| // the list of chats may not be listed (no .read permissions here) | |
| // a chat conversation | |
| "$key": { | |
| // if the chat hasn't been created yet, we allow read so there is a way | |
| // to check this and create it; if it already exists, then authenticated | |
| // user (specified by auth.id) must be in $key/users |