How to determine what element on the page causes the horizontal scroll?
It is amazing how gpt can just answer this question, when I've struggled with this for so long.
How to copy-paste in screen iterm2, in a aws ec2 instance
Copy-pasting doesn't work inside screen on aws? Same here.
And I'm too tired of these companies putting sticks in my wheels. They obviously do it on purpose to decrease my (and your) productivity. Somehow, other cloud providers allow copy-pasting just fine, somehow.
Anyway, the trick is to click CMD-F (search) and then you can drag across screen text to copy it.
Anyway, the trick is to click CMD-F (search) and then you can drag across screen text to copy it.
[FIXED]: Is the youtube playback speed control broken?
Hello everyone. I recently noticed that sometimes on youtube, I would be unable to change the playback speed from normal (x1) to anything else. It would just say "custom" or "normal", with no way of clicking out of normal, or adjusting it to e.g. 1.5 or 1.75 times the speed.
[FIXED]: Drupal 9 Error: Call to a member function transformDimensions() on null
[FIXED]: Drupal 9 Error: Call to a member function transformDimensions() on null in template_preprocess_image_style() (line 263 of core/modules/image/ image.module)
[FIXED] problem installing ruby 3.4.5 on mac:
I see the following error when compiling ruby from scratch using rbenv:
In file included from debug.c:27:
./vm_callinfo.h:183:9: error: use of undeclared identifier 'RUBY_FUNCTION_NAME_STRING'
rp(ci);
^
./internal.h:89:72: note: expanded from macro 'rp'
#define rp(obj) rb_obj_info_dump_loc((VALUE)(obj), __FILE__, __LINE__, RUBY_FUNCTION_NAME_STRING)I updated rbenv and rbenv-build to latest, to no avail.
According to stack overflow, the solution, that worked for me, was to update xcode:
[FIXED]: Error: Call to a member function transformDimensions() on null in core/modules/ image/image.module
The issue stems from the preview being in an undefined style.
1. Go to configuration -> image styles and review the styles available. I have a style called "200x200 thumb".
2. After adding an image field to a content type, go to manage form display, expand the display of the image, and specify an existing style from step 1 as the preview style.
After taking these steps, the page for adding/editing this content type should render correctly.
[FIXED]: partially initialized module 'inspect' has no attribute 'cleandoc'
The problem was naming a local module with the same name as an imported module. I had a file called ./tokenize.py and moving it to ./run_tokenize.py solved the problem.
[FIXED]: How to catch TinyTds::Error on Rails
The following worked for me:
[FIXED]: drush The specified database connection is not defined: default
Fixing this took me years... I can't believe how long it took. The answers on stack overflow did not help.
The error was due to a mismatching php configuration for running in the shell ( /etc/php/8.1/cli/php.ini ) and in apache (/etc/php/8.1/apache2/php.ini ).
Specifically, I had to enable short tags for the shell: