Alter a plane mesh programmatically with Godot 3.0.2
As I’m playing around with Godot and meshes (programmatically generated meshes to be precise). I’ve found something that I believe is worth sharing. I have to mention that I haven’t found a real life use of this technique, say to generate a heightmap. Yet I believe it may exist a way to do it. How… Continue reading→
3D maps with Godot engine 3.0
3D maps, and their applications Generate 3D maps from anywhere in the world … what is it for? Well, besides being visually shocking, it can be useful in some fields like architecture, tracking applications and video games. In fact that last one is the main reason of the module (addon) that I created in Godot… Continue reading→
Offline maps with Mapbox GL JS and Electron
Using maps in an application is pretty cool, as it allow to show data in a much more intuitive way. To do so there are great free tools, such as google maps… but, with its limitations, such as the ability to have maps offline, control it’s style, etc. In my case I needed to have… Continue reading→
Rendering maps, it’s not only about google maps!
Google Maps, maybe that’s the first thing that comes to your mind when you want to have maps on your website, but there are lot of fishes in the sea… I mean, maps. I’m working with my friends in a small project about rendering maps in an easier way than the usual gmaps, also we… Continue reading→
Compress an entire directory using “tar” command
tar -zcvf archive-name.tar.gz dir-name z – indicates that it will compress using gzip format c – is to create the new archive v – display progress f – is file name to be used (so “archive-name.tar.gz” is the name of the archive you have to use) dir-name – is the name of directory you want… Continue reading→
Useful linux search commands
Sometimes it comes handy to have some commands that help you find big files, like it happened to me at work, the server was full, control mysql was down due to that, imagine almos 50 websites not working.. Search for bigger files on all subdirectories du -hsx * | sort -rh | head -10 this…
Create maps with OpenStreetMaps
OpenStreetMap is a platform that allows to provide geographic data for various systems, from Web sites to applications. It is an alternative free and mostly open, to Google Maps. We started to draw! If we want to with this article is to start one to modify the maps, to add geographic data. So to open… Continue reading→
Special Effects using CSS and some fantasy
CSS is amazing, it allows you to do a lot without the need of javascript, I use it to keep responsiveness of a website, for example.. But, I also like to add fancy, pure decoration effects.Let’s see some examples… By just usng CSS, see what can be done…
How to change owner and group of a directory and all its subfolders (linux command)
What command changes the Group setting for a directory? chown -R owner:group . Using the . after the owner:group declaration allows you to change all current folder and subfolders including hidden files. CHECK CAREFULLY THE CURRENT LOCATION BEFORE YOU USE THIS!! Or you may change owner and group of the whole system if you are in… Continue reading→
Replacing WordPress URLs with SQL command
WARNING – Always make a backup before modifying your database. This came really handy when you have to manually migrate a WordPress website to another domain. UPDATE wp_options SET option_value = replace(option_value, ‘http://oldsite.url’, ‘http://newsite.url’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’; UPDATE wp_posts SET guid = replace(guid, ‘http://oldsite.url’,’http://newsite.url’); UPDATE wp_posts SET post_content = replace(post_content,… Continue reading→