Skip to content

Instantly share code, notes, and snippets.

View nkaurelien's full-sized avatar

Aurelien Nkumbe nkaurelien

View GitHub Profile
This file has been truncated, but you can view the full file.
ALTER SESSION SET nls_language = 'AMERICAN';
--------------------------------------------------------
-- Fichier cr�� - lundi-f�vrier-12-2024
--------------------------------------------------------
--------------------------------------------------------
-- DDL for Table SALES
--------------------------------------------------------

INSTALLATION

COMMANDES

  1. Lancer sqlplus : le client shell de oracle
@nkaurelien
nkaurelien / security-advisories.composer.json
Last active February 6, 2023 04:13
MIse en ouvre de security-advisories . Adapter/compléter votre fichier composer.json
{
"name": "nkaurelien",
"description": "Mise en ouvre de security-advisories ",
"keywords": [
"security-advisories"
],
"require": {
"php": ">=7.3.0"
},
"require-dev": {
<!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">
@nkaurelien
nkaurelien / A Readme for Adding Certs.md
Created January 7, 2019 12:27 — forked from Artistan/A Readme for Adding Certs.md
Add new certificate (cert) from local/internal intranet to your mac

Add a cert to you macbook

USAGE

~/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
@nkaurelien
nkaurelien / lavaral nginx conf example
Last active September 19, 2022 18:32
lavaral nginx conf example avec redirection https
# 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;
@nkaurelien
nkaurelien / mysqlsync
Created December 7, 2018 20:40 — forked from samhernandez/mysqlsync
Sync remote mysql database to local over ssh
#!/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:
@nkaurelien
nkaurelien / install-docker.sh
Created November 20, 2018 07:52 — forked from dweldon/install-docker.sh
Install docker CE on Linux Mint 18.3
#!/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/