Skip to content

Instantly share code, notes, and snippets.

View Tresor-Kasenda's full-sized avatar
🏠
Working from home

Tresor-Kasenda Tresor-Kasenda

🏠
Working from home
View GitHub Profile
{
// configure terminal
"terminal.explorerKind": "external",
"terminal.sourceControlRepositoriesKind": "external",
"terminal.external.windowsExec": "C:\\Program Files\\Git\\bin\\bash.exe",
"terminal.integrated.defaultProfile.osx": "Git Bash",
"terminal.integrated.cursorStyle": "line",
"editor.copyWithSyntaxHighlighting": false,
"diffEditor.ignoreTrimWhitespace": false,
"editor.emptySelectionClipboard": false,
@Tresor-Kasenda
Tresor-Kasenda / app.js
Created November 28, 2022 13:53 — forked from echr/app.js
Simple Laravel + Vue + Laravel Mix + Firebase Notification (PWA, Offline)
// FILE PATH: /resources/js/app.js
require('./bootstrap');
// Import Service Worker Registry
require('./extensions/sw-registry');
import Vue from 'vue';
...
@Tresor-Kasenda
Tresor-Kasenda / .angular-htaccess.md
Created January 21, 2021 14:20 — forked from julianpoemp/.angular-htaccess.md
Optimal .htaccess configuration for Angular 11, Angular 10, Angular 9, Angular 8, Angular 7, Angular 6, Angular 5 (and older) app in production incl. fix for the angular browser caching issue.

New generator

I created a new htaccess generator for angular apps that makes it easier for you to create the optimal htaccess file: https://julianpoemp.github.io/ngx-htaccess-generator/

The goal of this generator is to make the configuration process much easier. To make this possible I created a kind of interview mode with some questions. As an additional feature the generator supports adding exclusions for example if you have installed a blog in a subdirectory of your web application.

The generator 😁: https://julianpoemp.github.io/ngx-htaccess-generator/ The project: https://github.com/julianpoemp/ngx-htaccess-generator Place for issues and bug reports: https://github.com/julianpoemp/ngx-htaccess-generator/issues

<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width , initial-scale=1.0" charset="utf-8">
<title>1K Followers</title>
<link rel="stylesheet" type="text/css" href="myStyle.css">
</head>
<body onload="myFunction()" style="margin:0">
<div id="loadPage">
@Tresor-Kasenda
Tresor-Kasenda / Bonjour.py
Created April 12, 2018 12:01
Crée sur Android
import os
def bonjour():
print("salut ")
return 0
bonjour ()
@Tresor-Kasenda
Tresor-Kasenda / hello.py
Created April 11, 2018 21:10
Voici le premier code en python
import os
def hello():
printemps("bonjour tout le monde ")
#définition d'une fonction
voir = hello("Scott")