Tag Archives: scripting

scripting

JavaScript – How to use geolocation.

Using HTML Geolocation with the javascript programming language is very easy. The example uses the navigator.geolocation and get all data for your geolocation. Into your HTML page add this javascript:

The result can be found at my codepen account.

PowerShell tips – part 015.

This PowerShell script will create a screenshot file named MyScreenshot.bmp. I created a folder named temp and I put this powershell script named screen.ps1. The source code of this script is this:

To run this script you need to be allow with this args:

Using django-import-export python module.

The tutorial today will show you how to use the python module named django-import-export for importing and exporting files. If the Django project is done on a virtual environment, you will need to activate it. Install the python module using the pip utility:

You must add the following to the file settings.py the INSTALLED_APPS… Read More »

Google Apps Script – search YouTube videos by location – part 013.

This is a simple example of how to search on YouTube by location. You need to use the same steps as in my previews tutorials. Use this source code of Google Apps Script to see result into menu: View Logs.