Tag Archives: tutorial

JavaScript – FlipClock .

Another tutorial about javascript and HTML5 .
The FlipClock is a javascript source code and tool to let you to make a flip clock .
As you know :
A flip clock is an electromechanical, digital time keeping device with the time indicated by numbers that are sequentially revealed by a split-flap display.
This javascript come with many options and feature to set your flip clock:

  • Hourly Counter
  • Minute Counter
  • Daily Counter
  • 12hr Clock
  • 24hr Clock
  • General Counter

You need to download it and then you can try the examples from examples folder.
The next example come with the base of the css file and the flipclock.js .
I just set the clockFace setting to TwentyFourHourClock.
You can used this javascript to show: counter, countdown or interval.

Posted in All, HTML 5, javascript, Programming. Tagged with , , , , , , .

JavaScript – Thunderforest Maps API .

The Thunderforest Maps let you to use map styles in your apps and on your websites.
You can have a free account see: Hobby Project
You can also buy it:

  • Solo Developer
  • Small Business
  • Large Business

The maps come with this map layers:

  • OpenCycleMap
  • Transport
  • Landscape
  • Outdoors
  • Transport Dark
  • Spinal Map
  • Pioneer
  • Mobile Atlas
  • Neighbourhood

This is one example using the Pioneer layer map into old style , see the next image:

This is the source code to test it with your API key:

Posted in All, HTML 5, javascript, Programming. Tagged with , , , , , , .

Blender 3D – script to show python code under console.

To run this script yo need to select the render to Cycles Render.
Then go to Compositing from Screen layout ( in the top of the screen) and select Use Nodes from Material.
This will make a default material with a Diffuse BSDF .
The next step is to select Scripting from Screen layout.
This will allow you to make a script.
Create a new text and add this source code:

Press keys Alt+P or run the script from Text – Run Script.
When you click on tabs or select something the print function will print the python code into Console output area.
This can be used to see parts of python code from addons or Blender API.
Example with Archimesh addon :
You need to have this addon install and press the books button.
The result of this source code is show into console output and can be used with console shell to add books into your Scene:

Posted in 3D, All, Blender 3D, Programming, Python. Tagged with , , , , , , , .

VirtualBox – fix resize space .

If your VirtualBox OS is out of space because you make a small vdi image on disk.
The you can resize this file and fix the problem.
This can be easy done with the next command.

Posted in All, Windows 10. Tagged with , , , , .

MultiBootUSB – the tool for multiple live operating systems.

This tool help you to put multiple boot operating systems into your USB drive.
You can used into your Windows or Linux OS.
This MultiBootUSB tool help you with this tasks:

  • install multiple live Linux distros and other operating systems to a USB disk;
  • make it bootable without erasing existing data;
  • uninstall installed OSes later;
  • write ISO images directly to a USB disk (GUI for Linux dd command);
  • boot ISO images and USB disks directly without rebooting your system using QEMU;
  • boot USB on UEFI/EFI systems through GRUB2 bootloader support (limited support);

What you need to make this working well:

  • One formatted USB disk with :
    • FAT32, NTFS, ext2/3/4 or Btrfs filesystem. However;
    • the FAT filesystem is recommended and ext2/3/4 or Btrfs filesystems will only work under Linux;
    • try to keep single partition (primary) to avoid later problems;
  • Your ISO files of live Linux distros of your choice;
  • the latest release of MultiBootUSB from official website;

The official website come with a good tutorial about how to use it.

Posted in All, Linux, Windows 10. Tagged with , , , , .