description: >- Use this agent when you want the same comprehensive build and development assistance as the primary build agent, but enhanced with contextual insights about the codebase. This agent provides technical commentary and observations about code patterns, architecture decisions, and implementation details alongside regular responses. Examples: Context: User is implementing a new authentication middleware and wants both implementation help and architectural insights. user: 'I need to add JWT authentication to my Express app' assistant: 'I'll help you implement JWT authentication. Let me use the
This file contains hidden or 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
{ | |
"meta": { | |
"theme": "kwan" | |
}, | |
"basics": { | |
"name": "Christopher Tse", | |
"label": "Software Engineer", | |
"picture": "https://avatars1.githubusercontent.com/u/250450?s=460&u=9ac176dd3f8eac181efc5ab31674063e47a06b13&v=4", | |
"summary": "I love creating things for the web. My main choice of tools currently are React, Sass/SCSS, Tailwind CSS, and Node.js. I was born and raised in Calgary, Canada and now reside in Oklahoma City working at Oracle Netsuite.", | |
"website": "https://christse.io", |
This file contains hidden or 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
# list generate | |
[x for x in range(10)] | |
# loop through string | |
for c in "oklahoma": | |
print(2*c) | |
# conditional generate | |
[2*c for c in "oklahoma" if c != "o"] |
This file contains hidden or 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
F2X.<x> = GF(2)[] | |
aespoly = x^8 + x^4 + x^3 + x + 1 | |
f256.<a> = GF(256, modulus=aespoly) | |
2*f256(1) # 0 | |
(a+1)^255 # 1 | |
(a+1)^(255/3) # a^7 + a^5 + a^4 + a^3 + a^2 + 1 | |
a.minpoly() |
This file contains hidden or 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
async function getData() { | |
// Full name is included in JSON response | |
const usernames = ["joematthews", "austinwk", "mbisoh", "zburton", "natalief", "vgramm", "bchirgwin", "madeupname", "chris-tse"]; | |
// use Promise.all to resolve all items asyncly | |
let data = Promise.all( | |
usernames.map(async (username) => { | |
// ES6 template strings for cleaner appending | |
let url = `https://www.freecodecamp.org/api/users/get-public-profile?username=${username}`; | |
return await (await fetch(url)).json(); | |
}) |
This file contains hidden or 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
all: Program1 Program2 | |
Program1: | |
gcc -o Program1 environ.c | |
Program2: | |
gcc -o Program2 strokes.c |
This file contains hidden or 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 diff = (set1, set2) => { | |
if (set1.size === 0) return set2 | |
if (set2.size === 0) return set1 | |
else { | |
let result = new Set() | |
for (let num of set1.values()) { | |
if (!set2.has(num)) { | |
result.add(num) | |
} |
This file contains hidden or 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
var debug = process.env.NODE_ENV !== "production"; | |
var webpack = require('webpack'); | |
module.exports = { | |
context: __dirname, | |
devtool: debug ? "inline-sourcemap" : null, | |
entry: "./js/scripts.js", | |
output: { | |
path: __dirname + "/js", | |
filename: "scripts.min.js" |
This file contains hidden or 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
searchBtn.addClickListener( e -> { | |
res.clear(); | |
total.clear(); | |
total.addAll(db); | |
total.addAll(pdb); | |
String nameParam = searchName.getValue(); | |
String priceParam = searchPrice.getValue(); |
NewerOlder