This file contains 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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"os" | |
"time" | |
"github.com/lestrrat-go/jwx/v2/jwa" | |
"github.com/lestrrat-go/jwx/v2/jwk" |
This file contains 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": "jonathan/sandbox", | |
"require": { | |
"slim/slim": "^4.14", | |
"slim/psr7": "^1.7", | |
"monolog/monolog": "^3.7", | |
"open-telemetry/opentelemetry-logger-monolog": "^1.0", | |
"open-telemetry/sdk": "^1.1", | |
"open-telemetry/exporter-otlp": "^1.1", | |
"symfony/http-client": "^7.1", |
This file contains 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
--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: demo | |
labels: | |
istio-injection: enabled | |
--- | |
apiVersion: v1 | |
kind: Service |
This file contains 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
<?php | |
namespace App\Security; | |
use OAT\Library\Lti1p3Core\Message\Launch\Validator\Result\LaunchValidationResultInterface; | |
use Symfony\Component\Security\Http\Authenticator\Passport\Badge\BadgeInterface; | |
class LtiBadge implements BadgeInterface | |
{ | |
/** @var LaunchValidationResultInterface */ |
This file contains 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
<?php | |
/** | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License | |
* as published by the Free Software Foundation; under version 2 | |
* of the License (non-upgradable). | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains 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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// opacity | |
opacity: 0.95, |
This file contains 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
<?php | |
require_once __DIR__ . '/vendor/autoload.php'; | |
use Jose\Component\Core\JWK; | |
use Jose\Component\Core\JWKSet; | |
use Jose\Easy\Build; | |
use Jose\Easy\Load; | |
use Jose\Component\KeyManagement\JWKFactory; |
This file contains 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
Some ideas for backend | |
# Approach | |
- BDD (DDD ?) | |
- obviously respect of PSR for open source visibility (ease contributions form any level) | |
# About Symfony usage | |
- very strong community | |
- well maintained and documented ready to use core/components (auth, rendering, console, etc) | |
- PSR standards implementations (even PSR7 if needed) |
This file contains 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
ZSH_THEME="nox" | |
plugins=(git composer docker-compose docker github go golang gulp history man npm sudo symfony2 yarn) | |
alias lll="ls -al" | |
alias composer='/usr/local/bin/composer.phar' | |
alias cdprojects="cd /home/nox/Dev/Projects/" | |
alias docker-stop-all="docker stop $(docker ps -a -q)" | |
alias docker-rm-all="docker rm $(docker ps -a -q)" | |
alias docker-rmi-all="docker rmi $(docker images -q)" |
This file contains 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
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )" | |
PROMPT='${ret_status} %{$fg[cyan]%}%d%{$reset_color%} $(git_prompt_info)' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |
NewerOlder