This is a solution to get Firefox (Quantum) working chromeless in fullscreen from startup. This would be useful for setting up a browser for a kiosk. Create a userChrome.css file: https://www.howtogeek.com/334716/how-to-customize-firefoxs-user-interface-with-userchrome.css/ Paste this in to the css file: Useful to …
I am faced, yet again, with making multitouch work in the browser on MacOS. This has always been a tricky one to solve. There have been working solutions in the past but the ones I can find are broken in …
This is how you get smooth shading on your meshes from Blender -> GLTF -> THREE (with a MeshPhysicalMaterial) 1. Export your mesh with smooth shading toggled on in the object’s Tools -> Edit menu. 2. Make sure material.flatShading=false is …
The following will copy the contents of the source_dir to the time-stamped folder.
Generating a certificate:
Here is a solution to use a fully functioning text editor within a docker container when ssh’d into a remote linux host.
Copies everything from user directory to current working directory. https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories-on-a-vps
Symfony requires you to specify a date.timezone in the ini file. The problem is, Mac uses it’s own install of PHP, and you need to create directory structure it searches for the ini file… and a php.ini file. Here’s how …
Add fetch=”EAGER” to your annotation…
WGET With wget, you must add the argument –no-check-certificate. Hitting a PHP script every 15 minutes over SSL: CURL I haven’t tested the curl example, it was referenced from: http://serverfault.com/questions/476141/cron-jobs-no-longer-work-since-installing-ssl-cert-on-rackspace-cloud-server For curl, you add -k:
This threw me a bit because of lack of permissions from TSO. But it’s as simple as:
Very useful if you are trying to automate rsync / ssh commands remotely and want to avoid prompts.
1. Add line to entity annotation: 2. Add new columns for created and modified: 3. Now tell doctrine that before persisting or updating, call updatedTimestamps() http://www.jamesmandrews.com/2012/10/31/symfony-2-entity-timestamps-with-doctrine/