Skip to content

Instantly share code, notes, and snippets.

View marceloneppel's full-sized avatar

Marcelo Henrique Neppel marceloneppel

View GitHub Profile
@marceloneppel
marceloneppel / patch-vmware12.sh
Created May 24, 2018 19:42 — forked from ukos-git/patch-vmware12.sh
download and patch vmware 12.5.9 from mkubecek's repo
#!/bin/bash
#
# script for downloading and installing
# https://github.com/mkubecek/vmware-host-modules
#
# License GPL
#
CWD=$(pwd)
VMWARE_VERSION="workstation-12.5.9"
@marceloneppel
marceloneppel / accessing-virtualbox.md
Created May 25, 2018 17:38
Accessing your Virtualbox Guest from your Host OS

Accessing your Virtualbox Guest from your Host OS

As a developer you want to ping and access the webserver on your virtual machine. This is a very simple solution to enable the bridge to the guest VM.

Requirements

  • VirtualBox (latest version)
  • A guest operation system (e.g. Ubuntu)
@marceloneppel
marceloneppel / async_helper.dart
Created October 15, 2018 23:21 — forked from eduardocp/async_helper.dart
Helper to do async methods in other thread in flutter
import 'dart:isolate';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
enum AsyncState { idle, loading, running }
class AsyncMessage {
final Function asyncMethod;
List data;
SendPort sendPort;

Keybase proof

I hereby claim:

  • I am marceloneppel on github.
  • I am marceloneppel (https://keybase.io/marceloneppel) on keybase.
  • I have a public key ASA2VAN3QLIfp9ToJkmAKX7kU4nz-1UEKJc-xPtD4TjFRQo

To claim this, I am signing this object:

@marceloneppel
marceloneppel / draggable_custom_painter.dart
Created November 27, 2019 12:54 — forked from mjohnsullivan/draggable_custom_painter.dart
Handling draggable areas or elements drawn on a Flutter CustomPainter
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Draggable Custom Painter',
home: Scaffold(
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Draggable Custom Painter',
home: Scaffold(
@marceloneppel
marceloneppel / dump.sh
Created December 11, 2019 13:37
Dump PG Open Loyalty
docker exec -t openloyalty_db pg_dumpall -U openloyalty > dump.sql
@marceloneppel
marceloneppel / file.csv
Created December 24, 2019 04:51
Apache Beam Golang UDF
Marcelo Neppel
Henrique Neppel
@marceloneppel
marceloneppel / file.csv
Created December 24, 2019 05:03
Apache Beam Golang UDF - CSV
Henrique Neppel
@marceloneppel
marceloneppel / main.go
Created December 24, 2019 05:04
Apache Beam Golang UDF - Pipeline
package main
import (
"context"
"flag"
"reflect"
"github.com/apache/beam/sdks/go/pkg/beam"
_ "github.com/apache/beam/sdks/go/pkg/beam/io/filesystem/gcs"
"github.com/apache/beam/sdks/go/pkg/beam/io/textio"