Skip to content

Instantly share code, notes, and snippets.

@andrefauth
andrefauth / README.md
Created September 9, 2020 19:16 — forked from dpossas/README.md
Workshop Flutter

Flutter - 3 horas de HandsOn

Informações sobre o Workshop

  1. Construiremos um aplicativo para gerenciamento de coleções HotWheels e abordaremos:
FROM alpine:3.7
RUN echo 'http://dl-4.alpinelinux.org/alpine/edge/community/' >> /etc/apk/repositories
ENV PYTHON_VERSION=2.7.14-r2
ENV PY_PIP_VERSION=9.0.1-r1
ENV SUPERVISOR_VERSION=3.3.1
ENV NGINX_VERSION=1.12.2-r3
RUN mkdir /www && mkdir /www/myapp/
@andrefauth
andrefauth / postinstall.sh
Created July 5, 2017 13:58
Debian script configuration.
#!/bin/bash
#
# Debian postinstall.
# Author: Diogo Alexsander Cavilha <diogocavilha@gmail.com>
#
# su root
# ./postinstall
PS_USER="diogo"
PS_HOME="/home/$PS_USER"
@andrefauth
andrefauth / install.sh
Created June 8, 2017 18:14 — forked from ziadoz/install.sh
Install ChromeDriver and Selenium on Ubuntu 16.04
#!/usr/bin/env bash
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c
# http://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver
# http://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception
# http://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal
# http://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04
# Remove existing downloads and binaries so we can start from scratch.
rm ~/google-chrome-stable_current_amd64.deb
sudo apt-get install tasksel
sudo tasksel install lamp-server
sudo apt-get install php5-xdebug
sudo apt-get install kcachegrind
# php.ini
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 1
@andrefauth
andrefauth / Utility.lua
Created July 18, 2016 18:51 — forked from Singhak/Utility.lua
This is Utility for corona sdk to save data in table format just like user default or user preferences.
local json = require( "json" )
local M = {}
M.filename = "userdefault.json"
-- internal use
local function saveData( tabel )
local path = system.pathForFile( M.filename, system.DocumentsDirectory )
local file = io.open(path, "w")
if ( file ) then
print( "saveData: " )