Skip to content

Instantly share code, notes, and snippets.

View WengerK's full-sized avatar
🤓

Kevin Wenger WengerK

🤓
View GitHub Profile
@WengerK
WengerK / README.md
Last active June 24, 2020 10:44
Implementation of push notification thought Firebase Cloud Messaging using Ionic

Article Ressources - Implementation of push notification thought Firebase Cloud Messaging using Ionic !

This is the Gist repository for my article Implementation of push notification thought Firebase Cloud Messaging using Ionic.

Be aware that this article has been wrote for the Blog of Antistatique — Web Agency in Lausanne, Switzerland. A place where I work as Full Stack Web Developer.

Feel free to read it the full article on Medium or check it out on Antistatique.

Content of this Gist :

  • android_custom_resources.js : Example of resourceDirs
@WengerK
WengerK / README.md
Created June 4, 2017 14:55
Sort Github issues by reaction

Search UI

is:issue is:open sort:reactions-+1-desc

URL GET Parameters

?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc

@WengerK
WengerK / settings.php
Created April 28, 2017 08:52
Disable Poorman Cron for Drupal 8
// Disable cron in settings.php for D8.
$config['automated_cron.settings']['interval'] = 0;
@WengerK
WengerK / README.md
Last active May 10, 2017 09:33
VS Code - C'est mieux

Article Ressources - VS Code, c'est mieux !

This is the Gist repository for my article VS Code, c'est mieux.

Be aware that this article has been wrote for the Blog of Antistatique — Web Agency in Lausanne, Switzerland. A place where I work as Full Stack Web Developer.

Feel free to read it the full article on Medium or check it out on Antistatique.

Content of this Gist :

  • settings.json : VS Code settings.json
@WengerK
WengerK / ContactForm-basic.php
Last active June 12, 2023 19:39
Drupal 8 — Inline validation in forms
<?php
/**
* @file
* Contains \Drupal\my_contact\Form\ContactForm.
*/
namespace Drupal\my_contact\Form;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
@WengerK
WengerK / JS
Created August 24, 2016 14:43
Get jQuery version from console
jQuery().jquery;
@WengerK
WengerK / README.md
Last active August 31, 2016 14:42
Atom Stylelint - Undefined rules

Undefined rule "no-missing-eof-newline" -> Renamed as "no-missing-end-of-source-newline"
Undefined rule "media-query-parentheses-space-inside" Renamed as "media-feature-parentheses-space-inside"
Undefined rule "number-zero-length-no-unit" Renamed as "length-zero-no-unit" Undefined rule "property-unit-blacklist" Renamed as "declaration-property-unit-blacklist" Undefined rule "property-unit-whitelist" Renamed as "declaration-property-unit-whitelist" Undefined rule "property-value-blacklist" Renamed as "declaration-property-value-blacklist" Undefined rule "property-value-whitelist" Renamed as "declaration-property-value-whitelist"

Dependencies

  • "gulp-stylelint": "^3.0.0",
@WengerK
WengerK / README.md
Last active August 15, 2016 12:07
What's my IP using PHP CLI

What's my IP using PHP CLI

A mechanism for discovering the IP of the computer using PHP CLI

@WengerK
WengerK / README.md
Last active February 3, 2021 10:47
MacOS - Trigger Notification Center when long running commands finishes

Article Ressources - MacOS - Trigger Notification Center when long running commands finishes

This is the Gist repository for my article MacOS - Trigger Notification Center when long running commands finishes.

Be aware that this article has been wrote for the Blog of Antistatique — Web Agency in Lausanne, Switzerland. A place where I work as Full Stack Web Developer.

Feel free to read it the full article on Medium or check it out on Antistatique.

@WengerK
WengerK / README.md
Last active June 20, 2019 15:21
Drupal 8  —  Differences between Configuration API & State API

Article Ressources - Drupal 8  —  Differences between Configuration API & State API

This is the Gist repository for my article Drupal 8  —  Differences between Configuration API & State API.

Be aware that this article has been wrote for the Blog of Antistatique — Web Agency in Lausanne, Switzerland. A place where I work as Full Stack Web Developer.

Feel free to read it the full article on Medium or check it out on Antistatique.