UPDATE 2020-05-01: Some weeks after this post was published, SamKirkland released version 3 of FTP-Deploy-Action. So I updated code snippets. Old version of this post is available on archive.is. At the end of 2019 I discovered Hugo Framework, I started refactoring my personal websites and writing some posts about some solutions I had to implement to accomplish features I was wondering for. You can find more details in post How to add Iubenda prior blocking of cookie scripts to Hugo Disqus shortcode.
In recent days, I worked to convert my Wordpress-based personal website to a static blog created using Hugo framework. The result of this conversion is the blog you are reading at the moment. I made this decision because I was bored to continously update and take care of a complete Wordpress instance with the purpose of keep online a simple personal blog. But this is another story… Anyway, I discovered Hugo Framework at the suggestion of my friend Giuseppe Pugliese (Magnetarman) and, after some scouting on official documentation, I understood that Hugo was what I was looking for: a fast and simple framework to build websites.
Normally in ZF3 MVC projects, each controller action matches one view and use it to render its output. Occasionally, we may want to build your ZF3 pages by dispatching various controllers from within the matched controller and merging outputs into a unique final view. In this way we can aggregate one or more views to create complex pages like report summaries or widget dashboards. In this post, we will see how to write few lines of code to include output of an arbitrary action into action matched from route.
Zend Service Manager component is Zend Framework’s implementation of service locator pattern. This object is very usefull component for an application and is largely used in ZF applications. Unfortunately in ZF3 default application, Service Manager component is no more available in controllers. An official solution exsists for this, but in this little tutorial, I want to share an easy solution to inject Service Manager in all controllers. To implement this solution, we will write our controllers by extending an abstract controller class written to handle a Service Manager instance.
Sometimes in our Zend Framework 3 multi-language application, we could need to access to Zend Translator component directly from Controllers. For example, when we have to translate a string to return in a JsonModel. So, let’s see how to write a very simple Controller Plugin that will help us to save a lot of code (and time). Following explanation will assume we just have at least a Skeleton ZF3 Application with working Zend Translator component.
The problem Print many files in a single session is a common problem for people that works with big data set. Big documentation, Tax forms PDFs, lot’s of images or photos, are all data that are often stored in separated files. When you need to print them, you have to open each file with specific reader and click on print button. The solution A solution to this problem, is to find and install special software that give you ability to select an print some files together.
La Virtual Private Network (VPN) è un ottimo modo per accedere alle risorse del tuo ufficio da casa o da qualsiasi altra rete in sicurezza e la VPN Cisco è una delle più efficienti e robuste. Una VPN Cisco può essere configurata in due modi: utilizzando direttamente i dati di autenticazione oppure un file PCF. In questo articolo, vedremo come configurare una VPN Cisco utilizzando un file PFC su di un sistema Ubuntu.
Virtual Private Network (VPN) is a great option to access to your office resources from home in secure way and Cisco VPN is one of more efficient and robust type of VPN. Cisco VPN configuration can be setup in 2 ways: using authentication data or PCF file. In this article, we will describe how to setup Cisco VPN using PCF on an Ubuntu system. First of all, we need vpnc client, so let’s open a terminal and digit:
Come sicuramente saprete, WordPress non permette agli utenti di cambiare la propria username dal pannello di amministrazione. Tuttavia, avendo accesso al database, è possibile agirare facilmente tale limitazione. In questo piccolo tutorial, vedremo tutti i passaggi necessari per cambiare un nome utente di WordPress modificando direttamente i record del database. Ovviamente, queste operazioni possono essere eseguite con qualsiasi client MySQL, ma le seguenti schermate si riferiscono a phpMyAdmin. Per prima cosa, dobbiamo accedere a phpMyAdmin.
SparkleShareis a little Open Source software that allows users to share documents and files with version control and client side encryption system. To put it simply, it acts like Dropbox or Ubuntu One, but it works on top of a Gitrepository. This means that, if you want, you can simply setup you own a SparkleShare server and share office documents with your colleagues having all infrastructure under your control using Git.