Skip to content

Instantly share code, notes, and snippets.

Josué Artaud jartaud

Block or report user

Report or block jartaud

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
jartaud / index.html
Created Jun 2, 2019 — forked from jsanta/index.html
PWA index.html file for Android and iOS copy & paste enabled
View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<title>Ionic App</title>
<base href="/" />
jartaud / install.bash
Created Sep 15, 2018 — forked from val-bubbleflat/install.bash
Install V8Js on Laravel Forge
View install.bash
sudo add-apt-repository ppa:pinepain/libv8-5.2
sudo apt-get update
sudo apt-get install libv8-5.2
sudo pecl install v8js
sudo su
echo "" >> /etc/php/7.1/fpm/php.ini
echo "" >> /etc/php/7.1/cli/php.ini
sudo service nginx restart && sudo service php7.1-fpm restart
jartaud / gist:f02a4ef2b93a46666e119b2d9e9ccdd4
Created Dec 14, 2017 — forked from rolinger/gist:d6500d65128db95f004041c2b636753a
PHP => FCM Push notification tutorial for Android and iOS
View gist:f02a4ef2b93a46666e119b2d9e9ccdd4
Below is a full tutorial on how to setup and use Googles Firebase push notification API for both Android and iOS. It is based on this
earlier implementation of Googles GCM method: - FCM is the new method and GCM will eventually be
Register your app in the FCM Console: (add project)
1. Click on the newly added project, in the upper left menu is the "Overview" and Gear Settings.
2. Click on the GEAR settings icon, and then on "Project Settings"
3. In the main screen, click on "Cloud Messaging"
jartaud / CreateRouteTranslateLang.php
Last active Jan 14, 2016
Create lang array for arcanedev/localization package
View CreateRouteTranslateLang.php
// TODO: clean/extract
namespace app\Console\Commands;
use Illuminate\Console\Command;
class CreateRouteTranslateLang extends Command
View filters.php
// app/filters.php
// get current host and replace . with _
$host = str_replace('.', '_', $request->getHost());
// get current config based on $host
You can’t perform that action at this time.