Skip to content

Instantly share code, notes, and snippets.

View aziaziazi's full-sized avatar

Camille Gabrieli aziaziazi

View GitHub Profile
@aziaziazi
aziaziazi / ArticlePage.js
Last active February 28, 2020 21:36
memberstack
// An article-page template
const ArticlePage = ({privateArticle}) => {
// get member, paywall state and private page updater from context
const {
member,
paywall: { paywallIsOpen, updateInPrivatePage }
} = useContext(AuthContext);
// update private page status at mount and unmount
useEffect(() => {
[
{
"Name":"Alternative",
"Genres":[
{
"Name":"Adult Alternative",
"Genres":null,
"ID":2
},
{
@aziaziazi
aziaziazi / Selency Review
Last active June 5, 2018 08:23
Selency website Review
# Analyse
## Général
De façon générale, le site est stable et rapide. Il marche bien sur iphone/ipad et le même google est satisfait du résultat mobile-friendly https://search.google.com/test/mobile-friendly?id=BIjcdVhaMJBsaxgp2ItJEA, la plupart des appels ne passant pas sont ceux définis par robots.txt. https://developers.google.com/speed/pagespeed/insights/?hl=fr&url=https%3A%2F%2Fwww.brocantelab.com%2F&tab=desktop indique aussi que la rapidité de chargement est plutôt bonne.
## Header & footer
Il y a trop d'informations à l'écran. Alléger les navigations pour donner plus de respiration aux contenus.
### Header
#### +
@aziaziazi
aziaziazi / snippet.md
Last active December 11, 2016 20:23 — forked from harthur/snippet.md
console.log() key binding for Sublime Text

Go to Sublime Text 2 > Preferences > Key Bindings - User and add this JSON to the file:

[
    { "keys": ["super+shift+l"],
      "command": "insert_snippet",
      "args": {
        "contents": "console.log('${1:}$SELECTION => ',${1:}$SELECTION);${0}"
      }
 }
@aziaziazi
aziaziazi / ValidateExercise1Maven_.idea_compiler.xml
Created June 12, 2016 13:56
First Java program! Learnign with Vincent.
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scala" />
// Debugger : print value name and value
var deb = function(nVar, vVar){
console.log( nVar + " => " + vVar)
};
// Append Skills
var skillsStart = HTMLskillsStart;
var formattedBio = {