Skip to content

Instantly share code, notes, and snippets.

// 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
Using client-side OMX mux.
D/MediaOutputController(25376): attach(0x0, 0x88cc78c0, 0xb5cd6701)
D/MediaCodec(25376): MediaCodec callback for event 0
D/MediaCodec(25376): onMediaOutputControllEvent(VIDEO_FLAGS_SET, 0x87d2f55c, 4)
D/MediaCodec(25376): mVideoOutputFlags = 0x00000000
D/MediaOutputPolicy(25376): notifyAudioStateIfNeeded(0x00010003)
E/ACodec (25376): [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010
I/ExtendedACodec(25376): setupVideoEncoder()
W/ACodec (25376): do not know color format 0x7fa30c04 = 2141391876
W/ACodec (25376): do not know color format 0x7f000789 = 2130708361
From: http://www.labnol.org/software/wget-command-examples/28750/
How do I download an entire website for offline viewing? How do I save all the MP3s from a website to a folder on my computer? How do I download files that are behind a login page? How do I build a mini-version of Google?
Wget is a free utility – available for Mac, Windows and Linux (included) – that can help you accomplish all this and more. What makes it different from most download managers is that wget can follow the HTML links on a web page and recursively download the files. It is the same tool that a soldier had used to download thousands of secret documents from the US army’s Intranet that were later published on the Wikileaks website.
You mirror an entire website with wget
Mirror an entire website with wget
Spider Websites with Wget – 20 Practical Examples
@luisredondo
luisredondo / PreferenciasUsuario - Flutter
Last active June 2, 2019 16:08
Código para configurar facilmente las preferencias de usuario en una aplicación de flutter.
import 'package:shared_preferences/shared_preferences.dart';
/*
Recordar instalar el paquete de:
shared_preferences:
Inicializar en el main
final prefs = new PreferenciasUsuario();
await prefs.initPrefs();