Cordova and VSCode

Combining these takes a bit of tweaking.
CTRL-` starts the command line in a nice window, but I would like to use a different startup-folder.

How to change the default terminal directory in vscode?
Read from this link:
Navigate to File -> Preferences -> Settings.
Type cwd in search.
Choose Terminal > Integrated: Cwd settings.
Type the default path you want to set in the text block below (simply, no need for double hashes to escape)
No need for saving, It’s automatic.
Restart VS Code.

Next issue is trying to start cordova. It gives an error which can also be solved by setting the correct permissions for the Powershell. Read this link:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Have a nice day!

Converting Phonegap Build to Cordova CLI

While the previous article focussed on installing Cordova, this one has some usefull tip and tricks. A lot of possible issues and solutions to keep in mind while trying to get your app functional again.

Read it on stackoverflow here.

I have several apps that currently rely on PhoneGap Build to create native apps for Andriod and iOS. It seems that Adobe is about to abandon iOS compatibility by failing to upgrade to the latest Cordova iOS version to meet Apple’s requirements. It’s time to move to CLI. I’m hoping that someone who’d done this before can provide some tips on how they did this. In particular, changes to workflow, handling keys and config.xml, etc.

Continue reading Converting Phonegap Build to Cordova CLI

Phonegap Build died! Moving on to Cordova CLI…

Read the full article here.

And don’t forget to read the official documentation as well.

MIGRATING TO THE CORDOVA CLI

With PhoneGap Build shutting down, many developers are now left trying to find options to continue building their Cordova-based applications. While several new services like Ionic’s Appflow and Monaca Cloud have entered the market as replacements. Their cost might be too much for the independent developer. One of the things that attracted many to use PhoneGap Build was it was included as part of your Creative Cloud subscription. There was even a free version for open-source projects. For those developers who are either resource constrained or want complete control over their build system, they should migrate to using the Cordova CLI and building locally.

There are four general steps we need to take to accomplish this:

  1. Install the Cordova CLI
  2. Install the native build environments
  3. Migrate our existing PhoneGap Build App to use Cordova
  4. Build and Test!
Continue reading Phonegap Build died! Moving on to Cordova CLI…

BIOS Settings

Reboot and keep hitting ESC, F2, F8, F10 or whatever the computer requires… But, there is another way, which I found out trying this for an old ASUS Transformer T100.
According to Asus: Press and hold the F2 button, then click the power button. DO NOT RELEASE the F2 button until the BIOS screen display.

Of course this does not work, why else would I write about it?

Continue reading BIOS Settings

Help EarthToday

Every square meter counts!

EarthToday was founded on a vision of a future society where we care for each other and the planet we live on. It is developed to sustainably facilitate a growing group of conscious people from all around the world who share the same dream. Everybody can join by protecting one or more m² of nature. From that moment on you can virtually visit your m² and curate inspiring content about nature conservation and a sustainable and holistic lifestyle.

We believe in equality, freedom, transparency and collaboration. We are organized as a for-purpose venture where 83% of all revenue is directed to the purpose. We are a community for change, and we invite you to join.

Have a nice day!

Word 2019 Save as PDF shows ‘title’, not ‘filename’

Using a new (to me) version of Word 2019 brings new challenges.
I create invoices in Microsoft Word and save them as a PDF file to send by e-mail. In Acrobat it started showing the Word document property for document title, and no longer the filename, like I was used to in Word 2013.

The answer is a simple option… you just have to know where to find it:

Continue reading Word 2019 Save as PDF shows ‘title’, not ‘filename’

KiBiBytes en TeBiBytes

Learned something new today… Also see the wiki:

Een kilobyte, afgekort kB, is 1000 bytes. Vroeger werd er verschil gemaakt tussen een hoofd- en een kleine letter k:

k = kilo (103)1.000
K = kilo (210)1.024

In praktijk werkte dit verwarrend en bedoelde men met 1 kB vaak 1024 bytes.

De oude notatie wordt ontraden sinds er een nieuwe standaard is voor binaire voorvoegsels (zie: veelvouden van bytes). Deze standaard wordt echter nog niet veel toegepast.

Let op: het is nog steeds van belang voor de B een hoofdletter te gebruiken: een kleine letter b staat namelijk voor bit en niet voor byte.

1024 B heet nu een kibibyte, afgekort KiB. 1000 kB heet een megabyte, 1024 KiB heet een mebibyte.

In een tabel:

symboolnaamwaardesymboolnaamwaarde
kBkilobyte10001 = 103KiBkibibyte10241 =2102,4%
MBmegabyte10002 = 106MiBmebibyte10242 =2204,9%
GBgigabyte10003 = 109GiBgibibyte10243 =2307,4%
TBterabyte10004 = 1012TiBtebibyte10244 =24010,0%
PBpetabyte10005 = 1015PiBpebibyte10245 =25012,6%
EBexabyte10006 = 1018EiBexbibyte10246 =26015,3%
ZBzettabyte10007 = 1021ZiBzebibyte10247 =27018,1%
YByottabyte10008 = 1024YiByobibyte10248 =28020,9%

The more you know… 🙂

Reset the Excel Worksheet “Last” Cell

You can tell when the “used range” excel is using is too big and is going to add extra blank rows when you use the scroll bar to the right and it goes beyond the last row of actual data when you scroll to the bottom. Terrible when trying to print your data. I’ve found something, and corrected the procedure, so it consistently works to delete those blank rows.

Do this to get rid of them:

Continue reading Reset the Excel Worksheet “Last” Cell