Skip to content

Instantly share code, notes, and snippets.

View jboliveira's full-sized avatar
🏠
Working from home

Jader Oliveira jboliveira

🏠
Working from home
  • ABN AMRO Bank B.V.
  • Utrecht, the Netherlands
  • LinkedIn in/jaderbueno
View GitHub Profile
@jboliveira
jboliveira / FeatureName.cs
Created September 29, 2022 19:41
Power Platform CLI v1.18.4 - Hidden Feature Flags - bolt.system.FeatureName.cs
// bolt.system.FeatureName
public enum FeatureName
{
ModuleAdmin,
ModuleApplication,
ModuleConnection,
ModuleConnector,
ModuleData,
ModuleTool,
TestFeature,
@jboliveira
jboliveira / featureflags.json
Last active September 29, 2022 19:41
Power Platform CLI v1.18.4 - Hidden Feature Flags - featureflags.json
{
"colorOutput": "on",
"componentSettings": "on",
"enableDotetTemplate_PDPackageSdkStyle": "on",
"enablePAPortalTranslations": "off",
"moduleAdmin": "on",
"moduleApplication": "on",
"moduleConnection": "on",
"moduleConnector": "on",
"moduleData": "on",
@jboliveira
jboliveira / check-ssl-certificate-expiration.rb
Created March 12, 2021 16:38
Checks each server's certificate, and fails (exit 1) if it is either unreachable, or the certificate expires within 7 days.
#!/usr/bin/env ruby
#
# Checks each server's certificate, and fails (exit 1) if it is either
# unreachable, or the certificate expires within 7 days.
require 'time'
min_days_left = 7
servers = [
"one.example.com",
@jboliveira
jboliveira / how-to-generate-p12cert-without-mac.md
Last active March 12, 2021 16:37 — forked from jcward/Readme.txt
Generating iOS P12 / certs without Mac OSX Keychain (on linux, windows, etc)

How to Generate iOS P12 certs without MAC OSX

Steps to generate

  1. Install openssl via choco:
choco install openssl -y
@jboliveira
jboliveira / architectural-decision-records.md
Last active March 12, 2021 16:27
Markdown Architectural Decision Records

[short title of solved problem and solution]

  • Status: [proposed | rejected | accepted | deprecated | … | superseded by ADR-0005]
  • Deciders: [list everyone involved in the decision]
  • Date: [YYYY-MM-DD when the decision was last updated]

Technical Story: [description | ticket/issue URL]

Context and Problem Statement

@jboliveira
jboliveira / applications-catalog.csv
Last active March 12, 2021 16:27
Applications Catalog
Application Description Category Platform Website
Insomnia HTTP and GraphQL tool belt. Postman alternative. API Dev Tool MAC/WIN/LINUX/OSS https://insomnia.rest/
Postman API Development tool belt. API Dev Tool MAC/WIN/LINUX https://www.getpostman.com/
Postwoman HTTP, WebSocket and GraphQL tool belt. Postman alternative. API Dev Tool OSS/PWA https://github.com/liyasthomas/postwoman
Stoplight Studio OpenAPI v2 & v3 API Designer. API Dev Tool MAC/WIN/LINUX/PWA https://stoplight.io/
Homebrew Package manager. Dev Tool MAC/LINUX https://brew.sh/
Node.js JavaScript runtime built on Chrome's V8 JavaScript engine. Dev Tool MAC/WIN/LINUX https://nodejs.org/en/
VS Code Cross-platform IDE. Source-code editor developed. Dev Tool MAC/WIN/LINUX https://code.visualstudio.com/
VS Community Full-featured integrated development environment (IDE) for Android, iOS, Windows, web, and cloud. Dev Tool MAC/WIN https://visualstudio.microsoft.com/
Xcode IDE. Mac OS & iOS development. Dev Tool MAC https://developer.apple.com/xcode/
@jboliveira
jboliveira / books-lambda3.tsv
Last active March 12, 2021 16:28 — forked from akamud/NovosLivros.tsv
Books Lambda3
Book Author
Mastering Vim Quickly Jovica Ilic
Domain-Driven Design: Tackling Complexity in the Heart of Software Eric Evans
Building Microservices Sam Newman
Cracking the Coding Interview Gayle Laakmann McDowell
Art of Scalability: Scalable Web Architecture, Processes, and Organizations for the Modern Enterprise Martin L. Abbott, Michael T. Fisher
Building Microservices with ASP.NET Core: Develop, Test, and Deploy Cross-Platform Services in the Cloud Kevin Hoffman
Kotlin in Action Dmitry Jemerov, Svetlana Isakova
xUnit Test Patterns: Refactoring Test Code Gerard Meszaros
Reactive Design Patterns Roland Kuhn Dr., Brian Hanafee, Jamie Allen
@jboliveira
jboliveira / install-powershell-git-extras.md
Last active March 12, 2021 16:25
Install PowerShell with Git integration + Windows Subsystem
@jboliveira
jboliveira / execute-ab-windows.ps1
Last active March 12, 2021 16:14
Install/Run Apache Bench tool (ab) on Windows.
# 1. Download apache binaries from an apache recommended download site (https://www.apachelounge.com/download/)
# 2. Extract the content using zip tool
# 3. Copy the /bin/ab.exe to a folder of your choice (i.e.: c:\tools)
# 4. Start a command prompt and run it
.\ab.exe -n 100 -c 5 http://yourserver/yourapi
# content.json contains the json you want to post
# -p means to POST it
# -H adds an Auth header (could be Basic or Token)
@jboliveira
jboliveira / set-chmod-400-windows.ps1
Last active March 12, 2021 16:16 — forked from rjmii/chmod-400.ps1
Set permission of file equivalent to chmod 400 on Windows.
$path = "[FILE_PATH]"
icacls.exe $path /reset
icacls.exe $path /GRANT:R "$($env:USERNAME):(R)"
icacls.exe $path /inheritance:r