Skip to content

Instantly share code, notes, and snippets.

View pierratono's full-sized avatar
🦉
Developing for the world !

Mahoro Pierratono Costa pierratono

🦉
Developing for the world !
View GitHub Profile
@pierratono
pierratono / analytics_report.js
Created July 13, 2023 09:13
format google analytics report data
const d = [
[
{
"audienceId": "0"
},
{
"city": "Kigali"
},
{
"eventName": "first_visit"
@pierratono
pierratono / pom.xml
Created May 27, 2023 13:23
springboot pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.6</version>
version: "3.4"
services:
accountingservice:
image: domdom58/accounting-rwanda
ports:
- "4000:80"
bookingservice:
image: hugues0/bookingservice
ports:
@pierratono
pierratono / deploy_on_server.md
Created June 29, 2022 10:13
Centos Deployment commands

Install Git

yum install git

git clone --repo-url

git pull

Deploy React Project

npm i -g pm2 serve

@pierratono
pierratono / install_mssql_ubuntu_v20.txt
Created June 26, 2021 18:13
Installing MSSQL on Ubuntu v20.04
sudo apt-get purge php7.x # Replace 7.x with previous version
sudo su
add-apt-repository ppa:ondrej/php -y
apt-get update
apt-get install php8.0 php8.0-dev php8.0-xml -y --allow-unauthenticated
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
curl https://packages.microsoft.com/config/ubuntu/20.10/prod.list > /etc/apt/sources.list.d/mssql-release.list
exit