[ Launch: test ] 67ba18f51eaea4953395 by shawngmc
These are notes for myself on the crouton setup for my chromebook
Hold Power+ESC+Refresh, then let go of the power, when the OS verification warning screen appears enter Ctrl-D
Follow the instructions here to download the latest version of https://goo.gl/fd3zc.
Incremental games are great - they can also be fun to write - but making one that's truly a keeper requires careful design. I've dropped too many games because they peg my PC or are throttled, and as a developer I know it's avoidable. So - let's discuss it!
One of the first things to keep in mind is that your game should behave differently if it is not in the foreground. Why? As a protective measure, web browsers limit the activity of background tabs:
- Chrome budgets your CPU usage, and this can only be disabled globally
This file contains 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
user@dockermachine:~/$ wget http://localhost:3000/ | |
--2017-12-21 19:35:39-- http://localhost:3000/ | |
Resolving localhost (localhost)... ::1, 127.0.0.1 | |
Connecting to localhost (localhost)|::1|:3000... connected. | |
HTTP request sent, awaiting response... 302 Found | |
Location: /login [following] | |
--2017-12-21 19:37:39-- http://localhost:3000/login | |
Connecting to localhost (localhost)|::1|:3000... connected. | |
HTTP request sent, awaiting response... No data received. | |
Retrying. |
This file contains 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
# Docker command to start it | |
docker run -d \ | |
-p 3000:3000 \ | |
-v /localdir/on/mybox/wikijs/config.yml:/var/wiki/config.yml \ | |
-e "[email protected]" \ | |
-e "VIRTUAL_HOST=wiki.mysite.com" \ | |
-e "LETSENCRYPT_HOST=wiki.mysite.com" \ | |
-e "[email protected]" \ | |
--name wikijs \ | |
requarks/wiki |
This file contains 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
-------------------------- | |
Container Logs | |
-------------------------- | |
2017-12-22 00:31:34,716 CRIT Supervisor running as root (no user in config file) | |
2017-12-22 00:31:34,723 INFO RPC interface 'supervisor' initialized | |
2017-12-22 00:31:34,723 CRIT Server 'unix_http_server' running without any HTTP authentication checking | |
2017-12-22 00:31:34,723 INFO supervisord started with pid 1 | |
2017-12-22 00:31:35,725 INFO spawned: 'wikijs' with pid 9 | |
2017-12-22 00:31:37,309 INFO success: wikijs entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) |
This file contains 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
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get upgrade | |
# Install mailutils for email access | |
sudo apt-get install mailutils | |
# Install prereqs for dpkg over https | |
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common |
This file contains 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
. .env | |
# Used from .env | |
# PASSWD: The postgres password | |
# Set up Guacd | |
echo Creating guacd container... | |
docker run -d \ | |
--name guacd \ | |
guacamole/guacd |
This file contains 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
# Update Clock | |
# https://www.reddit.com/r/Crostini/wiki/getstarted/bootstrapping-a-container | |
sudo dpkg-reconfigure tzdata | |
# Update package list | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
# Install 'command-not-found' support | |
# https://www.reddit.com/r/Crostini/wiki/howto/install-command-not-found |
This file contains 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
########## | |
# Dev Stuff | |
########## | |
# Git and GitFlow | |
brew install git | |
brew install git-flow |
OlderNewer