Skip to content

Instantly share code, notes, and snippets.

View VanRoberMore's full-sized avatar

Vanderlei Roberto Moretto VanRoberMore

  • Código Fino
  • Cascavel - PR
View GitHub Profile
@VanRoberMore
VanRoberMore / Guardian JWT.md
Created May 14, 2022 15:20 — forked from nikneroz/Guardian JWT.md
Elixir + Phoenix Framework + Guardian + JWT. This is tutorial and step by step installation guide.

Elixir + Phoenix Framework + Guardian + JWT + Comeonin

Preparing environment

We need to generate secret key for development environment.

mix phoenix.gen.secret
# ednkXywWll1d2svDEpbA39R5kfkc9l96j0+u7A8MgKM+pbwbeDsuYB8MP2WUW1hf

Let's generate User model and controller.

@VanRoberMore
VanRoberMore / .. MediaCreationTool.bat ..md
Created October 6, 2021 12:27 — forked from AveYo/.. MediaCreationTool.bat ..md
Universal MediaCreationTool wrapper for all MCT Windows 10 versions from 1507 to 21H1 with business (Enterprise) edition support

Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
Preview
A powerful yet simple windows 10 / 11 deployment automation tool as well!

configure via set vars, commandline parameters or rename script like iso 21H2 Pro MediaCreationTool.bat
recommended windows setup options with the least amount of issues on upgrades already set
awesome keyboard focus dialogs to pick windows version and enhanced preset action

Auto Setup for upgrading directly with the auto-detected Edition, Language, Architecture *
- can troubleshoot auto setup failing by adding no_update to script name

@VanRoberMore
VanRoberMore / cloudSettings
Last active August 23, 2021 23:50 — forked from lucasnogueira/Post-RubyRails.md
Para aprender Ruby e Rails
{"lastUpload":"2021-08-23T23:50:58.931Z","extensionVersion":"v3.4.3"}
@VanRoberMore
VanRoberMore / Dockerfile
Created September 25, 2019 11:53 — forked from nirev/Dockerfile
Elixir docker deployment
ARG OTP_VERSION=22.0
##################################################
# Base - setup project and docker cache for build
FROM erlang:${OTP_VERSION}-alpine as base
# elixir expects utf8.
ENV ELIXIR_VERSION="v1.9.1" \
LANG=C.UTF-8
@VanRoberMore
VanRoberMore / compare_bike_view.ex
Created August 20, 2019 15:26 — forked from andrielfn/compare_bike_view.ex
Bike comparison with Phoenix Live View
defmodule GoBikesWeb.CompareSelectBikeView do
use Phoenix.LiveView
alias GoBikesWeb.Router.Helpers, as: Routes
alias GoBikes.Bikes
def render(assigns) do
GoBikesWeb.CompareView.render("show.html", assigns)
end
@VanRoberMore
VanRoberMore / win10_normalizer.ps1
Created May 24, 2019 15:50 — forked from icetee/win10_normalizer.ps1
Windows 10 remove unnecessary applications
#Uninstall 3D Builder
Get-AppxPackage *3dbuilder* | Remove-AppxPackage
#Uninstall Alarms and Clock
Get-AppxPackage *windowsalarms* | Remove-AppxPackage
#Uninstall Calculator
Get-AppxPackage *windowscalculator* | Remove-AppxPackage
#Uninstall Calendar and Mail: