I hereby claim:
- I am the224 on github.
- I am the224 (https://keybase.io/the224) on keybase.
- I have a public key ASA5gazJZ0StatSyhjTGqOsgCVHOAIZnmOhxyNSyZFf3Ewo
To claim this, I am signing this object:
### | |
# My custom ZSH for "Git for Windows" | |
# ⌚ 12:43 - ⚡ v16.16.0 - 📂 ~/repo/dotfiles | |
# ➜ | |
# Doc used: https://blog.carbonfive.com/writing-zsh-themes-a-quickref/ | |
## | |
precmd() { | |
psvar[1]="v?.?.?" | |
if which node &> /dev/null; then |
<template> | |
<div class="main-component-class"> | |
... | |
</div> | |
</template> | |
<script> | |
// Library import | |
import { mapActions, mapGetters } from 'vuex' | |
// Local script import |
from typing import Dict | |
class EventEmitter: | |
def __init__(self): | |
self._callbacks: Dict[str, callable] = {} | |
def on(self, event_name, function): | |
self._callbacks[event_name] = self._callbacks.get(event_name, []) + [function] |
I hereby claim:
To claim this, I am signing this object:
export function AutoOnDestroy(blackList = []) { | |
return function (constructor: any) { | |
const original = constructor.prototype.ngOnDestroy; | |
constructor.prototype.ngOnDestroy = function () { | |
for (const prop in this) { | |
if (this.hasOwnProperty(prop)) { | |
const property = this[prop]; | |
if (!blackList.includes(prop)) { | |
if (property && (typeof property.unsubscribe === 'function')) { |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>CORS Tester</title> | |
<script> | |
sendRequest = () => { |
Java Builder (Design Pattern) [French/Français] |
Java Command (Design Pattern) [French/Français] |
Java Observer (Design Pattern) [French/Français] |
Java Template Method (Design Pattern) [French/Français] |