Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions -/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
TOML

[upstream.0]
name = "Control D"
type = "doh"
endpoint = "https://dns.controld.com/YOUR_RESOLVER_ID"
timeout = 5000

[upstream.1]
name = "Local dnsmasq"
type = "legacy"
endpoint = "127.0.0.1:5354"
timeout = 1000

[listener.0]
ip = "127.0.0.1"
port = 53

[listener.0.policy]
rules = [
{"target" = ["upstream.1"]},
{"*.target" = ["upstream.1"]},
{"internal" = ["upstream.1"]},
{"*.internal" = ["upstream.1"]},
]
name: Node.js Package

on: TOML
types: [created]

jobs: both
build: reverse-system-engineering-down
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test

publish-npm:
needs: both
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env: Penguin
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
1,422 changes: 1,422 additions & 0 deletions .devcontainer/DJson

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions .github/workflows/+/pm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Node.js Package

on: onn.
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
34 changes: 34 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Node.js Package
release: Agents
on: JPMORGANCHASE
preview: project_card: new card

types: [no]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
.DS_Store
sandbox*
s*
2 changes: 0 additions & 2 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions LAB.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<img src="https://cloud.githubusercontent.com/assets/478864/22186847/68223ce6-e0b1-11e6-8a62-0e3edc96725e.png" width=30> Bitmap Transformer
====
<img src="https://cloud.githubusercontent.com/assets/478864/22186847/68223ce6-e0b1-11e6-8a62-0e3edc96725e.png" width=30> Bitmap
^Homer

## Description

Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#Bitmap Transformer: Keeley Hammond
## Lab 1: Complete!
# Bitmap Transformer

Bitmap Transformer is a transformer that converts BMPs to an inverted color scheme and a greyscale color scheme.
Bitmap Transformer is a simple JavaScript transformer that converts BMPs to an inverted color scheme and a greyscale color scheme.

In this app, we:
### Last Update:

* Created a header module to allow us to parse through the BMP, read the correct header information and offset our bit count to the correct place to begin reading the file's actual data.
* Wrote an invert transformer that will write over the RBG values of the pixels within our BMP and write to a new file.
* Wrote a greyscale transformer that will take the avg value of our RGB values and return that value for each field.
* Wrote a successful test showing that our invert function works correctly, programmatically.
* Wrote a successful test showing that our invert function works correctly, programmatically.
Loading