How to change table row count in the bootstrap website?

I have been working with bootstrap websites for quite some time and making admin backend pages have been a new experience for me.

Lately the default 10 row table data have a lot of people ask if we can increase it to a certain number other than 10.

Fortunately, I came across the code to grant this request. But we need to go into the source code page to accomplish this.

Inside the HTML page, at the bottom, you will see a script section

We need to add more code to it.

When you refresh the page, you will see that it now starts at 50 rows

That’s just about it.

Enjoy,

Coffee Cup

Youtube link is
https://www.youtube.com/watch?v=GdH3IkYBwI4

Automatically Let Google Translate Your Webpage

Let Google translate your webpage

There was a requirement before that the webpage needs to be converted to any language that the guest will be coming from.

So I got digging and found the code that will let Google translate convert it on the fly. Take note that this might need a few web source tinkering.

Here it is :

And the output you will see is :

I’m not sure why I cannot copy and paste code to WordPress for now. I am suspecting that you cannot copy <DIV> statements. But soon I will know why. But for now, a screenshot will do.

Now, of course, there is a downside to using this one. The translation going back from Chinese-to-English for example might not yield the same result. Just be careful if you are using words like Parent’s Portal that might be translated as an intergalactic dimension.

Just to be safe, we can keep it to plain or simple words that google can understand.

As always stay safe

Coffee Cup

You can view the youtube video here :
https://youtu.be/Q0Hqbn-4p6I

VPN Winscribe Free 10GB per Month

Hi guys,

I have been trying out free VPN and so far Winscribe offers 10GB of bandwidth for its free users. I was able to download and install it on my Win10 PC as well as in my Google Chrome as an extension.

Hopefully, it lasts me for a month. But i doubt. We’ll see how it turns out.

For the promo of 10GB per month, it only starts of as 2GB. To get to 10GB you need to register your email and verify it.

So far what I learned is when you initially open it, Viber would have issues with the PORT monitoring and will jack up your CPU usage to 100%. Once you allow it by disabling the PORT being used, everything goes back to normal in the Task Manager.

So far observing before recommending. We need to make our connections secure especially now with wifi hacking and working-from-home scenarios being prevalent in this COVID-19 epidemic.

I’m still hopeful that we can still come out of this era and once again enjoy the fresh air of beaches and resorts.

Till my next update

Coffee Cup

View my youtube link here :
https://youtu.be/lK1B-D3B4Gc

Windows cannot find “c:\…..\AcroRd32.exe”. Make sure you typed the name correctly, and try again.

This was recently a problem that I encountered and the first thought that came to my mind was to uninstall and re-install acrobat reader.

Try as I might, the error message persisted. Then I tried to look at the shortcut settings and still no answer.

Finally, I found the solution:

1- Close Reader

2- Hold down Windows key and press R on your keyboard, this will bring up Run dialogue box.

3- Type regedit in the run dialogue box and hit Enter, click Yes when User Account Control pop-up appears.

4- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options, delete the key AcroRd32.exe

5- Relaunch Reader

Note : just in case you are like me who didn’t find the Image File Execution Options, what I did in regedit was to use the ‘Find’ command.

After a few skips, I finally found it. I also removed an additional folder in the registry with the _info extension. True enough, after that, Acrobat reader is now working.

Hope you enjoyed

Coffee Cup

How to access the BIOS Lenovo Z400 model

Hi guys

After trying some time to get this bad boy to work, I tried all of the old tactics from pressing the F8 or F2 or F1 keys. With LENOVO, it takes a little reading to get to the bottom of it. I was planning to format my friend’s laptop PC.

There is a small button at the side near the power cable. You need to turn off the laptop first and then press the button before you turn on the laptop.

Well, that’s it. I was able to get a pic of the side of the laptop. Will post it here for reference. Eventually, before I formatted the laptop, its a good practice to back up the files so that we can return them just the way it was.

Enjoy

Coffee Cup

 

Windows 10 : How to switch from VGA to HDMI on the same PC

On a windows 10 computer, sometimes you have an HDMI port and a VGA port. Normally, you only have 1 monitor. When you try to plug both ports together, windows guesses you have 2 monitors so when you scroll to the right, the mouse disappears.

Now if you remove the VGA cable you will see a black screen. The secret is the Windows+P key. When you press this button, the system automatically switches to HDMI port. Please note that this step would take around 10 seconds to kick-in.

At first I thought it did not work. But patience is truly a virtue.

Coffee Cup

2018 Philippines – Globe , Smart , Sun – Mobile Numbers

As we text and call people, we need to know what network or telecommunication they are so that we don’t go overboard on extended calls and crossing over. Like for me, when I call a Globe number I don’t get charged since I am using a Globe Postpaid Plan. But if I call a Smart number, that is the time I get charged.

For now, here is my own compilation for the 2018 Philippines Globe / Smart / Sun Cellular telephone numbers.

Globe and Touch Mobile SMART and Talk N’Text SUN Cellular
817 905 906 813 900 907 908 922 923
915 916 917 909 910 911 912 924 925
926 927 935 913 914 918 919 931 932
936 937 945 920 921 928 929 933 934
955 956 965 930 938 939 940 942 943
966 975 977 946 947 948 949 944
994 995 996 950 989 998 999
997

Laptop : ASUS X455L What does expansion up to 8 GB SDRAM mean?

Right now, I have my laptop ASUSX 455L, under the memory section it says…

DDR3L 1600 MHz SDRAM, 1 x DIMM socket for expansion up to 8 GB SDRAM

The laptop already came with 4GBs of RAM. And I’m guessing you can expand it because i saw youtube video that a guy jut slided a ram chip in the slot.

For the softwares that i run, adding windows update (which i tried to disable for a few times already) on the mixture, it seems to be slowing down. So does this mean I can put 4GB more to make it 8GB or can I put 8GB on the expansion to have 12GB of RAM?

As it turns out, you cannot inject more than 8GB or ram. Comon reasons could be due to chipset limitations or max width of copper traces to the DIMM socket.

So the next move for this one is to get a 4GB ram to add to my current 4GB ram to have a maximum of 8GB which is still at the maximum level.

Hope this helps

Coffee Cup

 

 

Delphi : Date and Time Format from ddd-mm-yy to mm/dd/yyyy

i had a case a few weeks back of a problem where the computer needs to have a date format of dd-mmm-yy which in today’s date is 21-Feb-18. What i need is for the program to act the same as it was with the format 02/21/2018.

After digging data, i came across these gems of a find. It’s so short and so obvious, i hope this code can help somebody out

Enjoy

Coffee Cup

 

 

 

{
CurrencyString, CurrencyFormat, NegCurrFormat, ThousandSeparator,
DecimalSeparator, CurrencyDecimals, DateSeparator, ShortDateFormat,
LongDateFormat, TimeSeparator, TimeAMString, TimePMString,
ShortTimeFormat, LongTimeFormat

//Change COMPUTER date and time
SetLocaleInfo(GetThreadLocale, LOCALE_SSHORTDATE, ‘MM/dd/yyyy’);
SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0, 0,
SMTO_ABORTIFHUNG, 1000, PDWord(Nil)^);

//Change formatting from within the APPLICATION
DateSeparator := ‘/’;
ShortDateFormat := ‘MM/dd/yyyy’;

SetLocaleInfo(DefaultLCID, LOCALE_SSHORTDATE, ‘m/d/yy’) (short form) and
SetLocaleInfo(DefaultLCID, LOCALE_SLONGDATE, ‘mmmm d, yyyy’) (long form)

SetLocaleInfo(GetThreadLocale, LOCALE_SSHORTDATE, ‘MM/dd/yyyy’);
SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0, 0,
SMTO_ABORTIFHUNG, 1000, PDWord(Nil)^);
}

// Change the display formatting
DateSeparator := ‘/’;
ShortDateFormat := ‘MM/dd/yyyy’;