Skip to content

Instantly share code, notes, and snippets.

View markryandelarmente's full-sized avatar
🎯
Focusing

Mark Ryan markryandelarmente

🎯
Focusing
  • DX FORM
  • Philippines
  • 08:31 (UTC -12:00)
View GitHub Profile
@markryandelarmente
markryandelarmente / docker-compose.yml
Created March 3, 2022 05:46 — forked from Daniyal-Javani/docker-compose.yml
Laravel sail with phpMyAdmin
version: '3'
services:
laravel.test:
build:
context: ./vendor/laravel/sail/runtimes/8.0
dockerfile: Dockerfile
args:
WWWGROUP: '${WWWGROUP}'
image: sail-8.0/app
environment:
@markryandelarmente
markryandelarmente / media-query.css
Created March 5, 2021 01:47 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
@markryandelarmente
markryandelarmente / bump-version.sh
Created February 10, 2021 14:31 — forked from mareksuscak/bump-version.sh
Bump version shell script.
#!/bin/bash
# Thanks goes to @pete-otaqui for the initial gist:
# https://gist.github.com/pete-otaqui/4188238
#
# Original version modified by Marek Suscak
#
# works with a file called VERSION in the current directory,
# the contents of which should be a semantic version number
# such as "1.2.3" or even "1.2.3-beta+001.ab"
@markryandelarmente
markryandelarmente / NewMessage.php
Created November 13, 2020 09:14 — forked from sebastiaanluca/NewMessage.php
Laravel + Redis + NodeJS + Socket.io pub/sub secure server and client supporting multiple rooms, channels, users, … Add `client.js` to your client app, run `node server.js`, and trigger the Laravel event any way you want to broadcast the data.
<?php
namespace App\Events;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Queue\SerializesModels;
class NewMessage extends Event implements ShouldBroadcast
{
@markryandelarmente
markryandelarmente / docker-help.md
Created June 23, 2020 05:34 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

Keybase proof

I hereby claim:

  • I am markryandelarmente on github.
  • I am markryan104 (https://keybase.io/markryan104) on keybase.
  • I have a public key ASBvTTt7ZGMgRxyJ4Z12CNk5HFBPkVVN6CQjyiAqKvaSgwo

To claim this, I am signing this object: