lynda.com Ruby on Rails essential training by Kevin Skoglund
Ruby on rails tutorial Learn Rails by Example Michael Hartl
Web Applications by Johm Ousterhout at Stanford Uni
(1 week)
Pick up specific things at
Railscasts by Ryan Bates
Don't bother learning CSS or HTML or Ruby
Friday, 20 November 2015
Saturday, 14 November 2015
TightVNC server for just one app window
- Now it is possible to show a single application rather than the whole remote desktop. For that, run a server with a -shareapp CLI option and pass a running process ID as its argument.
Tuesday, 10 November 2015
Dev Things I did today, Tues 2015/11/11
Tried for help with Mongoose, so I can get the Http HOST header field to display in the Mongoose Access Log
Got confirmation of state of Play of SqueakCheck.
It's now 20:52, so it's time I got moving further ahead.
It's now 1:56am. No further ahead.
Got confirmation of state of Play of SqueakCheck.
It's now 20:52, so it's time I got moving further ahead.
It's now 1:56am. No further ahead.
Monday, 9 November 2015
Dev Things I Did Today, Mon 2015-11-10
Between midnight and 6am.
Bought domain names.
loveswordplay.com / ,co.uk
clubknight.co.uk / .uk
scorekeep.co.uk/ .uk
grantlove.co.uk
Set them up at 1&1 to point to the FreeDNS DNS servers
ns1.afraid.org
ns2.
ns3.
ns4.
Set FreeDNS up to point to my server at 80.192.200.150/
Port forwarding is to Stack for 80 and 443
Tests:
Chrome. DevTools mode, no caching
80.192.200.150/
clubknight.uk / .co.uk
loveswordplay.com / .co.uk
all return the Clubknight index page
grantlove.co.uk returns the 'teal' Love Swordplay index page
scorekeep.uk / .co.uk returned 404
Created a folder for scorekeep
M:\webroot\scorekeep
D:\Mongoose\webroot\scorekeep
Created index file for Scorekeep on M, and copied it to D:
Next test:
www.scorekeep.uk returns a Clubknight index page, not the scorekeep index page
www.clubknight.uk/trial does not work
clubknight.uk.to/trial does not work
Okay - redirected clubknight.co.uk and .uk.to to
./
This means they pick up the index file correctly. But they do not pick up the /trial subdirectory properly
Tried removing all clubknight entries, so all three use the root.
All of them should point to exactly the same server, so there should be no need to rewrite those three names, all of them should behave the same way
The mongoose.conf file has been wiped. By using the Advanced Settings facility
http://192.168.0.113/__mg_mc refers to the Mongoose Configuration file
K, working.
the php file was wrong, as was the access log
And root was at D:\Mongoose instead of D:\Mongoose\web_root
It all works now :-) Tuesday 5:41am
Set up a PharoCloud account
Bought domain names.
loveswordplay.com / ,co.uk
clubknight.co.uk / .uk
scorekeep.co.uk/ .uk
grantlove.co.uk
Set them up at 1&1 to point to the FreeDNS DNS servers
ns1.afraid.org
ns2.
ns3.
ns4.
Set FreeDNS up to point to my server at 80.192.200.150/
Port forwarding is to Stack for 80 and 443
Chrome. DevTools mode, no caching
80.192.200.150/
clubknight.uk / .co.uk
loveswordplay.com / .co.uk
all return the Clubknight index page
grantlove.co.uk returns the 'teal' Love Swordplay index page
scorekeep.uk / .co.uk returned 404
Created a folder for scorekeep
M:\webroot\scorekeep
D:\Mongoose\webroot\scorekeep
Created index file for Scorekeep on M, and copied it to D:
Next test:
www.scorekeep.uk returns a Clubknight index page, not the scorekeep index page
www.clubknight.uk/trial does not work
clubknight.uk.to/trial does not work
Okay - redirected clubknight.co.uk and .uk.to to
./
This means they pick up the index file correctly. But they do not pick up the /trial subdirectory properly
Tried removing all clubknight entries, so all three use the root.
All of them should point to exactly the same server, so there should be no need to rewrite those three names, all of them should behave the same way
The mongoose.conf file has been wiped. By using the Advanced Settings facility
http://192.168.0.113/__mg_mc refers to the Mongoose Configuration file
K, working.
the php file was wrong, as was the access log
And root was at D:\Mongoose instead of D:\Mongoose\web_root
It all works now :-) Tuesday 5:41am
Set up a PharoCloud account
Saturday, 7 November 2015
To start Smalltalk on Pi
Squeak:
In a terminal window,
cd /home/Squeak
bash squeak.sh
Pharo:
In a terminal window,
In a terminal window,
cd /home/Squeak
bash squeak.sh
Pharo:
In a terminal window,
cd /PiPharo
./PharoS Pharo.image &
Thursday, 5 November 2015
Pharo's FileSystem
myCurrDirectory := FileSystem disk workingDirectory .
FileSystem
disk ( a class method)"Answer a filesystem that represents the 'on-disk' filesystem used by the host operating system."
root ( a class method)
^ self disk root
root
"Returns the root of the receiver filesystem, i.e. / on unix"
^ self referenceTo: Path root
So.
FileSystem disk
creates a new FileSystem object
FileSystem disk workingDirectory
creates a new FileSystem object and returns the current directory
FileSystem disk root
creates a new FileSystem object, and magically returns the root path [I currently do not understand this code]
I now understand this code! Only 24 hours has past.
I'm betting:
FileSystem disk
creates the new FileSystem instance, and returns
aFileSystem, with a current disk
Asking for its root location returns the fully qualified filepath to the root
changeDirectory: aPath
self workingDirectoryPath: (self resolve: aPath)
resolve: aResolvable
^ aResolvable asResolvedBy: self
My brain hurts!
Wednesday, 4 November 2015
Getting Google to index web sites.
Add it to your Google dashboard.
This is the dashboard (login to your Google account to access it
https://www.google.com/webmasters/tools/home?hl=en
Google sends you a verification file, one that is static for a given Google account.
i.e. REMEMBER whether the site is for euanmee, or fencingisfun or gordon.r.love
euanmee : google330990923fcba193.html
fencingisfunscotland (? - probably, anyway): google7cfe21b3a8296589.html
Place the google verification file in the top level folder for the domain
Then tell Google the file is there
Specifically for Blogger.com sites, you need to provide a detailed Site Map to Google
Generate one here:
(It's important that you tell this generator about your .com site, and not the .local.tld alias that google tells users about, not the .co.uk one, in my case)
http://ctrlq.org/blogger/
This is the dashboard (login to your Google account to access it
https://www.google.com/webmasters/tools/home?hl=en
Google sends you a verification file, one that is static for a given Google account.
i.e. REMEMBER whether the site is for euanmee, or fencingisfun or gordon.r.love
euanmee : google330990923fcba193.html
fencingisfunscotland (? - probably, anyway): google7cfe21b3a8296589.html
Place the google verification file in the top level folder for the domain
Then tell Google the file is there
Specifically for Blogger.com sites, you need to provide a detailed Site Map to Google
Generate one here:
(It's important that you tell this generator about your .com site, and not the .local.tld alias that google tells users about, not the .co.uk one, in my case)
http://ctrlq.org/blogger/
Subscribe to:
Posts (Atom)