Skip to content

Instantly share code, notes, and snippets.

View billyjov's full-sized avatar
😉
Keep Smiling

Billy Lando billyjov

😉
Keep Smiling
View GitHub Profile
@billyjov
billyjov / gist:d859c3fb860c7d8cbb600711905b4b81
Last active April 26, 2021 23:52 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

Update an existing fork

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo

git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git

@billyjov
billyjov / README.md
Created December 29, 2017 22:25
Delete node_modules folder on windows

npm install -g rimraf
rimraf node_modules

@billyjov
billyjov / rsaauth.md
Created March 12, 2018 01:55
Can't login into typo3 backend caused by rsaauth error.

Error Message

  • Error type: 500 Internal server error
  • Error message: No OpenSSL backend could be obtained for rsaauth
  • Error description: Login into TYPO3 is not possible anymore, as no OpenSSL backend for rsaauth is available.

Possible causes

  • Extension rsaauth is not available locally
  • Open ssl is not available or enabled on current php installation

Possible solutions

@billyjov
billyjov / ngrxintro.md
Created October 22, 2018 17:37 — forked from btroncone/ngrxintro.md
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on egghead.io!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

@billyjov
billyjov / intro.html
Last active May 5, 2020 13:21
Code exemple de la vidéo sur le HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Liste d'employés</title>
</head>
<body>
<h1>Informations employés</h1>
@billyjov
billyjov / css-ellipsis-tuto.md
Created May 8, 2020 16:56
Code pour la video sur le css text-overflow: ellipsis

code HTML

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
@billyjov
billyjov / tuto-intro-css.md
Created May 12, 2020 14:50
le code produit pendant la video sur le css https://bit.ly/2ySxX0y

code HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
 Document
@billyjov
billyjov / clean-prestashop-db.sql
Last active December 15, 2021 23:23 — forked from julienbourdeau/clean-prestashop-db.sql
Clean PrestaShop database - Drop old and unless data
# Delete all logs
TRUNCATE ps_log;
# DELETE logs with date
DELETE FROM ps_log WHERE date_add < '2021-09-14 18:00:00';
# Delete old connection data (only used for stats)
# change 2016-02-01 00:00:00 according to you needs
import { AsyncPipe } from "@angular/common";
import { Component } from "@angular/core";
import { takeUntilDestroyed, toObservable } from "@angular/core/rxjs-interop";
import { injectNetwork } from "ngxtension/inject-network";
import {
distinctUntilChanged,
map,
skipWhile,
startWith,
switchMap,