Showing posts with label tricks. Show all posts
Showing posts with label tricks. Show all posts

Jul 13, 2023

SDXL supported style

 style:comic book

style:Sticker

style:Neon Punk


style:Analog Film


style:Anime



style:Photographic

style:Cinematic

style:Isometric





May 31, 2023

Apr 3, 2023

Fixing Sound Stuttering or Crackling in VirtualBox 7 on Windows 11

If you're running VirtualBox v7 on Windows, you might have noticed a sound issue where the audio stutters or crackles. This can be frustrating, especially if you're trying to play music or watch a video. Fortunately, there's a simple solution to this problem.

The issue seems to be related to the audio settings in VirtualBox. By default, VirtualBox uses the "Intel HD Audio" controller, which can cause the sound to stutter or crackle. To fix this, you can switch to a different audio controller.

Here's how to do it:

  •     Shut down your virtual machine if it's running.
  •     In the VirtualBox Manager, select the virtual machine you want to change the audio settings for, and click "Settings".
  •     In the settings window, select the "Audio" tab.
  •     Under "Audio Controller", select "Windows DirectSound".
  •     Click "OK" to save the changes.
  •     Start your virtual machine and check if the sound issue is resolved.

That's it! With this simple fix, you should be able to enjoy your virtual machine's audio without any stuttering or crackling.





Jul 19, 2022

Playing with cards - guess red or black card trick

I found this nice article in another blog

that got me interested in card tricks

And I found this little magic trick that is pretty fun to do, and requires a little preparation

Here is how it is done:

With a deck in card, select one red card, and one black card

put them in front of the audience, and point the red card then pick from the pile 2 cards

and ask the audience to 'guess' which one is red

once the audience has selected one card, show it to the audience and then proceed with the next 2 cards in the pile.

And once 4 cards have been added to each red of black revealed card 

then return the entire stack of cards, and it surprise the audience as they will discover that all cards on the left are red, and on the right are black

See the demonstration here https://youtu.be/d7g4jQ3_Uu4

May 2, 2022

How to Download youtube subtitle

Watching a 40 minutes video is great, what is not so great is trying to remember a special moment in a video you watched 2 months ago, and while you remember a bit of the content, and check your history ... it is quite challenging to find that video again.

Because compared to a text search performed on google, which will find easily a song lyrics but simply typing a sentence of that song, searching for a text extracted in a video is not going to work ... the only way to find a video is via its title or the keywords associated with that video.

Then this tool is a game changer, it will download the text from the video 

https://downsub.com


DownSub is a FREE web application that can download subtitles directly from Youtube, VIU, Viki, Vlive and more. 
Downsub supports downloading all subtitles/captions formats such as: SRT, TXT, VTT. 
DownSub doesn't force our user to download or install any type of extensions or third party software. 
It provides an online method to download subtitles by just entering the URL of the video and clicking Download.


Apr 23, 2022

Revenge movie

Another movie with Liam Neeson (almost 70), Gerard Butler (almost 55), Jason Statham (about 55), Sylvester Stallone (almost 70), what is this about?





It is not like the scenarios differs a lot, the woman, daughter get kidnapped, then the old dude (reluctantly) goes after the bad dudes, and kill them one by one

why?

why?




Jun 11, 2019

How much money can you make with patreon?

A formula

https://blog.patreon.com/figuring-out-how-much-you-might-make-on-patreon

How many followers?
From these followers, how many are active?
How many of these followers could convert to patrons?

Let's have an example - Teal Swan:
Current subscriptions on youtube - 589K
15% are active - 88K
7$ by Patrons (on average) - Teal might cash 618K per month!

Jessica Nigri:
Instagram followers : 3.7m (these don't convert easily to Patrons)
only 0.1% of instagram followers in average will convert
Youtube followers: 1.2m
15% are active - 180K
7$ by Patrons (on average) - Jessica might cash 1.2m per month!

Now the actual revenue for Miss Nigri is coming from 2736 Patrons - with an estimate of 19K per month - source: https://www.patreon.com/JessicaNigri

Bonus
https://www.youtube.com/watch?v=9ye7Ri8S1t0

Who are the Top Patreon Creators?

https://creatorhype.com/top-patreon-creators/

Jun 21, 2017

SQLite: Using a table to loop

Loop

You want to create a table with lots of records for testing purposes - in SQL you could make a loop using something like this:

while (@i <= 10000)
 begin
  insert into table1 values ( 'field1' + cast (@i as char).
 'field2'+ cast (@i as char).
...
)
set @i+=1
end
go

Unfortunately in SQlite loops are not implemented - but you could use this trick instead
It will use a tIndex table, and a tRange table to generate some records in a tTarget table.

The tTarget table  is for the result:
create table target (i text);

This table will receive the result as text

tRange table

create table tRange (start, finish);
insert into tRange (1, 100) ;

And then afterward you can change the start and finish parameters using:
update tRange set start = 3 ;
update tRange set finish = 90 ;

tIndex table

This one is tricky because it has to contain as many records as possible - you will have to create this table via a Java program (see previous post) - by default there will be 10,000 records.

Now the Loop trick 

insert into tTarget(i)
select ('Record number '||tIndex.id)
from tIndex join tRange
on (tIndex.id >= tRange.start and tIndex.id <= tRange.finish) ;

This will generate Record Number + start ...  up to Record Number+ finish

Java: Creating a table with 10,000 records in SQLite


Popular Posts