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 { MDXRemote, MDXRemoteSerializeResult } from "next-mdx-remote"; | |
import { CodeBlock, Link, Page } from "~/components"; | |
import { PostData, PostSummaryData } from "~/models"; | |
import Gist from "react-gist"; | |
import Emoji from "a11y-react-emoji"; | |
import { POSTS_DIR, TEST_IDS } from "~/shared"; | |
import React from "react"; | |
import { PullQuote } from "../PullQuote/PullQuote"; | |
import { CalloutBox } from "../CalloutBox/CalloutBox"; | |
import { Image } from "../Image"; |
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
interface Props { | |
children?: React.ReactNode; | |
} | |
export function {{pascalCase name}} ({ children }: Props) { | |
return ( | |
<div> | |
{children} | |
</div> | |
); |
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
{ | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.iconTheme": "vscode-icons", | |
"window.zoomLevel": 3, | |
"terminal.integrated.shell.osx": "/usr/local/bin/fish", | |
"terminal.integrated.fontFamily": "'Ubuntu Mono derivative Powerline', Menlo, Monaco, 'Courier New', monospace", | |
"editor.snippetSuggestions": "top", | |
"editor.fontFamily": "'Victor Mono', Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"workbench.colorTheme": "One Dark Plus", |
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
# name: bobthefish | |
# | |
# bobthefish is a Powerline-style, Git-aware fish theme optimized for awesome. | |
# | |
# You will need a Powerline-patched font for this to work: | |
# | |
# https://powerline.readthedocs.org/en/master/installation.html#patched-fonts | |
# | |
# I recommend picking one of these: | |
# |
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
{ | |
"workbench.startupEditor": "newUntitledFile", | |
"files.insertFinalNewline": true, | |
"javascript.format.enable": false, | |
"workbench.iconTheme": "vscode-icons", | |
"editor.wordWrap": "on", | |
"workbench.colorTheme": "One Dark Pro Vivid", | |
"terminal.integrated.shell.osx": "/usr/local/bin/fish", | |
"terminal.integrated.fontFamily": "Source Code Pro for Powerline", | |
"editor.formatOnSave": true, |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title><your name>'s Personal Site</title> | |
</head> | |
<body> | |
<p>Hi, I'm <your name>.</p> | |
<p>Thanks for stopping by!</p> |
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
{ | |
"name": "my-personal-site", | |
"version": "1.0.0", | |
"main": "index.html", | |
"repository": "[email protected]:andersr/my-personal-site.git", | |
"author": "Anders <[email protected]>", | |
"license": "MIT", | |
"scripts": { | |
"dev": "live-server ", | |
}, |
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
{ | |
"name": "my-personal-site", | |
"version": "1.0.0", | |
"main": "index.html", | |
"repository": "[email protected]:andersr/my-personal-site.git", | |
"author": "Anders <[email protected]>", | |
"license": "MIT", | |
"devDependencies": { | |
"live-server": "^1.2.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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>My Personal Site</title> | |
</head> | |
<body> | |
<h1>My Personal Site</h1> | |
</body> |
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/zsh | |
((!$#)) && echo No matching branch found && exit 1 | |
git checkout $1 | |
# place in ~./bin/git-<command> |
NewerOlder