This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Extracts developer contribution data from local Git repositories (excluding GitHub) using the CodersRank repo_info_extractor tool. | |
.DESCRIPTION | |
This script automates the discovery and processing of Git repositories that are **not hosted on GitHub**. | |
It uses the repo_info_extractor to generate JSON contribution files, which can be uploaded to CodersRank to compute your developer profile score. | |
.REQUIREMENTS | |
- The executable `repo_info_extractor_windows.exe` should be in the same directory or in your PATH. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal enabledelayedexpansion | |
:: Define the list of directories to clean | |
set DIR_LIST=bin obj node_modules target\debug target\tmp .angular .terraform visuals\traces visuals\videos visuals\screenshots visuals\information | |
set ADDITIONAL_DIR_LIST=%temp% C:\Windows\Temp C:\Users\%username%\AppData\Local\Temp C:\ProgramData\Microsoft\Windows\WER\ReportQueue C:\Windows\SoftwareDistribution\Download | |
set VS_CODE_DIR=%APPDATA%\Code\Cache %APPDATA%\Code\Cookies %APPDATA%\Code\LocalStorage %APPDATA%\Code\User\workspaceStorage | |
set VS_DIR=C:\Users\%username%\AppData\Local\Microsoft\VisualStudio | |
set PYTHON_CACHE_DIR=%APPDATA%\Local\pip\cache | |
set GO_CACHE_DIR=%GOPATH%\pkg\mod |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
cosmosdb: | |
image: mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest | |
container_name: cosmosdb | |
deploy: | |
resources: | |
reservations: | |
cpus: "0.1" | |
memory: 1.5G |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SonarCloud Analysis | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ghToken = pm.globals.get("GH_PAT"); | |
const authorizationHeader = `Authorization: Bearer ${ghToken}`; | |
const fileName = "appveyor.yml"; | |
const pattern = "ps: $COVERLET_FORMATS = @('cobertura', 'lcov', 'opencover')"; | |
const issueTitle = "Run all coverage formats at once per project"; | |
const issueBody = "**Is your feature request related to a problem? Please describe.**\r\nRun all coverage formats at once per project\r\n\r\n**Describe the solution you'd like**\r\nReplace the actual code:\r\n```ps\r\n- ps: $TEST_PROJECTS = (Get-ChildItem -Path .\Tests\**\ -Recurse -Include *.csproj).Fullname\r\n- ps: $COVERLET_FORMATS = @('cobertura', 'lcov', 'opencover')\r\n- ps: |\r\n foreach($testProject in $TEST_PROJECTS)\r\n {\r\n foreach($coverletFormat in $COVERLET_FORMATS)\r\n {\r\n dotnet test $testProject /p:CollectCoverage=true /p:CoverletOutputFormat=\"$coverletFormat\"\r\n }\r\n }\r\n```\r\n\r\nWith the following code:\r\n```ps\r\n- ps: $TEST_PROJECTS = (Get-ChildItem -Path .\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ghToken = pm.globals.get("GH_PAT"); | |
const authorizationHeader = `Authorization: Bearer ${ghToken}`; | |
const workflowName = "build.yml" | |
const issueTitle = `Remove \`${workflowName}\``; | |
const repositories = pm.response.json(); | |
for (let i = 0; i < repositories.length; i++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:8.3-rc-apache | |
RUN apt-get update | |
RUN apt-get install --yes --force-yes cron g++ gettext libicu-dev openssl libc-client-dev libkrb5-dev libxml2-dev libfreetype6-dev libgd-dev libmcrypt-dev bzip2 libbz2-dev libtidy-dev libcurl4-openssl-dev libz-dev libmemcached-dev libxslt-dev | |
RUN a2enmod rewrite | |
RUN docker-php-ext-install mysqli | |
RUN docker-php-ext-enable mysqli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import jwt | |
import time | |
import sys | |
# Get PEM file path | |
if len(sys.argv) > 1: | |
pem = sys.argv[1] | |
else: | |
pem = input("Enter path of private PEM file: ") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Bump Version | |
on: | |
push: | |
branches: | |
- '*' | |
- '*/*' | |
- '**' | |
- '!main' | |
paths-ignore: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const jsonData = pm.response.json(); | |
const divPattern = "<div style=\"margin-top: 10px;\">"; | |
const imageUrl = (item) => `https://github-readme-stats-guibranco.vercel.app/api/pin/?username=${item.organization.login}&repo=${item.name}&theme=dark&bg_color=222222&show_owner=true&show_forks=false&show_issues=true`; | |
const link = (item) => `<a href="${item.url}" target="_blank">${image(item)}</a>`; | |
const image = (item) => `<img style="min-height: 100px; padding-right: 10px;" src="${imageUrl(item)}" alt="${item.full_name}" />`; | |
var html = divPattern; | |
for(let i = 0; i < jsonData.length; i++){ | |
html += link(jsonData[i]); |
NewerOlder