~/add_cert.sh my.intra.net
you will be asked for your password to add thit to keychain
- downloads pem file
- adds to trusted root certificates
#!/usr/bin/env bash | |
# https://docs.docker.com/install/linux/docker-ce/ubuntu/ | |
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable" | |
sudo apt-get update | |
sudo apt-get install docker-ce | |
# https://docs.docker.com/compose/install/ |
#!/bin/bash | |
# This script assumes you have ssh access to a remote server | |
# Both databases are backed up to sql files in the same directory | |
# this script is executed from. | |
# Usage: | |
# 1. Make sure this file is executable with `chmod +x mysqlsync` | |
# 2. Set the credentials for the variables at the top | |
# (Remember, no spaces around the '=' sign) | |
# 3. Run it from a directory where you'd like the backup files to go: |
# Redirection http vers https | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name exemple.com; | |
location ~ /\.well-known/acme-challenge { | |
allow all; | |
} | |
location / { | |
return 301 https://exemple.com$request_uri; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
{ | |
"name": "nkaurelien", | |
"description": "Mise en ouvre de security-advisories ", | |
"keywords": [ | |
"security-advisories" | |
], | |
"require": { | |
"php": ">=7.3.0" | |
}, | |
"require-dev": { |
intallation de Oracle XE 18c
Installation de Oracle : telecharger avec le lien https://www.oracle.com/database/technologies/xe18c-downloads.html
ALTER SESSION SET nls_language = 'AMERICAN'; | |
-------------------------------------------------------- | |
-- Fichier cr�� - lundi-f�vrier-12-2024 | |
-------------------------------------------------------- | |
-------------------------------------------------------- | |
-- DDL for Table SALES | |
-------------------------------------------------------- | |
CREATE TABLE "SALES" |
#!/bin/bash | |
# Define aliases with clear descriptions | |
alias gi='git init' | |
alias gc='git clone' | |
alias gst='git status' | |
alias ga='git add' | |
alias gcmm='git commit -m' | |
alias gl='git log' |