Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Umut Yerebakmaz umutyerebakmaz

💭
I may be slow to respond.
Block or report user

Report or block umutyerebakmaz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View login.service.ts
import { Injectable, OnInit } from '@angular/core';
import { AccountsClient } from '@accounts/client';
@Injectable({
providedIn: 'root'
})
export class LoginService implements OnInit {
public userLoginStatus = 'defaultLoginData';
View client-password.d.ts
import { AccountsClient } from '@accounts/client';
import { LoginResult, CreateUser } from '@accounts/types';
import { AccountsClientPasswordOptions } from './types';
export declare class AccountsClientPassword {
private client;
private options;
constructor(client: AccountsClient, options?: AccountsClientPasswordOptions);
/**
* Create a new user.
*/
View client-password.d.ts
import { AccountsClient } from '@accounts/client';
import { LoginResult, CreateUser } from '@accounts/types';
import { AccountsClientPasswordOptions } from './types';
export declare class AccountsClientPassword {
private client;
private options;
constructor(client: AccountsClient, options?: AccountsClientPasswordOptions);
/**
* Create a new user.
*/
@umutyerebakmaz
umutyerebakmaz / shopping-cart.js
Last active Sep 9, 2019
Pure JavaScript Advanced shopping cart localstorage storage
View shopping-cart.js
const openCartBtn = document.querySelector(".open-cart");
const closeCartBtn = document.querySelector(".close-cart");
const clearCartBtn = document.querySelector(".clear-cart");
const cartDOM = document.querySelector(".cart");
const cartOverlay = document.querySelector(".cart-overlay");
const cartItems = document.querySelector(".cart-items");
const cartTotal = document.querySelector(".cart-total");
const checkoutTotal = document.querySelector(".checkout-total");
const itemTotal = document.querySelector(".item-total");
const cartContent = document.querySelector(".cart-content");
@umutyerebakmaz
umutyerebakmaz / laravel-websockets-ssl-lets-encrypt-certbot-supervisor-ubuntu.md
Last active Oct 10, 2019
Laravel-Websockets Deploy Nginx Virtualhost with SSL
View laravel-websockets-ssl-lets-encrypt-certbot-supervisor-ubuntu.md

Laravel-websockets, SSL Certificate, Let's Encrypt, Certbot, Supervisor, Digitalocean Ubuntu

I did two days work to run laravel-websockets on my server. It will be nice to share with you.

Steps

Step1 - Laravel Websockets Installation with composer

Laravel WebSockets can be installed via composer:

You can’t perform that action at this time.