Skip to content

Instantly share code, notes, and snippets.

View ikourfaln's full-sized avatar
🏠
Working from home

Slimane IKOURFALN ikourfaln

🏠
Working from home
  • DXC Technology
  • Morocco
View GitHub Profile
@ikourfaln
ikourfaln / Grasshopper.cs
Last active November 13, 2022 15:42
Grasshopper Ayman
using System;
using System.Collections;
using System.Collections.Generic;
using Rhino;
using Rhino.Geometry;
using Grasshopper;
using Grasshopper.Kernel;
using Grasshopper.Kernel.Data;
@ikourfaln
ikourfaln / MainDashboardComponent.ts
Created April 28, 2022 15:21
MainDashboardComponent temp
import { Component } from '@angular/core';
import { map } from 'rxjs/operators';
import { Breakpoints, BreakpointObserver } from '@angular/cdk/layout';
import { Color, ScaleType } from '@swimlane/ngx-charts';
@Component({
selector: 'app-main-dashboard',
templateUrl: './main-dashboard.component.html',
styleUrls: ['./main-dashboard.component.scss']
})
@ikourfaln
ikourfaln / privacy-policy.md
Last active May 1, 2018 21:40
Pivacy policy

Centro Hyper Market Privacy Policy

This Privacy Policy describes how your personal information is collected, used, and shared when you visit or make a purchase from http://centro.solusglobus.com (the “Site”).

PERSONAL INFORMATION WE COLLECT

When you visit the Site, we automatically collect certain information about your device, including information about your web browser, IP address, time zone, and some of the cookies that are installed on your device. Additionally, as you browse the Site, we collect information about the individual web pages or products that you view, what websites or search terms referred you to the Site, and information about how you interact with the Site. We refer to this automatically-collected information as “Device Information.”

We collect Device Information using the following technologies:

@ikourfaln
ikourfaln / tos-centro.md
Created April 28, 2018 10:51
TOS of Centro Hyper Market

TERMS OF SERVICE


OVERVIEW

This website is operated by Centro Hyper Market. Throughout the site, the terms “we”, “us” and “our” refer to Centro Hyper Market. Centro Hyper Market offers this website, including all information, tools, and services available from this site to you, the user, conditioned upon your acceptance of all terms, conditions, policies, and notices stated here.

By visiting our site and/ or purchasing something from us, you engage in our “Service” and agree to be bound by the following terms and conditions (“Terms of Service”, “Terms”), including those additional terms and conditions and policies referenced herein and/or available by hyperlink. These Terms of Service apply to all users of the site, including without limitation users who are browsers, vendors, customers, merchants, and/ or contributors of content.

@ikourfaln
ikourfaln / functions.php
Created April 5, 2018 10:47
WooCommerce: Change a currency symbol from 'د.م.' to 'Dhs'
add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);
function change_existing_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case 'MAD': $currency_symbol = 'Dhs'; break;
}
return $currency_symbol;
}
@ikourfaln
ikourfaln / user-list.ts
Created January 7, 2018 01:02
UserList Model
export class UserList {
userId: string;
firstName: string;
lastName: string;
email: string;
phoneNumber: string;
roleName: string;
isLocked: boolean;
}
@ikourfaln
ikourfaln / auth.dto.ts
Created January 7, 2018 00:52
Roles keys
export const enum Roles {
Sales = 'Sales',
Pricing = 'Pricing',
Level3 = 'Level3',
Admin = 'Admin'
}