Skip to content

Instantly share code, notes, and snippets.

View rjmacarthy's full-sized avatar
🎮
The Tetris effect

richy rjmacarthy

🎮
The Tetris effect
View GitHub Profile
@rjmacarthy
rjmacarthy / cmd
Last active August 9, 2016 19:38
docker postgres
Run docker-machine env to get docker-machine host
psql -h [docker-machine host] -U youruser
psql -h 192.168.99.100 -U admin
psql -h 172.17.0.1 -U admin
@rjmacarthy
rjmacarthy / App.js
Last active August 9, 2016 08:54
Redux Thunk Boilerplate
import React, { Component } from 'react';
class App extends Component {
render() {
return (
<div>
<p>Header here</p>
<div className="container">
{this.props.children}
@rjmacarthy
rjmacarthy / cmd
Created August 4, 2016 10:27
Docker command for cmd on windows
FOR /f "tokens=*" %i IN ('docker-machine env --shell cmd default') DO %i
@rjmacarthy
rjmacarthy / index.html
Last active July 27, 2016 13:52
Es6 Starter - webpack | babel and package.json
<html>
<head>
<title></title>
</head>
<body>
<script src="bundle.js"></script>
</body>
</html>
@rjmacarthy
rjmacarthy / unsplash
Last active May 12, 2016 10:06
Stock Images
https://unsplash.com/
https://www.pexels.com/
https://bootstrapbay.com/blog/free-stock-photos/
Free stock images.
@rjmacarthy
rjmacarthy / mongoose-count
Created May 11, 2016 22:01
Mongoose count
db.model.find({'property.1': {$exists: true}})
# Tint2 config file
# Generated by tintwizard (http://code.google.com/p/tintwizard/)
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure
# Background definitions
# ID 1
rounded = 0
border_width = 0
background_color = #000000 60
border_color = #FFFFFF 16
@rjmacarthy
rjmacarthy / Selenium
Created April 26, 2016 09:44
Selenium stop
http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer
@rjmacarthy
rjmacarthy / Selenium
Last active April 26, 2016 10:01
Selenium stop
http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer
selenium-standalone start
@rjmacarthy
rjmacarthy / phpmyadmin
Created April 21, 2016 21:32
phpmyadmin
http://localhost/phpmyadmin/