Pedro Magueija

SCN is on the move

If you haven’t already heard SCN is moving. A new community platform will be replacing it on the 10th of October. As a member of the community, I welcome this move. I believe it will bring improvements to some shady areas of the old SCN. There are some significant changes as well. Such as the Continue reading SCN is on the move

Sample Apache Virtual Host in Windows with XAMPP

Reference to self: 1. Activate vhosts in XAMPP by going to http.conf and check if # Virtual hostsInclude conf/extra/httpd-vhosts.conf is present (if commented out, uncomment it) 2. Set up http-vhosts.conf (usually inside “extra” folder) with below sample (change server admin, name and directories to the appropriate values) NameVirtualHost *:80 <virtualhost>    ServerAdmin admin@server.com    DocumentRoot Continue reading Sample Apache Virtual Host in Windows with XAMPP

Run Laravel Migrate on shared hosting

Hello everyone, Had a project where we were using Laravel to build a small website. Turns out it is hosted on “shared hosting” without SSH to run command line commands to use Migrations or Seed. After some research on the web, I found you can run the console commands from within routes. But this means Continue reading Run Laravel Migrate on shared hosting

How to add a Local Nuget package source to Visual Studio 2015

I was dabbling with Nuget, creating some packages and at a certain point I needed to add as a dependency on of my very own, unreleased (meaning unpublished at Nuget.org) packages. Almost by accident I stumbled upon a solution, and since I haven’t really blogged much here it is and hopefully it’ll help others: Go Continue reading How to add a Local Nuget package source to Visual Studio 2015

Evolution calendar reset

This is mostly a reminder on how to do it, but maybe other people might find it useful. I had a problem after changing my default Google Calendar (this was another adventure) my calendar in Evolution kept failing sync with timeout. Tried to simply right-click and delete, but it would again fail with timeout. So, Continue reading Evolution calendar reset

Create a evolved signature copy/paste

Hi everyone, I again searched for the ability to attach a signature in SCN posts. But after reading this thread I decided to come up with a way to quickly add a signature to a post. For simple signature (just text) it takes just a key combination to add a signature. Here’s how: 1) You’ll need a Continue reading Create a evolved signature copy/paste

SAP B1 Forms Session

Forms Session It’s hard dealing with the stateless condition of objects between events fired on the UI. Static variables help with the problem. But when you wish to have more than one instance of the form then this approach does not work. To work around this I came up with the class below. It uses Continue reading SAP B1 Forms Session

Multiple specific selection in SAP B1 ChooseFromList

I recently had the need to create a selection type that would allow selection of specific values (multiple ones) from a ChooseFromList. The basic case of single selection and range selection also had to be supported. As an example, consider the ChooseFromList from Items. I needed to be able to select A1, A3, A5 – Continue reading Multiple specific selection in SAP B1 ChooseFromList