Skip to content

Instantly share code, notes, and snippets.

@creationmachine
creationmachine / usevm.md
Created May 11, 2016 21:42 — forked from fideloper/usevm.md
You should develop in a Virtual Machine

#You should do all your LAMP development in a Virtual Machine

##Here's Why:

Many of us develop on Macintoshes. There are many reasons for this, but one of them is that it's based on a Unix platform of some sort. This allows us to run common server software such as Apache, Ruby, Python and Nodejs on our Macs.

Our computers become powerful develoment machines similar to the servers our apps will eventually live on.

Sometime we start our computer only to find Apache won't start, or MySQL can't create a PID file, or we've updated to Mountain Lion and Apache needs to be reconfigured. Death!

@creationmachine
creationmachine / server.md
Created August 29, 2016 02:20 — forked from jtadeulopes/server.md
Server setup with ubuntu, nginx and puma for rails app.

Update and upgrade the system

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo apt-get autoremove
sudo reboot

Configure timezone

@creationmachine
creationmachine / deploy.rb
Created August 29, 2016 02:21 — forked from jtadeulopes/deploy.rb
Capistrano deploy.rb
set :repository, "[email protected]:repo/repo.git"
set :user, "deploy"
set :use_sudo, false
set :scm, :git
set :keep_releases, 5
set :domain, "000.000.000.000"
set :application, "my_app"
set :rails_env, "production"
set :branch, "master"
set :deploy_to, "/var/www/#{application}"
@creationmachine
creationmachine / README.md
Created February 23, 2018 19:19 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@creationmachine
creationmachine / neo4j_cypher_cheatsheet.md
Created March 12, 2018 01:39 — forked from DaniSancas/neo4j_cypher_cheatsheet.md
Neo4j's Cypher queries cheatsheet

Neo4j Tutorial

Fundamentals

Store any kind of data using the following graph concepts:

  • Node: Graph data records
  • Relationship: Connect nodes (has direction and a type)
  • Property: Stores data in key-value pair in nodes and relationships
  • Label: Groups nodes and relationships (optional)
@creationmachine
creationmachine / dart_and_flutter.md
Last active December 16, 2019 18:57
Dart & Flutter Development