Skip to content

Instantly share code, notes, and snippets.

Avatar

Jim Lynch JimLynchCodes

View GitHub Profile
@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
@mkivanova
mkivanova / instructions.md
Created Mar 22, 2018 — forked from BearAlliance/instructions.md
Pre-interview Code Project
View instructions.md

Pre-interview Code Project

Use the Star Wars API to generate a list of the films that a particular character appears in.

Requirements

Submit an application that accomplishes the objectives below. Hosting is up to you, we only need a link to a working deployment of your project, and a link to your source code. We reccomend js bin and Plunker for free, all-in-one solutions.

@maxpou
maxpou / github-page-travis.md
Last active Aug 18, 2020
Auto deploy on GitHub Pages when commit on master (with TravisCI)
View github-page-travis.md

Auto deploy on GitHub Pages when commit on master (with TravisCI)

Repo side

  1. touch .travis.yml
  2. Copy paste the following
language: node_js
node_js: stable
@loopDelicious
loopDelicious / .travis.yml
Last active Dec 12, 2019
Integrate API tests with Postman, Newman, and Travis CI
View .travis.yml
language: node_js
node_js:
- "8.2.1"
install:
- npm install newman
before_script:
- node --version
- npm --version
@btroncone
btroncone / ngrxintro.md
Last active Sep 17, 2020
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series
View ngrxintro.md

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on egghead.io!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

@BearAlliance
BearAlliance / instructions.md
Last active Jul 20, 2020
Pre-interview Code Project
View instructions.md

Pre-interview Code Project

Use the Star Wars API to generate a list of the films that a particular character appears in.

Requirements

Submit an application that accomplishes the objectives below. Hosting is up to you, we only need a link to a working deployment of your project, and a link to your source code. We reccomend js bin, Plunker, and StackBlitz for free, all-in-one solutions.

Alternatively, use github, gitlab, or bitbucket for source control, and a real hosting service such as AWS, Google Cloud, Digital Ocean, or Heroku. Bonus points for continuous integration and deployment

Objectives

View phaser-cheatsheet.md

Phaser Cheatsheet

This is the content from the original Phaser cheatsheet, the site of which went down. I'm editing outdated information as I come across it.

Starting a new game

Reference: http://docs.phaser.io/Phaser.Game.html#Game

var game = new Phaser.Game(width, height, renderer, "parent");
//All parameters are optional but you usually want to set width and height
//Remember that the game object inherits many properties and methods!
View livescore_soccer.js
var pmx = require('pmx');
var express = require('express');
var pool = require('./db_connect.js');
var app = express();
var server = require('http').createServer(app);
var io = require('socket.io')(server);
var ejs = require('ejs');
app.set('view engine', 'ejs');
app.set('views', __dirname + '/templates');
View protractorAPICheatsheet.md
@vaskoz
vaskoz / programatic_tests.go
Created Jun 24, 2015
Run golang tests programatically
View programatic_tests.go
package main
import (
"flag"
"fmt"
"testing"
)
func Test1(t *testing.T) {
if 1+2 != 3 {
You can’t perform that action at this time.