Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@maxi032
maxi032 / vagrant up error.gist
Created August 23, 2017 12:06
vagrant up not working
pbox: SSH username: vagrant
pbox: SSH auth method: private key
pbox:
pbox: Vagrant insecure key detected. Vagrant will automatically replace
pbox: this with a newly generated keypair for better security.
pbox:
pbox: Inserting generated public key within guest...
pbox: Removing insecure key from the guest if it's present...
pbox: Key inserted! Disconnecting and reconnecting using new SSH key...
==> pbox: Machine booted and ready!
@maxi032
maxi032 / serve-magento2.sh
Created September 22, 2018 20:20 — forked from liamkeily/serve-magento2.sh
Laravel Homestead Magento2
#!/usr/bin/env bash
declare -A params=$6 # Create an associative array
paramsTXT="";
if [ -n "$6" ]; then
for element in "${!params[@]}"
do
paramsTXT="${paramsTXT}
fastcgi_param ${element} ${params[$element]};"
done
@maxi032
maxi032 / WindowsSetup.md
Created March 8, 2019 20:19 — forked from valeryan/WindowsSetup.md
Local WSL Setup

Windows Development Environment Setup

This document outlines the steps I take to setup my environment on windows using WSL. This requires being on the windows 10 Creative update or greater with an Ubuntu 16 installed as WSL.

Windows Setup Prerequisites

  1. Install WSL.
  2. Install Terminus and setup to use bash for windows (optional).
  3. Install Acrylic DNS Proxy.
  4. Download WSL Startup Scripts.
  5. Install Xming (optional).
@maxi032
maxi032 / List.md
Created June 2, 2019 15:55 — forked from msurguy/List.md
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):

@maxi032
maxi032 / Lravel-5-inpalce-edit-using-xeditable.php
Created May 18, 2020 08:48 — forked from pupadupa/Lravel-5-inpalce-edit-using-xeditable.php
Laravel 5 inplace editing using jquery's x-editable plugin . Inline and bulk editing examples.
/**
*
* In this example we create view with inplace and bulk editing.
* Tools and plugins:
* jQuery
* xEditable jquery plugin
* twitter bootstrap
*
*/
@maxi032
maxi032 / 55-bytes-of-css.md
Created September 28, 2022 09:02 — forked from JoeyBurzynski/55-bytes-of-css.md
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}