Skip to content

Instantly share code, notes, and snippets.

View sgohl's full-sized avatar

sgohl sgohl

  • Dresden, Saxony, Germany
View GitHub Profile
{
"clientId": "https://sentry.mydomain.dev/saml/metadata/sentry/",
"name": "sentry",
"description": "",
"rootUrl": "",
"adminUrl": "",
"baseUrl": "",
"surrogateAuthRequired": false,
"enabled": true,
"alwaysDisplayInConsole": true,
<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
Destination="https://sentry.mydomain.dev/saml/acs/sentry/"
ID="ID_832558b8-2802-4fbc-86c2-006e36ec6f15"
InResponseTo="ONELOGIN_18e9a5356c774ca4e1c9651debea047a2d2aa4e0"
IssueInstant="2024-05-17T08:36:27.712Z"
Version="2.0"
>
<saml:Issuer>https://keycloak.mydomain.dev/realms/master</saml:Issuer>
<samlp:Status>
<md:EntityDescriptor entityID="https://keycloak.mydomain.dev/realms/master">
<md:IDPSSODescriptor WantAuthnRequestsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
<md:KeyDescriptor use="signing">
<ds:KeyInfo>
<ds:KeyName>8hRtIXlCgApq4eXEmijVhJJ75GhWeDMi5HNXf9poxe0</ds:KeyName>
<ds:X509Data>
<ds:X509Certificate>
MIICm...trimmed...
</ds:X509Certificate>
</ds:X509Data>
alias sail=./vendor/bin/sail
###
composer global require laravel/installer
laravel new example
## SAIL
composer require laravel/sail --dev
php artisan sail:install
sail up
@sgohl
sgohl / rocketchat-jira.js
Last active December 11, 2020 08:59 — forked from alexandrezia/rocketchat-jira.js
Rocket.Chat - Jira webhook
/*
Alexandre Zia
Credits:
This script adds functionality to the original code
Original code from: Jonathan Gotti (malko) : https://github.com/malko/rocketchat-jira-hook/blob/master/jira-rocketchat-hook.js
*/
/*jshint esnext:true*/
@sgohl
sgohl / sensu.yml
Last active April 3, 2020 12:20
sensu swarm
version: "3.7"
services:
backend:
image: sensu/sensu:latest
networks:
- traefik
- default
volumes:
@sgohl
sgohl / rocketchat.yml
Created February 21, 2020 13:19
rocketchat swarm
version: "3.6"
x-mongo: &mongo
image: docker.io/mongo:3
hostname: '{{.Service.Name}}'
volumes:
- mongo:/data/db
- dumps:/dumps
command: mongod --replSet rs0
@sgohl
sgohl / .htaccess
Created August 26, 2019 14:12 — forked from seoagentur-hamburg/.htaccess
Die optimale .htaccess-Datei für mehr Speed und Sicherheit
# ----------------------------------------------------------------------
# | Komprimierung und Caching |
# ----------------------------------------------------------------------
# Serve resources with far-future expires headers.
#
# (!) If you don't control versioning with filename-based
# cache busting, you should consider lowering the cache times
# to something like one week.
#
@sgohl
sgohl / wrap setuid binary
Created July 24, 2019 20:40
wrap setuid binary
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
int main()
{
setuid( 0 );
system( "/path/to/binary" );
return 0;
https://github.com/lovell/sharp
https://github.com/thumbor/thumbor
https://github.com/Pixboost/transformimgs
https://github.com/Pixboost/transformimgs#install
https://github.com/gumlet/php-image-resize
https://imagekit.io/
https://github.com/spacechop/spacechop