Skip to content

Instantly share code, notes, and snippets.

View haggen's full-sized avatar

Arthur Corenzan haggen

View GitHub Profile
@haggen
haggen / cpf_cnpj_validators.rb
Last active October 21, 2019 14:40 — forked from gouvermxt/cpf_cnpj_validators.rb
CPF and CNPJ validators Rails 3+ style
# CPF and CNPJ validators Rails 3+ style
# By Arthur Corenzan <arthur@corenzan.com>
# Based on the work of André Camargo <andre@boaideia.inf.br>
#
# Copy this file to your initializers or lib directory, then apply like this:
#
# class Person
# ...
#
# validates :cpf, :cpf => true

Game Launchers Installation Script

This PowerShell script automates the installation of several game launchers and creates symbolic links to redirect their installation directories to a specified games folder.

Prerequisites

  • Windows PowerShell: Ensure that PowerShell is available on your system.
  • Administrator Privileges: The script requires elevated permissions to create symbolic links and modify system folders.