Creation Date: June 2020
Status: in progress
My personal philosophy:
az login | |
$azureDevopsResourceId = "499b84ac-1321-427f-aa17-267ca6975798" | |
$token = az account get-access-token --resource $azureDevopsResourceId | ConvertFrom-Json | |
$authValue = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes(":" + $token.accessToken)) | |
$headers = @{ | |
Authorization = "Basic $authValue"; | |
'X-VSS-ForceMsaPassThrough' = $true | |
} |
name: Create Release Branch | |
on: | |
workflow_dispatch: | |
inputs: | |
versionName: | |
description: 'Name of version (ie 5.5.0)' | |
required: true | |
versionCode: | |
description: 'Version number (50500)' | |
required: true |
library(tabulizer) | |
library(dplyr) | |
setwd("~/GitHub/oleogate/data") | |
#Extrai tabelas do arquivo pdf. | |
#Esse arquivo foi baixado do seguinte link | |
# https://politica.estadao.com.br/blogs/estadao-verifica/wp-content/uploads/sites/690/2019/10/Ibama.pdf | |
#A tabela é extraída para um arquivo csv de forma a poder trabalhar melhor questões de encoding | |
tabulizer::extract_tables("ibama.pdf", output = "csv",outdir = getwd()) |
I wanted to build my keyboard just because, nowadays is almost as expensive to build one than buy one, but given that I have 3D printer, I could print the case and plate easily with some minor modifications.
#requires -module msterminalsettings,threadjob | |
###QUICKSTART | |
#FIRST: Run this in your Powershell Windows Terminal: Install-Module threadjob,msterminalsettings -scope currentuser | |
#THEN: iex (iwr git.io/invoketerminalgif) | |
#THEN: Get-Help Search-Giphy -Examples | |
#THEN: Get-Help Invoke-TerminalGif -Examples | |
#THEN: Search-Giphy | Format-List -prop * | |
#THEN: Invoke-TerminalGif https://media.giphy.com/media/g9582DNuQppxC/giphy.gif |
{ | |
"defaultProfile": "{79285a8e-036c-446f-8a9c-78994e34bf85}", | |
"initialRows": 30, | |
"initialCols": 120, | |
"alwaysShowTabs": true, | |
"showTerminalTitleInTitlebar": true, | |
"showTabsInTitlebar": true, | |
"requestedTheme": "dark", | |
"profiles": [ | |
{ |
function GetUrl() { | |
param( | |
[string]$orgUrl, | |
[hashtable]$header, | |
[string]$AreaId | |
) | |
# Build the URL for calling the org-level Resource Areas REST API for the RM APIs | |
$orgResourceAreasUrl = [string]::Format("{0}/_apis/resourceAreas/{1}?api-preview=5.0-preview.1", $orgUrl, $AreaId) |
static void Main(string[] args) | |
{ | |
var input = new int[]{4, 5, 2, 3, 4, 1}; | |
var memory = new Dictionary<int, int>(); | |
var results = new List<(int idx1, int idx2)>(); | |
for (var i = 0; i < input.Length; i++) | |
{ | |
if (memory.ContainsKey(input[i])) | |
results.Add((memory[input[i]], i)); |
// ==UserScript== | |
// @name MVP Gratidao | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description add #gratidao to all messages on whatsapp web | |
// @author You | |
// @match https://web.whatsapp.com/ | |
// @grant none | |
// ==/UserScript== |