I hereby claim:
- I am vstyler96 on github.
- I am kingbeencent (https://keybase.io/kingbeencent) on keybase.
- I have a public key ASAJfcCoJGRYPD3jNt64inX27nJ9mx2pjA5udiOzXaVLwQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| /* eslint-disable */ | |
| export function useCrypto() { | |
| const { crypto: { subtle: KeyLoader } } = window; | |
| /** | |
| * Create RSA Key Pair. | |
| * | |
| * @returns {Object} | |
| */ | |
| async function createKeyPair() { |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| on: push | |
| name: Testing Laravel with PostgreSQL | |
| jobs: | |
| laravel: | |
| name: Build and Test | |
| runs-on: ubuntu-latest | |
| container: | |
| image: chilio/laravel-dusk-ci:latest | |
| services: | |
| redis: |
| const { crypto: { subtle: KeyLoader } } = window; | |
| export default { | |
| methods: { | |
| /** | |
| * Create RSA Key Pair. | |
| * | |
| * @returns {Object} | |
| */ | |
| async $createKeyPair() { |
| /** | |
| * @author Vincent GS | |
| * @username vstyler96/kingbeencent | |
| * @email [email protected]/[email protected] | |
| * | |
| * This library serves as an easier way to CRUD your localStorage variables. | |
| */ | |
| /** | |
| * Put a new object item on the localStorage and return the recent created one item. |
| let destroyAfterPlay = () => { | |
| const video = document.querySelector(".html5-main-video"); | |
| video.currentTime = 0; | |
| video.play(); | |
| setTimeout(() => { | |
| window.location.href = "https://youtube.com"; | |
| }, video.duration * 1000); | |
| }; |
| { | |
| "private": true, | |
| "scripts": { | |
| "dev": "npm run development", | |
| "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | |
| "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --disable-host-check --config=node_modules/laravel-mix/setup/webpack.config.js", | |
| "prod": "npm run production", | |
| "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | |
| "watch": "npm run development -- --watch", | |
| "watch-poll": "npm run watch -- --watch-poll" |
| <!doctype html> | |
| <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <!-- CSRF Token --> | |
| <meta name="csrf-token" content="{{ csrf_token() }}"> | |
| <title>{{ config('app.name', 'Laravel') }}</title> |
| import _ from "lodash" | |
| import axios from "@/plugins/Axios" | |
| import Vue from "vue" | |
| import vuetify from "@/plugins/vuetify" | |
| /** | |
| * Enable Axios Settings. | |
| */ | |
| axios.enableSettings(); |