Skip to content

Instantly share code, notes, and snippets.

View JimLynchCodes's full-sized avatar
🍍
🧑‍💻

Jim JimLynchCodes

🍍
🧑‍💻
View GitHub Profile
@JimLynchCodes
JimLynchCodes / aerospike-debian-12-x86-spin-up.sh
Last active September 6, 2023 03:00
Installs & starts an aerospike database on a fresh server instance running debian linux.
# First, decide which version of aerospike [community, federal, and enterprise] you want to use,
# and which linux + computer architecture you will be running- this code is meant to run on Debian 12 on x86 machines.
# Check here to browse aerospike package versions: https://download.aerospike.com/artifacts/
# 1) Get the aerospike tools package
wget -O aerospike-tools.tgz https://download.aerospike.com/artifacts/aerospike-server-community/latest/aerospike-server-community_6.4.0.2_tools-9.0.0_debian12_x86_64.tgz
## TODO - verify the file downloaded properly
# 2) Open the compressed tar file
@JimLynchCodes
JimLynchCodes / Installing-Tailwind-In-React.md
Last active March 26, 2020 03:20
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
@mkivanova
mkivanova / instructions.md
Created March 22, 2018 23:04 — forked from BearAlliance/instructions.md
Pre-interview Code Project

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 March 20, 2023 04:02
Auto deploy on GitHub Pages when commit on master (with TravisCI)

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
@yogin
yogin / CryptoKitties.sol
Created January 28, 2018 19:06
CryptoKitties
// Copied from: https://ethfiddle.com/09YbyJRfiI
// CryptoKitties Source code
// Copied from: https://etherscan.io/address/0x06012c8cf97bead5deae237070f9587f8e7a266d#code
pragma solidity ^0.4.11;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
@loopDelicious
loopDelicious / .travis.yml
Last active December 12, 2019 14:17
Integrate API tests with Postman, Newman, and Travis CI
language: node_js
node_js:
- "8.2.1"
install:
- npm install newman
before_script:
- node --version
- npm --version
@btroncone
btroncone / ngrxintro.md
Last active February 9, 2024 15:37
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series

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 July 20, 2020 13:26
Pre-interview Code Project

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

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!
@piotrchludzinski
piotrchludzinski / livescore_soccer.js
Created October 29, 2015 10:35
livescore server script
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');