Doc | - | Complete | Fully | - | - | Loaded | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Load time | First Byte | Start Render | Speed Index | First Interactive | Time | Requests | Bytes In | Time | Requests | Bytes In | Cost | |
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
alias grum="git checkout master && git pull --all" | |
alias gc="git commit" | |
alias ga="git add" | |
alias gp="git push" | |
alias k="kubectl" |
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
// I had issues with this | |
it('should work', async () => { | |
await waitFor(() => { | |
// assertion | |
}) | |
}); | |
// this worked for me |
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
const withPlugins = require('next-compose-plugins'); | |
const withSourceMaps = require('@zeit/next-source-maps'); | |
const nextConfig = { | |
basePath: '/messages', | |
}; | |
const _withSourceMaps = [ | |
withSourceMaps, | |
{ |
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
curl -I <domain> # what headers are enabled on this site | |
sudo lsof -i :<port> # what process (pid) is running at a specified port, followed often by kill -9 <pid> | |
sudo killall -HUP mDNSResponder # reset local DNS cache |
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
#!/bin/bash | |
protected_branches=( production master ) | |
current_branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') | |
for i in "${protected_branches[@]}" | |
do | |
protected_branch=$i |
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
{ | |
"terminal.integrated.shell.osx": "/bin/zsh", | |
"editor.wordWrap": "on", | |
"references.preferredLocation": "view", | |
"workbench.panel.defaultLocation": "right", | |
"peacock.favoriteColors": [ | |
{ | |
"name": "Zopa Teal", | |
"value": "#00B9A7" | |
}, |
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 React, {FC} from 'react' | |
import Column from '../Atoms/Column' | |
import Row from '../Atoms/Row' | |
export interface IContentProps { | |
/** | |
* an array of objects with JSX elements | |
* @default <> </> | |
*/ | |
innerContent: JSX.Element |
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
[ | |
{ | |
"_id": "5c4c278665e65c411445a158", | |
"index": 0, | |
"guid": "3d80eb64-3477-408a-997f-eb8fe2e0fb2a", | |
"isActive": true, | |
"about": "Et veniam sunt cillum occaecat dolor in ex sunt nulla anim deserunt cupidatat laborum. Consequat commodo laboris officia labore eiusmod enim pariatur deserunt. Qui minim ipsum incididunt pariatur elit ullamco dolore officia sunt sit cillum.", | |
"highValue": [ | |
"5,763.60", | |
"2,185.52", |
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
<?php | |
namespace Origin\Theme\Metaboxes; | |
class PageMetaBox extends \Origin\Framework\Objects\Metabox | |
{ | |
/** | |
* A unique id/key for this Meta box. | |
* | |
* @var string |