Skip to content

Instantly share code, notes, and snippets.

View youcefmegoura's full-sized avatar
🤸
Working from home

Youcef Megoura youcefmegoura

🤸
Working from home
View GitHub Profile
@youcefmegoura
youcefmegoura / Vagrantfile
Created April 11, 2026 09:20
Vagrant file to use Ubuntu preconfigured with all DevOps tools
load 'variables.rb'
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/jammy64"
config.vm.box_version = "20241002.0.0"
config.vm.synced_folder ".", "/vagrant"
config.vm.hostname = "ubuntu-vm"
config.vm.network "public_network",
@youcefmegoura
youcefmegoura / .env
Created December 9, 2025 17:33
Nokia Fastmile Gateway 7 Reverse Engineering Authentication
# Router Configuration
ROUTER_HOSTNAME=192.168.1.1
ROUTER_USERNAME=admin
ROUTER_PASSWORD=JST3gwWvoTg3iw
# Server Configuration
PORT=3000
NODE_ENV=development
# SMS Scheduler Configuration
@youcefmegoura
youcefmegoura / pipeline.yml
Created June 18, 2025 07:59
Github Action for telitem/consentia project
name: Consentia API Pipeline
on:
push:
paths:
- src/**
- pom.xml
- Dockerfile
- .github/workflows/**
- compose/**
branches:

Exporting and importing postgres database


Exporting

Access to wallix server

  • Connect to Wallix X2Go .
  • Connect to server via ssh
# ssh -t [userName]@server
@youcefmegoura
youcefmegoura / LinkedList.ts
Last active December 25, 2022 12:23
Linked List TypeScript
class LinkedListNode {
constructor(public value: any, public next: object){}
}
class LinkedList {
public head: LinkedListNode | any;
public tail: LinkedListNode | any;
public length: number;
constructor(value: any) {
this.head = new LinkedListNode(value, null);
@youcefmegoura
youcefmegoura / InvoiceGenerateV2.java
Last active April 2, 2021 17:07
Worked but still AP problem !!!
/******************************************************************************
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *