Skip to content

Instantly share code, notes, and snippets.

View codeitlikemiley's full-sized avatar
🎯
Focusing

Uriah Galang codeitlikemiley

🎯
Focusing
View GitHub Profile
# Installation
As far as I know this is how to get Passport on Laravel Spark working correctly, it works so far for me over the API but there might be something I am still missing.
I am using the following software versions in composer.json:
```
"require": {
"php": ">=5.6.4",
"laravel/framework": "5.3.*",
@codeitlikemiley
codeitlikemiley / install-docker-master.sh
Created June 10, 2017 13:37 — forked from alexellis/install-docker-master.sh
install docker engine for swarm3k on Ubuntu 16.04. 2 options for installing
#!/bin/sh
# option 2: paste this into user-data to automate install via boot script
# NOTE: update --label=owner=YOURNAME below if you want to easily identify yours
# renames the host to have a suffix of alexellisio
export original=$(cat /etc/hostname)
sudo hostname $original-master-alexellisio
echo $original-master-alexellisio | sudo tee /etc/hostname
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
@codeitlikemiley
codeitlikemiley / base.Dockerfile
Created June 10, 2017 13:50 — forked from alexellis/base.Dockerfile
Docker swarm service to mine into the Nice Hash pool
# Published on Docker Hub with above user alexellisio.
# If you want to rebuild your own copy, follow below instructions
# Build this on each type of machine so you have the correct CPU extensions.
FROM alexellisio/boostbase
RUN git clone -b Linux https://github.com/nicehash/nheqminer.git
RUN cd nheqminer/cpu_xenoncat/Linux/asm/ && sh assemble.sh && cd ../../../Linux_cmake/nheqminer_cpu && cmake . && make
ENTRYPOINT ["./nheqminer/Linux_cmake/nheqminer_cpu/nheqminer_cpu"]
@codeitlikemiley
codeitlikemiley / Installation.md
Last active November 28, 2023 12:38 — forked from g0ld3lux/ReadME.md
ZSH + Vim Production in Digital Ocean - Running With Docker

ZSH + Vim Production in Digital Ocean - Running With Docker

Requirement: Windows 10 Windows WSL WSL Mintty Digital Ocean Account

Note if you are not using windows, you dont need the vim config for windows ....

@codeitlikemiley
codeitlikemiley / cloudSettings
Last active January 11, 2019 15:58
Visual Studio Code Settings Sync Gist - Laravel + Vue Project
{"lastUpload":"2019-01-11T15:58:50.323Z","extensionVersion":"v3.2.4"}
@codeitlikemiley
codeitlikemiley / .minttyrc
Last active December 20, 2019 01:27 — forked from g0ld3lux/.minttyrc
WSL Laravel Dev Machine
Font=DejaVuSansMonoForPowerline NF
BoldAsFont=no
FontHeight=12
FontWeight=400
FontSmoothing=full
Locale=C
Charset=UTF-8
Term=xterm-256color
ForegroundColour=248,248,242
BackgroundColour=40,42,54
@codeitlikemiley
codeitlikemiley / v-cloak.md
Created December 21, 2017 22:44 — forked from adamwathan/v-cloak.md
Useful CSS utilities for Vue.js cloaking

Handy helpers for controlling visibility of elements until Vue has compiled.

Use like:

<div v-cloak>
  <h1>
    <span class="v-cloak--inline">Loading...</span> <!-- Only displayed before compiling -->
    <span class="v-cloak--hidden">{{ post.title }}</span> <!-- Hidden until compiling is finished -->
 
@codeitlikemiley
codeitlikemiley / devops_training.txt
Created May 19, 2018 07:04 — forked from ssmythe/devops_training.txt
Training materials for DevOps
======
Videos
======
DevOps
What is DevOps? by Rackspace - Really great introduction to DevOps
https://www.youtube.com/watch?v=_I94-tJlovg
Sanjeev Sharma series on DevOps (great repetition to really get the DevOps concept)
{
//window
"window.zoomLevel": -1,
// explorer
"explorer.openEditors.visible": 0,
// editor default
"editor.fontSize": 18,
"editor.fontFamily": "operator mono lig book",
"editor.fontWeight": "normal",
"editor.fontLigatures": true,
@codeitlikemiley
codeitlikemiley / cloudSettings
Last active August 10, 2018 03:15
Visual Studio Code Settings Sync Gist - Nuxt/Vue Project
{"lastUpload":"2018-08-10T03:15:47.581Z","extensionVersion":"v3.0.0"}