Skip to content

Instantly share code, notes, and snippets.


Jim Lynch JimLynchCodes

View GitHub Profile
JimLynchCodes /
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".
#!/usr/bin/env bash
if [ "$#" -eq "0" ]; then
npm start
for i in $@
JimLynchCodes /
Last active Mar 26, 2020
Installing Tailwind In React

Step 0) Create a new React project:

npx create-react-app tw-app

Step 1) Create tailwind config file:

npx tailwindcss init --full
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")
region: "us-east-2",

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.