Skip to content

Instantly share code, notes, and snippets.

View AntoinePlu's full-sized avatar
🏠
Working from home

Antoine Plu AntoinePlu

🏠
Working from home
View GitHub Profile
C_ChatInfo.RegisterAddonMessagePrefix("WSGFCNamesHP")
str_alliance_flag_drop = "Le drapeau de l'Alliance a été laché par "
str_horde_flag_drop = "Le drapeau de la Horde a été laché par "
str_alliance_flag_cap = "à capturé le drapeau de l'Alliance"
str_horde_flag_cap = "à capturé le drapeau de la Horde"
str_alliance_flag_pickup = "Le drapeau de l'Alliance a été ramassé par "
str_horde_flag_pickup = "Le drapeau de la Horde a été ramassé par "
{
"d": {
"yOffset": 0,
"outline": "OUTLINE",
"desaturate": false,
"font": "Friz Quadrata TT",
"regionType": "text",
"animation": {
"main": {
"type": "none",
{
"title": "Behind-the-Scene – Part 1",
"type": "article",
"category": "code",
"img_url": "http://mydomain.com/myImage.jpg",
"link_url": "http://mydomain.com/articleLink",
"date": "03/13/2019"
}
{
"title": "A guide to color accessibility in product design",
"type": "Article",
"category": ["Accessibility", "Color", "Product Design"],
"description": "There’s a lot of talk about accessible design, but have you ever thought about color accessibility?",
"img_url": "https://res.cloudinary.com/aplu/image/upload/q_40/v1548544033/Curated/color-accesssibility-feature-810x810.jpg",
"img_alt": "Accessible color palette",
"link_url": "https://www.invisionapp.com/inside-design/color-accessibility-product-design/",
"date": "2019-01-21T23:00:00.000Z",
"date_timestamp": 1548115200,
{
"title": "Behind-the-Scene – Part 1",
"type": "article",
"category": "code",
"img_url": "http://mydomain.com/myImage.jpg",
"link_url": "http://mydomain.com/articleLink",
"date": "03/13/2019"
}
import React, { Component } from 'react';
import styled from 'styled-components'
import Tabletop from 'tabletop';
class Explore extends Component {
constructor() {
super()
this.state = {
data: []
}
@AntoinePlu
AntoinePlu / makebook_obfuscate.php
Created March 26, 2018 12:40 — forked from levelsio/makebook_obfuscate.php
Obfuscate your ebook so that people who didn't pay can read it, partly
<?php
/*
I wrote this function to progressively obfuscate text in MAKEbook.io. When it KINDA worked, I just used it.
It can take a lot of improvement. I kinda just tweaked the values until it was good enough. It's not SO progressive though.
It takes all the output of your PHP scripts via ob_start(), reroutes that to the obfuscation function.
You should check if user paid for book or not, then either run ob_start or not!
{
"name": "Antoine Plu",
"screen_name": "AntoinePlu",
"text": "Culture Codes: a collection of culture decks, core values, mission statements and more...",
"url": "http://culturecodes.co",
"media_url": "https://pbs.twimg.com/media/C3vdqTIWcAEtWPq.jpg",
"tags": ["culture","startup","values"],
"source": "https://twitter.com/AntoinePlu/statuses/827498678227234818",
"created_at" : "2017-02-03",
"objectID": "1"
search.addWidget(
instantsearch.widgets.refinementList({
container: '#tags',
attributeName: 'tags',
operator: 'or',
limit: 10,
})
);
// Create my searchbox
search.addWidget(
instantsearch.widgets.searchBox({
container: '#search-box',
placeholder: 'Search...',
autofocus: true,
})
);
// Retrieve my results