A 16-core Linux VM in the cloud with 104GB of RAM for running search engines:
ssh-add workshop.pem
ssh elixir@elixir.hosting.lv
A smaller 8-core, 7GB RAM VM in the same zone for running performance tests:
[gd_resource type="Theme" load_steps=12 format=3 uid="uid://7bvxnk5n5imx"] | |
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6h42l"] | |
content_margin_left = 10.5 | |
content_margin_top = 8.75 | |
content_margin_right = 10.5 | |
content_margin_bottom = 8.75 | |
bg_color = Color(0.117647, 0.117647, 0.117647, 1) | |
draw_center = false | |
border_color = Color(1, 1, 1, 0.137255) |
#!/bin/bash | |
### | |
### my-script — does one thing well | |
### | |
### Usage: | |
### my-script <input> <output> | |
### | |
### Options: | |
### <input> Input file to read. | |
### <output> Output file to write. Use '-' for stdout. |
A 16-core Linux VM in the cloud with 104GB of RAM for running search engines:
ssh-add workshop.pem
ssh elixir@elixir.hosting.lv
A smaller 8-core, 7GB RAM VM in the same zone for running performance tests:
#!/bin/bash | |
echo "Usage bin/neo4j-cli [path/to/db] [host-or-ip] [port]" | |
DIR=${0%%neo4j-cli} | |
DB=${1-data/graph.db} | |
IP=${2-127.0.0.1} | |
PORT=${3-7474} | |
CONFIG=${DIR}../conf/neo4j-server.properties |
# user model | |
# single resource | |
class YourApp.User extends Batman.Model | |
@storageKey: 'user' | |
@resourceName: 'user' | |
@encode 'name' | |
@encode 'email' |
As configured in my dotfiles.
start new:
tmux
start new with session name:
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
# MySQL. Versions 4.1 and 5.0 are recommended. | |
# | |
# Install the MySQL driver: | |
# gem install mysql2 | |
# | |
# And be sure to use new-style password hashing: | |
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html | |
development: | |
adapter: mysql2 | |
encoding: utf8 |