Skip to content

Instantly share code, notes, and snippets.

Brah Bassim brahbassim

Block or report user

Report or block brahbassim

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
Group 1
Comments : 10/20
Algo : 12/20
Code clean : 14/20
Repository presentation : 10/20
----------------------- = 11,5/20
Group 2
Comments : 8/20
brahbassim / delete-confirm.js
Last active Jul 21, 2018
A gist to create confirmation js with sweet alert
View delete-confirm.js
// Add .delete-confirm class to your delete button or href
// Swal
$('.delete-confirm').on('click', function(e) {
var href = this;
title: "Êtes-vous sûr?",
text: "Après suppression l'article ne sera plus accessible",
View gist:1ddb10f3668f89bab3e704e6258f6d83
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^devarts\.io$ [OR]
RewriteCond %{HTTP_HOST} ^www\.devarts\.io$
RewriteRule ^(.*)$$1 [R,L]
You can’t perform that action at this time.