Skip to content

Instantly share code, notes, and snippets.

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

Jim JimLynchCodes

🍍
🧑‍💻
View GitHub Profile
@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');
@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
@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.

@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
@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

(ns async-test.timeout.core
(:require [cljs.core.async :refer [chan close!]])
(:require-macros
[cljs.core.async.macros :as m :refer [go]]))
(defn timeout [ms]
(let [c (chan)]
(js/setTimeout (fn [] (close! c)) ms)
c))
@javierarques
javierarques / protractorAPICheatsheet.md
Last active January 31, 2023 08:51
Protractor API Cheatsheet
@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
@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