- My webcam is a EOS RP
- My lens is a 35mm f/1.8.
- My capture card is a Flint 4kp
- My key lights are Elgato Key Lights
- My microphone is a Blue Yeti
- My microphone stand is the O.C. White ProBoom
- My background hexagons are
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.8.0; | |
import { AxelarExecutable } from '@axelar-network/axelar-gmp-sdk-solidity/contracts/executable/AxelarExecutable.sol'; | |
import { IAxelarGateway } from '@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IAxelarGateway.sol'; | |
import { IAxelarGasService } from '@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IAxelarGasService.sol'; | |
contract SenderReceiver is AxelarExecutable { | |
IAxelarGasService public immutable gasService; | |
string public message; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Directive, ElementRef } from '@angular/core'; | |
@Directive({ | |
selector: 'a', | |
standalone: true, | |
}) | |
export class ADirective { | |
constructor(public ref: ElementRef) {} | |
ngAfterViewInit() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import {AxelarExecutable} from "@axelar-network/axelar-gmp-sdk-solidity/contracts/executable/AxelarExecutable.sol"; | |
import {IAxelarGateway} from "@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IAxelarGateway.sol"; | |
import {IAxelarGasService} from "@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IAxelarGasService.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
contract SenderReceiver is AxelarExecutable, Ownable { | |
IAxelarGasService public immutable gasService; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let lcp = await page.evaluate(() => new Promise((resolve, reject) => { | |
try { | |
// Create a variable to hold the latest LCP value (since it can change). | |
let lcp; | |
// Create the PerformanceObserver instance. | |
const po = new PerformanceObserver((entryList) => { | |
const entries = entryList.getEntries(); | |
const lastEntry = entries[entries.length - 1]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Directive, ElementRef } from '@angular/core'; | |
@Directive({ | |
selector: 'img' | |
}) | |
export class LazyImagesDirective { | |
constructor(ref: ElementRef) { | |
ref.nativeElement.loading = 'lazy'; | |
} |
Adam Bradley, Adam Plumer, Adam Yi, Ahsan Ayaz, Alan, Alan Agius, Alberto Garza, Alex Eagle, Alexey Zuev,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, Output } from '@angular/core'; | |
import { Subject } from 'rxjs'; | |
@Compnent({ | |
template: '<child-component (myCustomEvent)="myOtherEvent.next($event)"></child-component>', | |
}) | |
export class EmitComponent { | |
@Output() myOtherEvent = new Subject<any>(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NVM | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
nvm install 10 | |
# Yarn | |
curl -o- -L https://yarnpkg.com/install.sh | bash | |
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
Object.defineProperty(exports, "__esModule", { value: true }); | |
const path = require("path"); | |
const ts = require("typescript"); | |
const plugin_1 = require("./plugin"); | |
const refactor_1 = require("./refactor"); | |
const loaderUtils = require('loader-utils'); | |
const NormalModule = require('webpack/lib/NormalModule'); | |
// This is a map of changes which need to be made | |
const changeMap = { |
NewerOlder