Skip to content

Instantly share code, notes, and snippets.

Avatar
✔️
Available for Consulting

Dan Alvidrez bayareawebpro

✔️
Available for Consulting
View GitHub Profile
@bayareawebpro
bayareawebpro / forge.sh
Created Apr 30, 2020 — forked from radermacher/forge.sh
Laravel Forge Setup Script
View forge.sh
#
# REQUIRES:
# - server (the forge server instance)
# - event (the forge event instance)
# - sudo_password (random password for sudo)
# - db_password (random password for database user)
# - callback (the callback URL)
#
View GeoLocation.vue
<template>
<div class="form-group">
<label for="location">{{ label }}</label>
<input type="text" id="location" :value="value" ref="location" class="form-control" />
</div>
</template>
<script>
export default {
props: {
@bayareawebpro
bayareawebpro / workbox.md
Created Mar 10, 2019 — forked from addyosmani/workbox.md
Workbox recipes
View workbox.md

https://ctf0.wordpress.com/2018/07/14/laravel-and-pwa/

Workbox runtime caching recipes

Your Service Worker script will need to import in Workbox and initialize it before calling any of the routes documented in this write-up, similar to the below:

importScripts('workbox-sw.prod.v1.3.0.js');
const workbox = new WorkboxSW();
View docker-php-ext-install.md
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN docker-php-ext-install mcrypt
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
@bayareawebpro
bayareawebpro / ext.txt
Created Dec 31, 2018 — forked from chronon/ext.txt
List of docker-php-ext-install extension names
View ext.txt
Possible values for ext-name:
bcmath
bz2
calendar
ctype
curl
dba
dom
enchant
You can’t perform that action at this time.