Skip to content

Instantly share code, notes, and snippets.

View marcelo-michels's full-sized avatar
🏠
Working from home

Marcelo Michels marcelo-michels

🏠
Working from home
View GitHub Profile
@marcelo-michels
marcelo-michels / create_repo_labels.sh
Created June 23, 2022 12:40 — forked from liuderchi/create_repo_labels.sh
To Create Labels for your Repo
#!/bin/bash
set -e
# NOTE to create labels for your repo
# to support types from commit message guide (feat, fix, docs, style, refactor, test, chore)
# by hitting GitHub API v3
#
# https://developer.github.com/v3/issues/labels/#create-a-label
# https://gist.github.com/caspyin/2288960
db.runCommand({ dbStats: 1, scale: 1024 * 1024 * 1024 })
<subsystem xmlns="urn:jboss:domain:undertow:3.1">
<buffer-cache name="default"/>
<server name="default-server">
<http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true"/>
<https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/>
<host name="default-host" alias="localhost">
<location name="/" handler="welcome-content"/>
<filter-ref name="server-header"/>
<filter-ref name="x-powered-by-header"/>
<filter-ref name="Access-Control-Allow-Origin"/>
@marcelo-michels
marcelo-michels / module.xml
Last active August 18, 2018 22:14
Wildfly DataSource para PostgreSQL
<!-- {wildfly_dir}\modules\system\layers\base\org\postgresql\main\module.xml -->
<!-- Na mesma pasta do module.xml é preciso adicionar o driver jdbc do PostgreSQL condizente ao nome em resource-root path -->
<!-- JAR Download: http://central.maven.org/maven2/org/postgresql/postgresql/9.4.1211/postgresql-9.4.1211.jar -->
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.0" name="org.postgresql">