Here are the techs I already used.
❤️ Mastered
... Doesn't mastered, but advanced utilisation
😕 Already used but doesn't mastered
#example.com/page will display the contents of example.com/page.html | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME}.html -f | |
RewriteRule ^(.+)$ $1.html [L,QSA] | |
#301 from example.com/page.html to example.com/page | |
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*\.html\ HTTP/ | |
RewriteRule ^(.*)\.html$ /$1 [R=301,L] |
module SlugHelper | |
def slugify(text) | |
return text.parameterize | |
end | |
def unslugify(slug) | |
return slug.tr('-', ' ') | |
end | |
end |
AuthName "Secured page" | |
AuthType Basic | |
AuthUserFile "/var/www/.htpasswd" | |
Require valid-user |
/* | |
* Add a dataset to your target like this : | |
* data-parallax='1' | |
* | |
* Parallax strenght can be define with the number | |
* | |
*/ | |
var els = [] |
'use strict'; | |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var sassGlob = require('gulp-sass-glob'); | |
gulp.task('scss', function () { | |
return gulp.src('./scss/app.scss') | |
.pipe(sassGlob()) | |
.pipe(sass().on('error', sass.logError)) |
Description
Things here
git checkout -b my-new-feature
)module URLHelper | |
def link_translate(lang) | |
return link_to data.languages.send(lang.to_s), | |
if lang === I18n.default_locale | |
config[:host] + '/' + | |
path_translate(lang) + | |
t("paths.#{current_page.data.title}", locale: lang) | |
else | |
config[:host] + '/' + |
Verifying that "bastienrobert.id" is my Blockstack ID. https://onename.com/bastienrobert |
// Function to generate an array w/ alphabet letters | |
function genCharArray(charA, charZ) { | |
var a = [], i = charA.charCodeAt(0), j = charZ.charCodeAt(0); | |
for (; i <= j; ++i) { | |
a.push(String.fromCharCode(i)); | |
} | |
return a; | |
} | |
// Function to parse URL and get last element | |
function parseURL(url) { |