Skip to content

Instantly share code, notes, and snippets.

View BenevidesLecontes's full-sized avatar

Benevides BenevidesLecontes

View GitHub Profile
@BenevidesLecontes
BenevidesLecontes / camera_frame_test.dart
Created October 17, 2021 19:26 — forked from roipeker/camera_frame_test.dart
very quick flutter test, to draw a frame in foreground of the camera.
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';
class CameraFrameTest extends StatefulWidget {
@override
_CameraFrameTestState createState() => _CameraFrameTestState();
}
class _CameraFrameTestState extends State<CameraFrameTest> {
CameraDescription firstCamera;
@BenevidesLecontes
BenevidesLecontes / youtube-dl.md
Created June 29, 2019 23:07
Using youtube-dl to download courses from Pluralsight

Download courses from learning sites with youtube-dl

You can download whole courses from an array of tutorial sites with the CLI tool youtube-dl. In the example further down I'm using my Pluralsight account to get videos from a course at their site. Here is a list of all supported sites that you can download from with this tool

The flags you have to supply may vary depending on which site you make a request to.

You can get a free 3 month trial to Pluralsight by signing up for free to Visual Studio Dev Essentials

Installation

@BenevidesLecontes
BenevidesLecontes / webpack.config.ts
Created February 12, 2018 20:19 — forked from qdouble/webpack.config.ts
Webpack 2 config for Angular2 with AOT and Production settings
/* tslint:disable: variable-name max-line-length */
import 'ts-helpers';
const {
HotModuleReplacementPlugin,
DefinePlugin,
ProgressPlugin,
NoErrorsPlugin,
optimize: {
CommonsChunkPlugin