www.gizmola.com Open in urlscan Pro
2606:4700:3033::ac43:dc83  Public Scan

Submitted URL: http://www.gizmola.com/
Effective URL: https://www.gizmola.com/blog/
Submission: On August 08 via api from US — Scanned from DE

Form analysis 2 forms found in the DOM

GET /blog/index.php

<form id="searchform" action="/blog/index.php" method="get" role="search">
  <div>
    <input type="hidden" name="serendipity[action]" value="search">
    <label for="serendipityQuickSearchTermField">Quicksearch</label>
    <input id="serendipityQuickSearchTermField" name="serendipity[searchTerm]" type="search" placeholder="Search term(s)" value="">
    <input id="searchsend" name="serendipity[searchButton]" type="submit" value="Go!">
  </div>
</form>

POST index.php?frontpage

<form action="index.php?frontpage" method="post">
  <div id="serendipity_category_form_content">
    <ul id="serendipity_categories_list" style="list-style: none; margin: 0px; padding: 0px">
      <li class="category_depth0 category_2" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="2"><a class="serendipity_xml_icon" href="/blog/feeds/categories/2-Hearth.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/2-Hearth" title="Personal entries" style="padding-left: 0px">Hearth</a></li>
      <li class="category_depth1 category_5" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="5"><a class="serendipity_xml_icon" href="/blog/feeds/categories/5-Family.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/5-Family" title="Things having to do with family and friends" style="padding-left: 6px">Family</a></li>
      <li class="category_depth1 category_15" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="15"><a class="serendipity_xml_icon" href="/blog/feeds/categories/15-Product.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/15-Product" title="Products I like or dislike that aren't technocentric" style="padding-left: 6px">Product</a></li>
      <li class="category_depth1 category_9" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="9"><a class="serendipity_xml_icon" href="/blog/feeds/categories/9-Work.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/9-Work" title="News about my Job and employer(s)" style="padding-left: 6px">Work</a></li>
      <li class="category_depth0 category_3" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="3"><a class="serendipity_xml_icon" href="/blog/feeds/categories/3-Media.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/3-Media" title="Music, Film, Literature, Games" style="padding-left: 0px">Media</a></li>
      <li class="category_depth1 category_16" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="16"><a class="serendipity_xml_icon" href="/blog/feeds/categories/16-Film-and-TV.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/16-Film-and-TV" title="Items about Film, Filmmaking, TV and broadcasting" style="padding-left: 6px">Film and TV</a></li>
      <li class="category_depth1 category_17" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="17"><a class="serendipity_xml_icon" href="/blog/feeds/categories/17-Games.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/17-Games" title="Computer and console games" style="padding-left: 6px">Games</a></li>
      <li class="category_depth1 category_14" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="14"><a class="serendipity_xml_icon" href="/blog/feeds/categories/14-Music.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/14-Music" title="Music and musicians" style="padding-left: 6px">Music</a></li>
      <li class="category_depth0 category_4" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="4"><a class="serendipity_xml_icon" href="/blog/feeds/categories/4-Musings.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/4-Musings" title="...on Travel, History, Politics" style="padding-left: 0px">Musings</a></li>
      <li class="category_depth1 category_13" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="13"><a class="serendipity_xml_icon" href="/blog/feeds/categories/13-History.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/13-History" title="" style="padding-left: 6px">History</a></li>
      <li class="category_depth1 category_11" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="11"><a class="serendipity_xml_icon" href="/blog/feeds/categories/11-Journalism.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/11-Journalism" title="" style="padding-left: 6px">Journalism</a></li>
      <li class="category_depth1 category_12" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="12"><a class="serendipity_xml_icon" href="/blog/feeds/categories/12-Travel.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/12-Travel" title="" style="padding-left: 6px">Travel</a></li>
      <li class="category_depth0 category_1" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="1"><a class="serendipity_xml_icon" href="/blog/feeds/categories/1-Tech.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/1-Tech" title="Technology" style="padding-left: 0px">Tech</a></li>
      <li class="category_depth1 category_10" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="10"><a class="serendipity_xml_icon" href="/blog/feeds/categories/10-Linux.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/10-Linux" title="Linux related" style="padding-left: 6px">Linux</a></li>
      <li class="category_depth1 category_8" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="8"><a class="serendipity_xml_icon" href="/blog/feeds/categories/8-Web-Tech.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/8-Web-Tech" title="Web tools, languages, etc" style="padding-left: 6px">Web Tech</a></li>
      <li class="category_depth1 category_7" style="display: block;"><input style="width: 15px" type="checkbox" name="serendipity[multiCat][]"
          value="7"><a class="serendipity_xml_icon" href="/blog/feeds/categories/7-Website.rss"><img src="/blog/templates/default/img/xml.gif" alt="XML" style="border: 0px"></a>
        <a href="/blog/categories/7-Website" title="Silly news about my website" style="padding-left: 6px">Website</a></li>
    </ul>
    <div class="category_submit"><input type="submit" name="serendipity[isMultiCat]" value="Go!"></div>
  </div>
</form>

Text Content

Skip to content


GIZMOLA.COM

Articles and information about Web development, history and programming

Quicksearch


NAVIGATION

 * Home
 * Forum
 * Pastebin
 * Downloads
 * Contact Me

HomeForumPastebinDownloadsContact Me


TESTING NEW SSH KEYS

Posted by David Rolston on Wednesday, July 31. 2024


YOU CREATED A NEW SSH KEY, BUT ARE YOU ACTUALLY TESTING IT?


I routinely have to create new ssh keys for system users and also verify that
they are working correctly. One possible area of confusion is how ssh keys are
found by the ssh client.

While most of this information is not specific to osx, since I typically use a
macbook running osx, I'll cover a couple of things somewhat specific to osx.

SSH clients will typically default to searching for a private key that exists in
the user's home directory in a subdirectory named ".ssh"

So let's assume that you create an ssh key for a new user, utilizing ssh-keygen



ssh-keygen -t ed25519 -N some-new-passphrase -f id_newuser -C "new user"
 


Should you omit the -N parameter above you will be prompted for a passphrase. In
either case, you should use passphrases in almost all situations to protect your
system from lost or stolen private keys!!!

So if all goes well, you will now have a new public/private ssh key pair.



On the remote system, you will typically add the public key (id_newuser.pub in
this example) to the .ssh/authorized_keys file.

While not the point of this article, you will also need to understand the
permission requirements of the user's home .ssh directory and files. Make sure
the directory and files are private to the user, or ssh connections will fail.




TIME TO TEST

Continue reading "Testing new ssh keys"
Categories: Linux, Web Tech, Website | 0 Comments


SYMFONY & DOCTRINE MAPPING PROBLEMS WITH MYSQL BIGINT COLUMNS, AND HOW TO FIX
THIS

Posted by David Rolston on Friday, February 10. 2023
In the process of upgrading a Symfony project from version 2 to version 5, I
came across an issue with a MySQL table that has a number of BIGINT columns.
There had been no issue previously, but after updating to the newer symfony (and
doctrine components) mySQL bigint columns were empty/null in my doctrine
entities.

After some investigation I came upon this section of the Doctrine manual:



> For compatibility reasons this type is not converted to an integer as PHP can
> only represent big integer values as real integers on systems with a 64-bit
> architecture and would fall back to approximated float values otherwise which
> could lead to false assumptions in applications.



To protect symfony apps running on 32 bit systems, Doctrine maps Bigint columns
to the string type, and this broke the entity definition I was using, even
though my application will only be deployed on 64 bit systems. I think that for
most people this is the norm.

There are a few different ways to get around this issue, including type casting
from string to integer/integer to string in your getters and setters, but if you
have a lot of bigint columns across tables, that probably isn't a great
solution. In this article, I present the solution I implemented, which utilizes
a Custom Doctrine type to override the built in Doctrine behavior.
Continue reading "Symfony & Doctrine Mapping problems with MySQL Bigint columns,
and how to fix this"
Categories: Web Tech | 0 Comments


DOCKER4LAMP - A LAMP DOCKER DEVELOPMENT ENVIRONMENT

Posted by David Rolston on Wednesday, November 17. 2021
I have made this project (Docker For LAMP) publically available on Github, under
the MIT license.

The target user group is php developers who want or need a simple, minimal (yet
very current) LAMP development environment. I want this to be friendly to new
developers, and a useful alternative to localhost environments like xamp, mamp
or wamp.



Ideally it offers the type of convenience and isolation of a vagrant lamp
environment except with orchestrated containers. Continue reading "docker4lamp -
A LAMP Docker development environment"
Categories: Web Tech | 0 Comments


SYMFONY 5.2 AND APACHE 2.4

Posted by David Rolston on Saturday, January 2. 2021
Certainly the most convenient way to develop a Symfony 5.x app is to use the
symfony server. Eventually however, you may have to deploy the application. For
a number of years nginx with php-fpm was the preference for many sysadmins
seeking to wring the maximum performance out of a webserver that also has to run
php scripts, but there are now simple ways of configuring apache to use php-fpm
while achieving comparable performance to nginx.

For example a vhost setting like this one is possible:



<VirtualHost *:80>
    SetEnv ENVIRONMENT "dev"
    <FilesMatch \.php$>
        SetHandler proxy:fcgi://php:9000
        # for Unix sockets, Apache 2.4.10 or higher
    </FilesMatch>
    # Proxy .php requests to port 9000 of the php-fpm container
    DocumentRoot /usr/local/apache2/cms/public
    ServerName cms.mydev.local
    ServerAdmin admin@mydev.local

    <Directory /usr/local/apache2/cms/public>
        DirectoryIndex index.php index.html
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
   
    # Send apache logs to stdout and stderr
    CustomLog /proc/self/fd/1 common
    ErrorLog /proc/self/fd/2
</VirtualHost>
 


Continue reading "Symfony 5.2 and Apache 2.4"
Categories: Web Tech | 0 Comments



SYMFONY 5: THE FAST TRACK BOOK AND INSTALLING A LOCAL PHP VERSION THAT WORKS!

Posted by David Rolston on Tuesday, January 21. 2020
Having backed Fabien Potencier's "Symfony 5: The Fast Track" book on
Kickstarter, I received the book a few weeks ago, and had a chance over the
weekend to start reading it.

As a Macbook/OSX user, his recommended environment includes a current locally
installed version of PHP with a number of php extension libraries. You also need
installation of the php standard composer tool, as well as docker. As I have a
Macbook running OSX Mojave, I had to take a number of steps to be able to get
started following the book and getting a working installation of the guestbook
project using the book's recipe. Here's what I did:


Continue reading "Symfony 5: The Fast Track book and installing a local PHP
version that works!"
1 Comment


COMPOSER INSTALL OF PRIVATE BITBUCKET VCS "AKA" 'INVALID OAUTH CONSUMER
PROVIDED'

Posted by David Rolston on Thursday, April 5. 2018
So you have a private Bitbucket Repo and you want to utilize it in your project
composer.json. You may find that when you run the composer install you get an
error pulling your private Bitbucket repo with messages about Oauth failure that
may include "Invalid OAuth consumer provided"

Continue reading "Composer install of Private Bitbucket VCS "aka" 'Invalid OAuth
consumer provided'"
Categories: Web Tech | 2 Comments


PAGINATION

 * Page 1 of 20, totaling 118 entries
 *  
 * next page →


SIDEBAR


MENU

 * Home
 * Forum
 * CanyonCam
 * Pastebin
 * Downloads
 * Contact me
 * Spammers go here!


CALENDAR

Mon Tue Wed Thu Fri Sat Sun ← Back August '24       1 2 3 4 5 6 7 8 9 10 11 12
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31  


ARCHIVES

 * August 2024 (0)
 * July 2024 (1)
 * June 2024 (0)
 * Recent...
 * Older...


CATEGORIES

 * Hearth
 * Family
 * Product
 * Work
 * Media
 * Film and TV
 * Games
 * Music
 * Musings
 * History
 * Journalism
 * Travel
 * Tech
 * Linux
 * Web Tech
 * Website





SHOW TAGGED ENTRIES

32bit 64bit Ajax allmark AllVideos Amazon Linux apache apple Art At+t AVReloaded
bad interpreter Bash battle.net bitbucket Blog blzbntbna00000640 Boycott
Brainmeld.org branch Captcha Cellular Centos Channel101 Charleston cheat sheets
Chuck Norris Cloverfield Coca Cola Coldfusion Comedy.com component composer
concat Conor Rolston Coop Crackers CURDATE DAoC Database DATETIME DATE_ADD day
DAYOFWEEK DHTML DigitalHaiku dock docker docker for lamp doctrine Dogs DSL
Dublin EA Eclipse Editor Education Electronic Arts ERD Event Tracking fabien
potencier Family Film and Tv Flash Flash Video Fort Sumter Games GB4k.com George
Harrison Geshi getK2.org git Gizmo Gizmola.com Gnome Google Analytics Pro
guestbook Henry Fielding History Hogarth IDMAPD IMAP IPTV Ireland Irish Music
Janekurson.com javascript Jonathon Wild Joomla JoomlaWorks Journalism JW Player
K2 Kick-n-Play LAMP LampSig Laurel Canyon line endings Linux London Longtail
Lula Macnamara twins Marketing Maxtor Megapath Midnight in the Garden of Good
and Evil Monster month Movie reviews Muckracking Music MySQL MySQL IF mysql if()
mysqlnd NFS NFS4 ngrok Niamh niamh rolston nosql now() Null Ocean's 11 OpenVZ
Origin of Police orm osx Peter Fong Pets PHP php-fpm PHPEclipse PHPFreaks PHPlot
Pirates Plugin pmap Ponygallery Previous Monday Product Redhat regex remi RHEL
River Street RPCIDMAPD RPM Schema Scrappy Seagate Serendipity short open tag
Shoutcast Silicon Mechanics Smithereens Sony Vaio SQL ssh ssh-keygen str_to_date
Subversion SVG SVN svn checkout svn export symfony symfony5 T6500 Ted Henning
The Burning of Bridget Cleary TIMESTAMP Tim Phillips tir na nog Tracy Barry
Travel Tutorial UML Update vagrant Video VirtualBox Virtualization Vista Web
Development webserver Website Web Tech Wedding Windows Wordpress Work Xen
XWindows Yacht Rock year Yum Z.com Zend Framework



SYNDICATE THIS BLOG

 * 
 * Atom Feed
 * Comments (RSS)
 * Comments (Atom)


LAST SEARCH ENGINE

ERD+joomla
phplot lines
mysql curdate
CURDATE()
mysql curdate
mysql curdate
xen centos 4.4
xen 3 img
mysql curdate
linux reference yum groupinstall
install xwindows on vmware
"> CURDATE()"
phpbb smart captcha
MYSQl CURDATE
Bob Kolody
mysql +curDate
mysql curdate
funnyest show
mysql:curdate()
mysql curdate





POWERED BY

Serendipity PHP Weblog



THIS WORK IS LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL
LICENSE.




BLOG ADMINISTRATION

Open login screen

Powered by Serendipity & the 2k11 theme.