Have you ever been asked to generate an SSH keypair in order to gain access to a server, github, or an sftp site?
Here is how on windows.
First, download puttygen.exe from here:
Second, run puttygen.exe and follow these instructions:
(except, put your name instead of Sharon)
(On step 8, copy and paste this and send it to whomever requested it)
PostgreSQL is a very powerful database. One of the things that seems missing when moving from MySQL is the ability to simply create an enumeration. ENUM is nice when you have a programmatically-semantic set of values for a field.
In PostgreSQL, you have several choices. But one simple one is to create a Check expression, like follows. Skip the IS NULL part if you don’t want the field nullable.
"TransferStatus" IS NULL
"TransferStatus" = ANY(ARRAY['TransferComplete', 'TransferFailedNoAnswer', 'TransferFailedProspectLost'])
Ever want to checkout a new git branch from another branch without setting up tracking?
Here is the longhand way:
git checkout old-branch
git branch new-branch
git checkout new-branch
But there is a quicker way:
git checkout -b new-branch old-branch
… which does the same thing, albiet in one command.
After several intense programming sessions, I got the HomeSchool software in a quite suitable place for us to be able to use it to produce a log and portfolio.
I must say, it’s looking pretty nice! It is rather amazing to look back at the year, and see in detail what was going on with Eli.
One of my favorites is on page 159 (read the letter on the telephone pole):
Here is a screen shot of the book view:
The ability to add and remove images from a Book Page is now working. Next step is to make the alignment buttons work. Final step is to plug it into the rendering…
I’ve recently been working against a deadline this month to get our Portfolio rendered, printed, and turned into the local Altoona Area School District.
The software has many improvements from the last couple days alone. A background page renderer runs at all times, and will re-render a book’s page if anything on it changed. The user interface for positioning images on a page is nearly complete. I’ve enhanced the database with storage of full size JPEG images as well as info about the image (width, height, type, size).
Here is a screen shot of the page editor: