postgress: 5432 eventstore: 2113, 1113 ssh 443 git 9418 sockets 12000-12010
// tennis scoring a game | |
// love, 15, 30, 40 -> game | |
// unless both 40 its deuce | |
// player1: adv -> game (if p1 scores) | |
// adv -> deuce (if p2 scores) | |
// enter a score | |
type Command = 'start game'| 'player1' | 'player2' |
------------------ | |
System Information | |
------------------ | |
Time of this report: 12/24/2018, 10:22:50 | |
Machine name: DESKTOP-GRULIP0 | |
Machine Id: {CEBCD622-F5EF-45F4-BF36-5974664C15C2} | |
Operating System: Windows 10 Pro 64-bit (10.0, Build 17763) (17763.rs5_release.180914-1434) | |
Language: English (Regional Setting: English) | |
System Manufacturer: System manufacturer | |
System Model: System Product Name |
#!/bin/bash | |
sudo mkfs.ext4 -m 0 -F -E lazy_itable_init=0,lazy_journal_init=0,discard /dev/sdb | |
sudo mkdir -p /mnt/disks/eventstore | |
sudo mount -o discard,defaults /dev/sdb /mnt/disks/eventstore | |
sudo chmod a+w /mnt/disks/eventstore | |
sudo cp /etc/fstab /etc/fstab.backup | |
echo UUID=`sudo blkid -s UUID -o value /dev/sdb` /mnt/disks/eventstore ext4 discard,defaults,nofail 0 2 | sudo tee -a /etc/fstab | |
wget https://packagecloud.io/EventStore/EventStore-OSS/packages/ubuntu/xenial/eventstore-oss_4.0.3_amd64.deb/download.deb | |
mv download.deb eventstore-oss_4.0.3_amd64.deb |
you need #! on the end of your url | |
stupid |
eventstored --ext-ip 0.0.0.0 --ext-http-port 2113 |
- (Get it)[https://neo4j.com/download-thanks/?edition=community&release=3.2.1&flavour=unix&_ga=2.44001574.2044336869.1498638013-1192717382.1497361390]
- copy it to a bin directory and un tar it.
tar -xf neo4j-enterprise-2.3.1-unix.tar.gz
- set environment variable
export NEO4J_HOME=$HOME/bins/neo4j-community-3.2.1
- run it - follow instructions on above link.
# from https://www.postgresql.org/download/linux/ubuntu/ | |
sudo "deb http://apt.postgresql.org/pub/repos/apt/ zesty-pgdg main" >> /etc/apt/sources.list.d/pgdg.list | |
sudo apt-get update | |
sudo apt-get install postgresql-9.4 postgresql-client-9.4 postgresql-contrib-9.4 pgadmin3 postgresql-doc-9.4 | |
# setup postgres | |
sudo -u postgres psql postgres | |
\password postgres |
# checkout, compile & install | |
git clone https://github.com/facebook/watchman.git | |
cd watchman/ | |
git checkout v4.7.0 | |
sudo apt-get install -y autoconf automake build-essential python-dev libtool | |
./autogen.sh | |
./configure | |
make | |
sudo make install |
Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, when I started going through the process of forking and issuing pull requests, I had some trouble figuring out the proper method for doing so and made quite a few mistakes along the way. I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.
In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.
Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your