Skip to content

Instantly share code, notes, and snippets.

View Redouane64's full-sized avatar

Redhouane Sobaihi Redouane64

View GitHub Profile
@Redouane64
Redouane64 / Aggregates.Bill.md
Created November 3, 2022 08:26 — forked from amantinband/Aggregates.Bill.md
Buber Dinner Domain Aggregates

Domain Aggregates

Bill

class Bill
{
    // TODO: Add methods
}
Import-Module posh-git
Import-Module oh-my-posh
Import-Module -Name Terminal-Icons
Set-PoshPrompt -Theme ~/Documents/WindowsPowerShell/craver.omp.json
@Redouane64
Redouane64 / node_nginx_ssl.md
Created August 29, 2020 18:40 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading;
using System.Threading.Tasks;
@Redouane64
Redouane64 / AdjacencyMatrixGraphImp.cpp
Created December 29, 2018 15:07 — forked from arrayed/AdjacencyMatrixGraphImp.cpp
Adjacency Matrix Graph Implementation in C++
//============================================================================
// Name : AdjacencyMatrixGraphImp.cpp
// Author : Amritpal Singh
// Copyright : arrayed.net
// Description : Array based Adjacency Matrix Graph Implimentation
//============================================================================
#include <iostream>
#include <vector>
#include <string>
@Redouane64
Redouane64 / compiling_building_c_cpp_notes.md
Created May 15, 2018 15:32 — forked from gubatron/compiling_building_c_cpp_notes.md
Things to remember when compiling and linking C/C++ programs

Things to remember when compiling/linking C/C++ software

by Angel Leon. March 17, 2015.

Include Paths

On the compilation phase, you will usually need to specify the different include paths so that the interfaces (.h, .hpp) which define structs, classes, constans, and functions can be found.

With gcc and llvm include paths are passed with -I/path/to/includes, you can pass as many -I as you need.

In Windows, cl.exe takes include paths with the following syntax: /I"c:\path\to\includes\ you can also pass as many as you need.

@Redouane64
Redouane64 / enable_bitstream_compression.xdc
Created April 19, 2018 14:04 — forked from imrickysu/enable_bitstream_compression.xdc
Vivado enable bitstream compression
# From UG908
# Add the following command to xdc can make it take effect
set_property BITSTREAM.GENERAL.COMPRESS True [current_design]