This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // import InstantSearch.js from Algolia | |
| const search = instantsearch({ | |
| appId: 'UV1PN6LGGX', | |
| apiKey: 'c4a5c087758b447e61a318853ea5a066', | |
| indexName: 'twitter_sample' | |
| }); | |
| // [...] | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Create my searchbox | |
| search.addWidget( | |
| instantsearch.widgets.searchBox({ | |
| container: '#search-box', | |
| placeholder: 'Search...', | |
| autofocus: true, | |
| }) | |
| ); | |
| // Retrieve my results |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| search.addWidget( | |
| instantsearch.widgets.refinementList({ | |
| container: '#tags', | |
| attributeName: 'tags', | |
| operator: 'or', | |
| limit: 10, | |
| }) | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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! | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import styled from 'styled-components' | |
| import Tabletop from 'tabletop'; | |
| class Explore extends Component { | |
| constructor() { | |
| super() | |
| this.state = { | |
| data: [] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "d": { | |
| "yOffset": 0, | |
| "outline": "OUTLINE", | |
| "desaturate": false, | |
| "font": "Friz Quadrata TT", | |
| "regionType": "text", | |
| "animation": { | |
| "main": { | |
| "type": "none", |