Skip to content

Instantly share code, notes, and snippets.

Gabriel Catellier Bassaddicted

  • Ottawa, Ontario, Canada
Block or report user

Report or block Bassaddicted

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
@Bassaddicted
Bassaddicted / redis-test.php
Last active Oct 23, 2018
Redis Installation test script
View redis-test.php
<style>
pre {
position: relative;
max-width: 800px;
padding: 30px 15px;
background: #f7f7f7;
word-break: break-all;
word-wrap: break-word;
white-space: pre;
font-size: 14px;
@Bassaddicted
Bassaddicted / Package.json
Last active Oct 11, 2018
basic javascript module pattern based on backbonejs.
View Package.json
{
"name": "appName",
"description": "",
"version": "0.0.1",
"author": "Gabriel Catellier",
"private": true,
"scripts": {
"dev": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
@Bassaddicted
Bassaddicted / class-aggregator.php
Last active May 25, 2018
Wordpress endpoint aggregator with Cache
View class-aggregator.php
<?php
/**
* Requires PHP 5.6+ due to the use of the splat operator and the [] "array declaration".
*/
class Rest_Aggregator {
/**
* Page number to fetch.
You can’t perform that action at this time.