Skip to content

Instantly share code, notes, and snippets.

View caporro's full-sized avatar
🎯
Focusing

Claudio Caporro caporro

🎯
Focusing
View GitHub Profile
@caporro
caporro / Readme.md
Last active May 26, 2019 21:15
Laravel, Broadcast Event, websoket, socket.io, redis queue, private channel, authentication

npm install -g laravel-echo-server sudo apt-get install redis composer require predis/predis

laravel-echo-server init

set the file /etc/hosts 127.0.0.1 mysite.com

@caporro
caporro / gist:32dca539edb31fa21d71d94f3fb3db43
Last active May 26, 2019 10:24
Vagrant ubuntu/bionic64 setup for laravel
Set provider default for vagrant:
export VAGRANT_DEFAULT_PROVIDER=virtualbox
vagrant init ubuntu/bionic64
vagrant up
@caporro
caporro / clone_clear_init.md
Last active May 9, 2019 20:12
Create new clean repository from a clone of a remote repository, Clone repo, clean, init and pull
git clone git://github.com/caporro/oldprojectname.git project
cd project
rm -rf .git
git init 
git add * 
git commit -m 'init commit from oldprojectname'
git remote add origin https://github.com/caporro/newprojectname.git
git push
@caporro
caporro / keymap.cson
Created April 30, 2019 08:44
Atom keymap file
# Your keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts. Unlike style sheets however,
# each selector can only be declared once.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
@caporro
caporro / gist:d379856e6395d985063da82f2b6a1f28
Created April 29, 2019 21:49 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@caporro
caporro / snippets.cson
Last active May 7, 2019 09:44
Atom snippets
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
@caporro
caporro / toolbar.cson
Last active April 30, 2019 08:40
Atom Flex Tool Bar config
# This file is used by Flex Tool Bar to create buttons on your Tool Bar.
# For more information how to use this package and create your own buttons,
# read the documentation on https://atom.io/packages/flex-tool-bar
[
{
type: "button"
icon: "gear"
callback: "flex-tool-bar:edit-config-file"
tooltip: "Edit Tool Bar"