Force Ocenaudio to the correct scale, theme (QT5)

I recently upgraded Ubuntu to 18.04, and now Ocenaudio’s UI is almost too small to use. Their changelog says some features require QT > 5.5 so this implies to me that the application uses QT5.

I altered qt5ct to change the fonts and theme, and this only changed the fonts in Ocenaudio. VLC had the same problem, but it picked up the theme after changing it.

I should point out that the UI in VLC is also too small, but useable. In Ocenaudio, it’s so small that even if I force the UI to 2x, the menu text will be huge but the filename in the sidebar will still be almost illegible.

This is how it looks at normal scaling: Ocenaudio

As you can see, everything under the menu bar is way too small. What else can I do to fix this problem?

How to force a browser when connecting to a specific domain to be https only using only the client machine?

Is it possible to force a client (browser or host machine or etc) to only make https connections to a specific URL/domain?

(preferably non-admin/root fixes if possible)

Here is a fabricated scenario:

Lets say someone hosted a website, and they didn’t put in an http -> https redirect and the web-server is serving requests on both 80/443 http/https respectively.

We are the client machine we work at a company and they wont fix the web-server for one reason or another. We do not have other machines to use as a proxy and have no control over the network. Now we could just make a bookmark (or other form of workflow that forces our actions to always reach https) but there has to be a way built in to browsers that can, say, “Do not connect to this domain/url unless using this protocol”.

This would be my preferred approach if possible.

This is very frustrating for people who are security focused as accidentally hitting the http version will leak your session ID and if you login there RIP password.

I searched online but surprisingly found nothing.

Apple Photos: can I force it to treat ‘burst’ photos as separate items?

I like the ‘burst’ feature in my iPhone for taking photos in low light conditions: it increases the chance of there being at least one photo without motion blur.

However, Apple Photos insists on treating these bursts as a group, which is really annoying. My workflow:

  1. take photos
  2. import them
  3. find the best photo of the burst
  4. throw away all the others

Photos makes 3. and 4 needlessly difficult by forcing you into a separate interface for step 3. When you’re done selecting a photo, it pretends to throw away the non-selected photos, but when I export the result I still end up with 10 photo files instead of 1.

I’d rather have all 10 photos available as separate items.

I’m using Photos 1.0.1.

Getting the column names of a table by brute force blind SQL injection

Is there a way of getting the column names of a table by brute force blind SQL injection in MySQL. so the query would be:

select column_name from information_schema.columns WHERE table_name = ‘tablename’ and *column names first letter = "a"*  

so if the first column name of that table does not begin with ‘a’, it would return an error if it did begin with ‘a’ it wouldn’t. and do the same for the second, third letters and so on working through the alphabet. Is this possible? or is there a more efficient way maybe? Thanks

Force subtitles in video on YouTube, if it’s not embedded

I have uploaded the video on YouTubeand added the subtitles but the users don’t realize that they can turn them on. I know there is particular URL parameter for embedded player, but it doesn’t work for itself. I have tried: 

and it returns the page in German, but does not turn the subtitles on.

How can I force YouTube to use subtitles on itself?

Is it possible to force a specific program to remain in memory after closing it?

Alfred is great, of course, and I use it all the time. However, if I haven’t opened it for a little while it can take a few seconds to open the search-bar UI. Otherwise, it will open in less than a quarter of a second.

I believe this is to do with the fact that it is moved out of memory by the operating system, meaning it has to be copied back in next time I request it (note: I have a mechanical hard-drive, not an SSD, so that takes ages).

So my question is this: can I force macOS to leave an application in main memory even if I’m not using it?

macOS Mojave dual monitor seperate spaces force dock on one screen

I’m relatively new to macOS. I’m using macOS Mojave and I have 2 monitors. I want the dock to stay on my right screen. My problem is when I move the mouse to the the bottom center on my left screen the dock permanently changes it’s location to the left screen until I do the same again on my right screen.

I have found a few solutions but I was not satisfied with them. Don’t answer one of the following solutions

  • I don’t want the dock to move to right. I want it at the bottom.
  • I don’t want to disable separate spaces because I want to use this feature.

Is there any way to do this besides these 2 options?

How to force Google Compute Engine ubuntu instance to do fsck?

I have an instance in Google Compute Engine (cloud server) running ubuntu 16.04.

I noticed filesystem corruption on the root filesystem as follows:

==>ls -l data/vocabulary/ ls: cannot access 'data/vocabulary/Makefile': Permission denied ls: cannot access 'data/vocabulary/vocab-count.txt': Permission denied ls: cannot access 'data/vocabulary/vocab-random-access.db': Permission denied ls: cannot access 'data/vocabulary/vocab-list.txt': Permission denied ls: cannot access 'data/vocabulary/vocab.db': Permission denied ls: cannot access 'data/vocabulary/CVS': Permission denied total 0 d????????? ? ? ? ?            ? CVS -????????? ? ? ? ?            ? Makefile -????????? ? ? ? ?            ? vocab-count.txt -????????? ? ? ? ?            ? vocab-list.txt -????????? ? ? ? ?            ? vocab-random-access.db -????????? ? ? ? ?            ? vocab.db 

However, my attempts to “force fsck” and reboot were unsuccessful. I would touch file “/forcefsck” and reboot but fsck just simply would not occur.

I also tried to set the fsck remaining count and that also does not seem to be effective.

What should I do to proceed with fsck?

Force download of Word Document external shared link

I am working with a member of HR that is attempting to share a Word Document file with applicants.

I have genereated them a externally shareable link and it works great for opening in Word Online. However, these applicants need to be able to edit their own copy of this document and return it via email.

I found this article that explains how to do it in my-sharepoint, by I need to do it for actual SharePoint Online.

How can I share a document externally and force a download of the file rather than it attempting to open in Word Online?

Force charging a iPad 4 battery

I recently found my iPad — it’s a 4th gen and it hasn’t been used in a long time. When I plug the cable it just keeps rebooting and not turn on. I tried so much pressing home and power buttons and other solutions too nothing didn’t work. Finally I took a risk and dismantled it and separated the battery. I tried to charge the battery from there so the logic board won’t drain the battery before it charges. I have done it to a different iPad but it didn’t seemed to work this time I haven’t assembled it so if there are any solutions suggested that would be really helpful.