GraphQl and Laravel translatable

In one of our latest custom made web application, we have been decided to give a try to GraphQl, one of the greatest advantages for us is that the client application can send a GraphQL query to get exactly what it needs, which makes development faster and cooperation with client application developers way easier. GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes …

Read moreGraphQl and Laravel translatable

Test and deploy Laravel applications with GitLab CI/CD and Envoy

Recently we decided to move some of our projects to  GitLab  especially because we are attracted by the plans and all in one solution that it offers. We were particularly interested into  CI/DC for testing and continuous deployment on our DitigitalOcean droplets. Looking into the numerous resources, we have found this article that explain very clearly how to deploy a Laravel Any application using GitLab CI/DC and Laravel Envoy. We now use it for 2 of our projects and counting to add more of them. Below I report the article but I suggest you to visit GitLab website for the …

Read moreTest and deploy Laravel applications with GitLab CI/CD and Envoy

DevFest Campania 2017

Anche quest’anno GDG Campania torna con il piu’ grande evento Google per appassionati di tecnologia la DevFest 2017! Una ottima possibilità  per ascoltare le ultime novità che  saranno fornite direttamente da Googlers e da esperti del settore! Ci saranno talk su tematiche  Cloud, Android, Deep Learning, Google Assitant e molte altre. L’evento si terrà il 23 e 24 Novembre a Napoli al Circolo Ufficiali di Piazza Plebiscito e come sempre sarà GRATUITO! Per restare aggiornato/a, e poter partecipare all’evento iscriviti ora sulla pagina MeetUp dell’evento. 23 Novembre 15.15 – Keynote; 15.30 – Rino Ragucci: Python e la “data science”; 16.00 – Michel …

Read moreDevFest Campania 2017

Laracon Online early bird registration is open!

Early bird registration for Laracon Online of February the 7th is open. Laracon Online is a great opportunity to attend one of the most exciting events of the Laravel community without breaking the bank. Early bird tickets are only 12$  and can be purchased here. And the best thing is that you can view all talks after  the conference, as all the conference will be recorded and available on line.      

My Different Idea let’s meet Ivana

We are often helping and assisting Startups, we love it and we decided to share their experiences. We will have a series of Q/A sessions with the founders to inspire “Startuppers to be”, we hope you will find this post helpful. Hi Ivana, tell us a bit about you. Hi, i’m an Italian girl, i’m sporty, sociable and scrappy. I’m graduated in Business Administration and i worked as an artistic gymnastics instructor since ten years. What’s the most important thing you’re working on right now, and how are you making it happen? I’m creating a startup in sport sector, my …

Read moreMy Different Idea let’s meet Ivana

InvoiceNinja Module: Access

InvoiceNinja is a very interesting invoicing Laravel application that we discovered last year. They have two different versions – hosted and self-hosted. In other words, you can register at invoiceninja.com and use their online version, paying for premium services, or you can download the code for free (Laravel 5.2) and install it on your server for free. We started with the hosted version, and we loved it, especially our accountant. It is really well made, easy to use, with a slick interface.   It took us few days to master the tool and since than we have been using it everyday. The hosted …

Read moreInvoiceNinja Module: Access

Assign automatically a role to a new user in Drupal 8

We recently had a project that required use to automatically assign a role to new users base on the values passed by that use in the registration form. We created a module for that , auto_user_role, sorry if the name is not the best, but at the time it looked like a good name. The bundle is actually pretty useful, but we would like to know your opinion, we have released the code on github , please hit the link and let us know how we could improve it.  

Help fight prostate cancer, help men survives

Prostate Cancer UK fights to help more men survive prostate cancer and enjoy a better quality of life. They find answers by funding ground-breaking research,  lead change by raising the profile of the disease and improving care. Prostate Cancer UK supports men by providing vital information and services. For this year, SoipoServices backs up the fight agains prostate cancer, please help us, simply click the button below

Coworking in Amsterdam

I love Amsterdam, I consider the city my second home. I had the opportunity to work an live there for 4 years and i left there plenty of memory, friends and family. Amsterdam is well known to be the city of sins with the red light, coffeeshops and vibrant night life. What many might not know is that the city of Amsterdam is also a very highly active city, full of people living and working there and where many tech companies have their headquarters like Catawiki and Elastic, to mention a couple. Working in Amsterdam is great,  it is a melting pot of …

Read moreCoworking in Amsterdam

A list of 24 websites for free images

Today i opened my mailbox and read this post from Typeform I absolutely love their services and to my surprise they were listing 24 websites full of free pics and videos to help finding good images that don’t cost a fortune. So if you are interested in saving some money, follow the link to TypeForm website.  

Analizzare tecniche e strumenti per conquistare nuovi clienti e far crescere la tua attività

[vc_row][vc_column][vc_column_text]Come migliorare la gestione e la comunicazione del tuo ristorante e aumentare le tue vendite? Vieni a scoprirlo Lunedì 10 Aprile 2017, dalle ore 15.30 alle ore 18,30, al seminario gratuito per Professionisti della Ristorazione presso l’Antisala dei Baroni del Maschio Angioino (Castel Nuovo) a Napoli. Come arrivare: Fermata Municipio, Metro Linea 1 Andremo ad analizzare tecniche e strumenti per conquistare nuovi clienti e far crescere la tua attività. Inoltre, saranno presentati BiplanFood, l’applicazione di business intelligence per il controllo del proprio ristorante e Reguard, l’innovativo strumento di digital marketing “pronto per l’uso”. [/vc_column_text][boc_spacing][/vc_column][/vc_row][vc_row content_placement=”middle”][vc_column width=”1/4″][vc_single_image image=”24104″][/vc_column][vc_column width=”3/4″][vc_column_text]  Per tutti …

Read moreAnalizzare tecniche e strumenti per conquistare nuovi clienti e far crescere la tua attività

Building modular JavaScript applications with WebPack

Webpack is a module bundler for modern JavaScript applications. It is incredibly configurable, and it is very easy to get started. Webpack creates a graph of all of your application’s dependencies, once you’ve bundled all of your assets together, it outputs a bundled code following the given configurations. Smashing Magazine recently has released a nice article to get your self on the right track. Click here to get started.

Secure your ssh connection disabling ssh password logins

First off, having to remember a password for each of your clients server it is quite daunting, so it might seem a good idea to store the password to your server access in a very secure spreadsheet file. Well that is not a great idea, in stead you should secure the access to your server using an ssh key, this also will allow you to forget about a password and gaining access straight with a command line. So let’s start. First of all you will have to create a key , if you haven’t already (this is a MAC guide, but …

Read moreSecure your ssh connection disabling ssh password logins

Inexpensive stage LAMP server with Raspberry Pi3 and Ubuntu Server

Have you ever been in the position of asking your self  “How much shall I spend for a development server?”, “Shall I get an inexpensive shared host?” , “Will it be enough for my needs?”, “Perhaps i should upgrade”… well ask no more. If you don’t expect much traffic, and you are on a tight budget, or simply you want to make more practice in maintaining a web server, why not going for a home made web server. Raspberry Pi now i quite performing for a stage environment, and very very inexpensive. As a test we have got  the Raspberry …

Read moreInexpensive stage LAMP server with Raspberry Pi3 and Ubuntu Server

Improve Your Social Media Strategy with SEMrush

semrush

I have recently discovered SEM a web application that offers a powerful interface to track your social media behavior and understand your audience. With this tool, you’ll be able to: See which brands in your industry have the biggest audiences and engagement rates Analyze trends in your competitor’s posting habits Read what the people and brands in your industry are talking about Identify influencers that mention your brand or your competitors on Twitter Discover the top hashtags used on Facebook and Twitter by your competitors Understand where your brand stands among the competition From the first day of use, I have realised how …

Read moreImprove Your Social Media Strategy with SEMrush

Mailtrap with Symfony, testing emails has never been so easy

Today I would like to write about a service that we use daily during development and pre-production, Mailtrap. Mailtrap is a fake SMTP server for development teams to test, view and share emails sent from the development and staging environments without spamming real customers. To set it up is very easy and for 1 inbox is also free. Simply hit the registration page, and head to the default inbox. There you will see the inbox settings that can be used in your project. That’s it! To make your job even easier, Mailtrap has a very useful Integration drop down that …

Read moreMailtrap with Symfony, testing emails has never been so easy

Laravel 5.3 add multi-language functionality

During a recent project, we faced the issue of adding a multi-language functionality to our application. We store our Laravel applications on DigitalOcean, but this tutorial will work basically on any other hosting company. Using Laravel middlewares we found a quite easy and straight forward solution. In this tutorial we will show you how to easily create your own. Add available locales in the configurations In order to allow only certain locales to work , simple add right below the locale key  in config/app.php the following array: ‘locales’ => [ ‘en’ => ‘English’, ‘it’ => ‘Italiano’], Create a custom middleware …

Read moreLaravel 5.3 add multi-language functionality

Let’s Encrypt ! How to create free ssl certificates on Ubuntu

SSL Certificates, sometimes called digital certificates, are used to establish a secure encrypted connection between a browser (user’s computer) and a server (website). The SSL connection protects sensitive data, such as credit card information, exchanged during each visit (session). Let’s Encrypt provides an easy way to obtain and install trusted certificates for free. In this guide we will show how to create a free certificate using Let’s Encrypt on Ubuntu. Download the Let’s Encrypt Client We will first download Let’s Encrypt client, certbot-auto from the EFF download site. Download  certbot-auto to the /usr/local/sbin directory by typing: cd /usr/local/sbin sudo wget https://dl.eff.org/certbot-auto We …

Read moreLet’s Encrypt ! How to create free ssl certificates on Ubuntu

Co-working in Sanur, Indonesia

Co-working, what is it? This is my first article about co-working , therefore I will do a small intro. I have been always a big fan of this concept and the people that gravitates around these places, but what co-working really means ? Co-working is a way of working that involves a shared working environment, often an office. Unlike in a typical office environment, those co-working are usually not employed by the same organization. Typically it attracts professionals that work from home, independent contractors, freelancers and people who travels often. Co-working is also the social gathering of a group of people who are still …

Read moreCo-working in Sanur, Indonesia

Restrict sftp users to theirs home directory and share folders

I often have to share resources to clients ,  but allowing them to “play” with the entire file system of the web app, might end up in disaster. That’s why i decided to write this little guide on how to restrict sftp users to theirs home directory and share folders. Restrict sftp access to home directory First we need to modify the sshd_config file which contains all the ssh configurations. sudo nano /etc/ssh/sshd_config Make sure the following line is enable, otherwise add it your self. Subsystem sftp internal-sftp  -f AUTH -l VERBOSE On DigitalOcean I had the following line, which …

Read moreRestrict sftp users to theirs home directory and share folders

Magento form validation

Validation classes I often found my self looking on the net for the right classes to validate forms using the Prototype library that comes with Magento and finally decided to write a small post about the about validations. Using these validations is as easy as using the following classes to the form fields in your forms. ‘validate-no-html-tags’ => ‘HTML tags are not allowed’ ‘validate-select’ => ‘Please select an option.’ ‘required-entry’ => ‘This is a required field.’ ‘validate-number’ => ‘Please enter a valid number in this field.’ ‘validate-number-range’ => ‘The value is not within the specified range.’ ‘validate-digits’ => ‘Please use …

Read moreMagento form validation

Sonic Pi , start coding music!

Sam Aaron and the Sonic Pi Core Team created at University of Cambridge Computer Laboratory Sonic Pi  a free software that will allow you to code music. Ah did I forget to mention that is free? Composing music has never been so geeky, download Sonic Pi,  and you are ready to unleash your creativity. Starting it’s easy and the key to coding with Sonic Pi is understanding and mastering the live_loop The key to live coding with Sonic Pi is mastering the live_loop. Here an example: loop :bells do sample :perc_bell sleep 0.5 end There are four core concepts to a live_loop. The first …

Read moreSonic Pi , start coding music!

SoipoServices just opened a new CoderDojo codename Terra delle Sirene

CoderDojo is a global movement of free, volunteer-led,  community based programming clubs for young people. SoipoServices in partnership with the Comune of Piano has started the CoderDojo Terra delle Sirene, where young people,  learn how to code, develop websites, apps, programs, games and explore technology in an informal and creative environment. In addition to learning to code attendees meet like minded people and are exposed to the possibilities of technology. Within the CoderDojo Movement there is a focus on community, peer learning, youth mentoring and self led learning,  with an emphasis on showing how coding is a force for change in the …

Read moreSoipoServices just opened a new CoderDojo codename Terra delle Sirene

Create and test a custom cron job in Magento

During one of my latest Magento projects I had to create custom cron jobs, so I decided to write a small how to guide, that might help you do the same. First off you will need a new custom bundle. In app/etc/modules/New_Module.xml <?xml version=”1.0″?> <config> <modules> <New_Module> <active>true</active> <codePool>local</codePool> </New_Module> </modules> </config> In app/code/local/New/Module/etc <?xml version=”1.0″?> <config> <modules> <New_Module> <version>0.0.1</version> </New_Module> </modules> <global> <models> <new_module>         <class>New_Module_Model</class>     </new_module> </models> </global> <crontab> <jobs>         <new_module>             <schedule><cron_expr>*/1 * * * *</cron_expr></schedule>             <run><model>new_module/observer::test</model></run> …

Read moreCreate and test a custom cron job in Magento

Sulu CMF

Today I would like to talk about SULU CMF, which is at the version 2.o. Sulu is  a  is a fantastic project based on Symfony 2 full stack and other open source application like PHPCR, Doctrine, Backbone.js and Require.js. It is meant to help developers create multi-platform, multi-language and multi-channel sites giving some boilerplate functionalities. Ah did I mention that it works great and it looks sleek ?! Check the gallery below and don’t forget to download the project to give it a try. Installation To begin with you will need the code, which can be cloned from the sulu-standard repository on GitHub . …

Read moreSulu CMF

Laravel Spark

I am more of a Symfony developer, but I have to admit that this project is pretty cool. Spark is a Laravel package that provides scaffolding for subscription billing, invoices, user management etc. It is a great starting point for most of the projects out there.   Spark has two plans $99 per Site or $299 for unlimited sites and extensive documentation I have looked at some demos and videos and it seems to be a very promising project, the next step is obvious, give it a try. Stay tuned for a step to step guide. Meanwhile check the spark project site for …

Read moreLaravel Spark

Translation for J2t Reward Points csv file for Magento.

Translation for J2t Reward Points csv file for Magento.   J2T Reward Points + Referral program VA is an excellent extension for Magento that overcomes the limitation of Magento on this matter. The plugin works like a charm, on 1.7.0 till 1.8.1.0 and I have been using it on countless project. It is not a free extension but 47$ are well worth this application. I have created a translation file for Italian locale, and I will add more as I will progress with it. To install simply upload the file in the related folder, eg. : app/locale/it_It/rewardpoints.csv for the italian one. it_IT …

Read moreTranslation for J2t Reward Points csv file for Magento.

Magento shipping method country codes

Table rates for Magento shipping method country codes I often found my self to fill in table rates for Magento shipping method, and got errors as I inserted the wrong codes. Here an useful table containing all the codes. I would suggest to download the CSV file from Magento to make sure you have the right format. Enjoy. Country 2 Digit Code 3 Digit Code  Afghanistan AF  AFG  Albania AL  ALB  Algeria DZ  DZA  American Samoa AS  ASM  Andorra AD  AND  Angola AO  AGO  Anguilla AI  AIA  Antarctica AQ  ATA  Antigua and Barbuda AG  ATG  Argentina AR  ARG  Armenia AM …

Read moreMagento shipping method country codes