Skip to content

Instantly share code, notes, and snippets.


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

{
"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",
@chris-tse
chris-tse / ex.py
Created February 16, 2019 06:00
Python examples from PPL
# 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"]
@chris-tse
chris-tse / aesexample.sage
Created February 16, 2019 05:57
Sage snippets
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()
@chris-tse
chris-tse / getData.js
Last active September 18, 2018 18:01
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();
})
all: Program1 Program2
Program1:
gcc -o Program1 environ.c
Program2:
gcc -o Program2 strokes.c
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)
}
@chris-tse
chris-tse / webpack.config.js
Created May 21, 2017 08:37 — forked from learncodeacademy/webpack.config.js
Sample Basic Webpack Config
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"

Heading 1

This is one line

Heading 2

This is another line

  • List item
  • List item 2
  • List item 3
  • List Level
searchBtn.addClickListener( e -> {
res.clear();
total.clear();
total.addAll(db);
total.addAll(pdb);
String nameParam = searchName.getValue();
String priceParam = searchPrice.getValue();