- First commercial release
- No graphics feature (ASCII only)
- Z80 (2,5Mhz)
- 2 single sided / double density (SS/DD) floppy drive
- 64 kb RAM
- CP/M 2.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lib/tasks/db.rake | |
namespace :db do | |
desc "Dumps the database to db/APP_NAME.dump" | |
task :dump => :environment do | |
cmd = nil | |
with_config do |app, host, db, user| | |
cmd = "pg_dump --host #{host} --username #{user} --verbose --clean --no-owner --no-acl --format=c #{db} > #{Rails.root}/db/#{app}.dump" | |
end | |
puts cmd |
based on DigitalOcean guide
Create local project
local$ rails new appname -T -d postgresql
local$ rails g scaffold Story title:string body:text
local$ rails db:migrate
Keyboard newmen gm610
Wireless or Wire mode:
- FN + Tab for 3 seconds to switch from on to another. Blue flashing tab means Wireless mode, red flashing means Wire mode.
Bluthouth connection:
- FN + Q or W or E for 3 seconds to try to connect
- FN + Q or W or E to switch blutouth channel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vim color scheme based on http://github.com/jpo/vim-railscasts-theme | |
" | |
" Name: railscasts.vim | |
" Maintainer: Ryan Bates | |
" License: MIT | |
set background=dark | |
hi clear | |
if exists("syntax_on") | |
syntax reset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This template is inspired on https://gist.githubusercontent.com/lazaronixon/7815d84702f277ead5e89c9f2aa5581f/raw/rubocop.yml | |
require: | |
- rubocop-performance | |
- rubocop-rails | |
- rubocop-rspec | |
Rails: | |
Enabled: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.fontSize": 14, | |
"editor.rulers": [ | |
75, | |
80, | |
85, | |
100, | |
120 | |
], | |
"explorer.openEditors.visible": 10, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DATABASE_HOST=app_name-db | |
DATABASE_USER=postgres | |
DATABASE_PASSWORD=password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APPLICATION_NAME = app_name | |
WEB_CONTAINER_NAME = $(APPLICATION_NAME)-web | |
.DEFAULT_GOAL := help | |
CONTAINER_APP_MANAGER = docker ## Podman vs Docker | |
# Docker stuff | |
attach: ## Attach running web container to see logs | |
$(CONTAINER_APP_MANAGER) attach $(APPLICATION_NAME)_$(WEB_CONTAINER_NAME)_1 |
NewerOlder