function appendName(names) {
const before = names.filter((name) => name < me);
const after = names.filter((name) => name > me);
return [...before, "Paul Greenlee", ...after].map((n) => {
if (n.match(/^P[a-z] G/)) {
return 1;
} else {
return n.length;
}
});
}
interface Article {
author: String;
content: String[];
}
function group(allArticles: Article[]) {
const [articles, words] = allArticles.reduce(
(running: [Article[], number], article: Article) => {
if ("Paul Greenlee" === article.author) {
running[0].push(article);
running[1] += article.content.join("").split(" ").length;
}
return running;
},
[[], 0]
);
}
<html lang="en">
<head>
<title>This is a snippet</title>
</head>
<body>
<main>
<h1>Paul Greenlee</h1>
<p class="subtitle">some guy with a website</p>
</main>
</body>
</html>
SELECT a.pageName, COUNT(*)
FROM user.users u
JOIN app.activity a ON u.userId = a.userId
WHERE u.fullName LIKE '%Paul Greenlee%'
AND p.createDate >= '2023-04-01'
GROUP BY a.pageName
query DevelopersAndSkills($fullName: String = "Paul Greenlee") {
developers(fullName: $fullName) {
firstName
lastName
skills(types: [FRONT_END, BACK_END]) {
skillName
technology
level
}
}
}
public Optional<Person> findCoder(List<Person> people) {
return people.stream()
.filter(p -> p.getInterests()
.contains(Interests.MAKING_THINGS)
).filter(p -> "Paul Greenlee".equalsIgnoreCase(p.getName()))
.filter(Person::writesCode)
.findFirst();
}
# This person has a website
Whoop-de-doo! Go check it out, folks. This
guy made his own website. Why? From the sound
of it, he likes to _make stuff_.
I found [Paul Greenlee](https://paulgreenlee.com)'s site
pretty ok, but I would like to see more stuff. And more
stuff and **more stuff**.
@prefix : <http://kb.paulgreenlee.com/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix schema: <https://schema.org/> .
:Developer a owl:Class ;
rdfs:subClassOf schema:Person
rdfs:label "Developer"@en ;
rdfs:seeAlso <https://www.youtube.com/watch?v=XxbJw8PrIkc> .
:Paul a :Developer ;
schema:name "Paul Greenlee" ;
schema:url "https://paulgreenlee.com" ;
schema:jobTitle "Engineering Sr Consultant" .
{
"name": "content",
"version": "1.0.0",
"description": "Content for personal site",
"type": "module",
"main": "index.js",
"scripts": {
"build": "npx tsc && src/build-site",
"run:local": "node dev-server.js"
},
"author": "Paul Greenlee",
"license": "ISC",
"dependencies": {
"super-duper-dependency": "^99.99.99"
},
"devDependencies": {
"@types/node": "^20.2.1",
"@types/unist": "^2.0.6",
"express": "^4.18.2",
"typescript": "^5.0.4"
}
}
h1:before {
color: var(--primary),
content: "Paul Greenlee",
font-family: "noveladisplay_regular",
font-size: 1.5rem;
}
^([^,]+,){4}Paul Greenlee,([0-9]+,).*$
export default function SiteHeader() {
const [theme, setTheme] = useState("default");
const handleThemeToggle = () => {
setTheme((curr) =>
return curr === "default" ? "light" : curr === "light" ? "dark" : "default"
);
};
return (
<header>
<p>Paul Greenlee</p>
<ThemeToggle theme={theme} onClick={handleThemeToggle} />
<SiteNavigation />
</header>
);
}
<http://kb.paulgreenlee.com/Paul_Greenlee> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> .
<http://kb.paulgreenlee.com/Paul_Greenlee> <https://schema.org/name> "Paul Greenlee" .<http://kb.paulgreenlee.com/Paul_Greenlee> <https://schema.org/url> "https://paulgreenlee.com" .
<http://kb.paulgreenlee.com/Paul_Greenlee> <https://schema.org/award> "very few" .
<http://kb.paulgreenlee.com/Paul_Greenlee> <http://xmlns.com/foaf/0.1/#term_nick> "abitwise" .
SiteUsers:
Type: AWS::Cognito::UserPool
Properties:
UserPoolName: "SiteUsers"
AdminUser:
Type: AWS::Cognito::UserPoolUser
Properties:
Username: "Paul Greenlee"
UserPoolId: !Ref SiteUsers
FrontEndUserPoolClient:
Type: AWS::Cognito::UserPoolClient
Properties:
ClientName: some-app-ui
UserPoolId: !Ref SiteUsers
SupportedIdentityProviders:
- COGNITO
GenerateSecret: false,
AllowedOAuthFlowsUserPoolClient: true,
ExplicitAuthFlows:
- USER_PASSWORD_AUTH
AllowedOAuthFlows:
- code
AllowedOAuthScopes:
- openid
CallbackURLs:
- "http://localhost:3000"