Skip to content

Instantly share code, notes, and snippets.

View vuchl's full-sized avatar
🔼
Working on a GraphQL API

Sebastian vuchl

🔼
Working on a GraphQL API
  • Germany
View GitHub Profile
@sconstantinides
sconstantinides / PWAs.md
Created May 3, 2018 18:19
How to install a Progressive Web App

How to install a Progressive Web App

Progressive Web Apps (or PWAs) work across browsers and devices. When installed they may include offline support.

iOS Safari

  1. Visit the app’s website
  2. Click the export icon on Safari’s bottom bar
  3. Scroll the options and select “Add to Home Screen”
@sconstantinides
sconstantinides / index.html
Last active July 29, 2018 15:23
React PWA example
<!DOCTYPE html>
<html lang="en">
<head>
<!-- The usual suspects -->
<meta charset="utf-8">
<meta name="description"
content="My app is awesome because...">
<title>My awesome app</title>
<link rel="shortcut icon"
@DiederikvandenB
DiederikvandenB / nuxt.config.js
Created October 16, 2017 10:21
NuxtJS Sentry Module
module.exports = {
/* ... */
modules: [
['~/modules/sentry', {
public_key: '',
private_key: '',
project_id: '',
}],
],
/* ... */
@amochohan
amochohan / 01_Laravel 5 Simple ACL manager_Readme.md
Last active July 24, 2024 14:27
Laravel 5 Simple ACL - Protect routes by an account / role type

#Laravel 5 Simple ACL manager

Protect your routes with user roles. Simply add a 'role_id' to the User model, install the roles table and seed if you need some example roles to get going.

If the user has a 'Root' role, then they can perform any actions.

Installation

Simply copy the files across into the appropriate directories, and register the middleware in App\Http\Kernel.php

@staltz
staltz / introrx.md
Last active November 17, 2024 01:08
The introduction to Reactive Programming you've been missing