Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

kevin olson acidjazz

🎯
Focusing
Block or report user

Report or block acidjazz

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
@acidjazz
acidjazz / AuthController.php
Created Aug 29, 2019
Auth Example using acidjazz/humble and laravel socialite
View AuthController.php
<?php
namespace App\Http\Controllers;
use App\Models\User;
use App\Models\Provider;
use App\Models\Activity;
use acidjazz\Humble\Models\Session;
use Illuminate\Http\Request;
View PushButton.vue
<template lang="pug">
button.py-2.px-3.rounded.tran-colors-p1.relative.overflow-hidden(
@click="click",
:class="[themes[theme], cursor]")
.flex.items-center.tran-opacity-p5(:class="{'opacity-25': loading, 'opacity-0': success}")
.mdi(v-if="icon",:class="[`mdi-${icon}`, label ? 'mr-2' : '']")
img.w-4.h-4(v-if="image",:src="image",:class="label ? 'mr-2' : ''")
div(v-if="label") {{ label }}
.bg-white-o3.button-loadbar.ani-zi(v-if="loading")
.absolute.inset-0.flex.items-center.justify-center(v-if="success")
View HeaderNav.vue
<template lang="pug">
.header-nav.bg-black.text-white.fixed.z-20.inset-x-0.top-0.py-2.ani-sit.ani-d-4
.container.lg.mx-auto.px-4
.flex.justify-between
nuxt-link(to="/").font-os.text-2xl.flex
.mr-1
i.mdi.mdi-check-bold.text-flamingo.ani-sir.ani-d-8
i.mdi.mdi-check-bold.text-scooter.-ml-4.ani-sir.ani-d-9
.ani-sir.ani-d-10 WE ARE APARTMENTS
.header-nav-menu.flex.justify-end.ani-sil.ani-d-10
View deps.json
},
"devDependencies": {
"autoprefixer": "^9.4.3",
"babel-eslint": "^10.0.1",
"eslint": "^5.10.0",
"eslint-loader": "^2.1.1",
"eslint-plugin-vue": "^5.0.0",
"pug": "^2.0.3",
"pug-plain-loader": "^1.0.0"
},
View yarn why lodash
▲ ~/pub/web yarn why lodash staging :: 1m :: ⬢
yarn why v1.13.0
[1/4] 🤔 Why do we have the module "lodash"...?
[2/4] 🚚 Initialising dependency graph...
[3/4] 🔍 Finding dependency...
[4/4] 🚡 Calculating file sizes...
=> Found "lodash@4.17.11"
info Has been hoisted to "lodash"
info Reasons this module exists
- Hoisted from "eslint#lodash"
View random.php
<?php
*/
function generate_random_point( $centre, $radius ){
$radius_earth = 3959; //miles
// pick random distance within $distance;
$distance = lcg_value()*$radius;
// convert degrees to radians.
View feed.json
{
"@version": "2.0",
"channel": {
"title": "Stories by Boris Müller on Medium",
"description": "Stories by Boris Müller on Medium",
"link": [
"https://medium.com/@borism?source=rss-b53295fb4eb2------2",
{
"@href": "https://medium.com/feed/@borism",
"@rel": "self"
@acidjazz
acidjazz / config.yml
Last active Feb 9, 2019
boilerplate circleci config
View config.yml
version: 2
jobs:
build:
docker:
- image: circleci/php:7-node-browsers-legacy
environment:
PIPENV_VENV_IN_PROJECT: true
- image: circleci/python:3.6.4
- image: circleci/mysql:5.7
environment:
View store.js
/*
* store/index.js - vuex store
* Copyright (C) 2019 kevin olson <acidjazz@gmail.com>
*
* Distributed under terms of the APACHE license.
*/
import Vuex from 'vuex'
const store = () => new Vuex.Store({
View config.yml
version: 2
jobs:
build:
docker:
- image: circleci/php:7-node-browsers-legacy
environment:
PIPENV_VENV_IN_PROJECT: true
- image: circleci/python:3.6.4
- image: circleci/mysql:5.7
environment:
You can’t perform that action at this time.