Skip to content

Instantly share code, notes, and snippets.

Avatar

Jim Lynch JimLynchCodes

View GitHub Profile
View jims-ci-robot-idea.md

Jim's CI Robot Idea

Have a robot that hooks into different points of the continuous integration pipeline (of some other software project), and have the robot react accordingly as things are happening in your pipeline.

For example:

  • when a commit has been pushed to the maain branch the robot raises hit arm , jumps up, and plays a mario coin sound.
  • all the tests pass a "tests done" sound is played, some lights flash, and the robots head moves.
  • when the deployment finishes successfully, play a build finished sound and move robots arms around.
@JimLynchCodes
JimLynchCodes / DynamoDbManager.js
Created Jun 15, 2018
An example of working with dynamodb from nodejs.
View DynamoDbManager.js
/**
* Helper class that interacts with DynamoDB to read and write data.
*/
class DynamoDbManager {
constructor() {
const AWS = require("aws-sdk")
AWS.config.update({
region: "us-east-2",
@JimLynchCodes
JimLynchCodes / Installing-Tailwind-In-React.md
Last active Mar 26, 2020
Installing Tailwind In React
View Installing-Tailwind-In-React.md

Step 0) Create a new React project:

npx create-react-app tw-app

Step 1) Create tailwind config file:

npx tailwindcss init --full
@JimLynchCodes
JimLynchCodes / npm-start.sh
Created May 9, 2020
Run this bash script with arbitrary arguments, and it will call "npm start" with those arguments. If no arguments passed in it just runs "npm start".
View npm-start.sh
#!/usr/bin/env bash
npm_parameters=""
if [ "$#" -eq "0" ]; then
npm start
exit
fi
for i in $@
You can’t perform that action at this time.