Skip to content

Instantly share code, notes, and snippets.

View AurelienLoyer's full-sized avatar
🔥
👨🏻‍💻

Aurélien Loyer AurelienLoyer

🔥
👨🏻‍💻
View GitHub Profile
Here is a quick idea about how broadcast and emit work.
Notice the nodes below; all nested within node 3. You use broadcast and emit when you have this scenario.
Note: The number of each node in this example is arbitrary; it could easily be the number one; the number two; or even the number 1,348. Each number is just an identifier for this example. The point of this example is to show nesting of Angular controllers/directives.
3
------------
| |
----- ------
@AurelienLoyer
AurelienLoyer / homebridge_on_boot_pm2.md
Last active December 11, 2016 21:03
HomeBridge start on boot

i got my HomeBridge running with autostart @reboot (rpi) :D

I used PM2 instead of forever. If you follow the instructions below, it will autostart HomeBridge after a reboot of you pi...

sudo npm install pm2 -g
cd ~/homebridge/
pm2 start app.js --name HomeBridge

pm2 save
# Souper app
https://filipmolcik.com/free-photoshop-on-mac-os-x-photoshop-trial-reset/
https://electronjs.org/docs/tutorial/first-app
https://ourcodeworld.com/articles/read/106/how-to-choose-read-save-delete-or-create-a-file-with-electron-framework
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.25882354378700256</real>
<!doctype html>
<html>
<meta charset="UTF-8">
<head>
<style>
body {
padding-top: 70px;
}
.hero-spacer {
<script src="https://unpkg.com/vue"></script>
<script src="https://raw.githubusercontent.com/T3kstiil3/github-corners-web-components/master/dist/github-corners.min.js"></script>
<github-corners side="right" href="https://github.com/T3kstiil3"></github-corners>
@AurelienLoyer
AurelienLoyer / Github 🐙 Corners 📐 Web Components 🥑 Config.txt
Last active October 21, 2018 04:13
Github 🐙 Corners 📐 Web Components 🥑 Config
Attributes:
href
values: url || ...
default: https://github.com/T3kstiil3/github-corners-web-component
side
values: left || right
default: left

Best Practice

Frameworks

Angular

Modules

Husky
@AurelienLoyer
AurelienLoyer / vscode.md
Last active December 4, 2018 18:44
[Be a Vscode Hero] #conf

Tips sur vscode

Cmd Shif P

Turn on breadCrump

image

@AurelienLoyer
AurelienLoyer / bblvuejs.md
Last active November 20, 2018 15:50
[BBL Vue.js] Midi conference sur le framework a la mode Vue.js #bbl

APRÈS ANGULAR ET REACT, VOICI ... VUE.JS

Depuis le temps que vous allez à des midi conférences, meetup vous avez sûrement entendu parlé de React et/ou Angular.

Vous êtes même devenu peut-être un expert sur l'une de ces technos.

C'est pour cela que nous avons décidé de ne pas choisir l'un de ces deux Frameworks.

Durant ce BBL je vous démontrerai comment ce Framework poussé par l'open-source peut détrôner les deux grands Frameworks, React et Angular, développés par les géants du Web