Posts by: Grzegorz Skaruz

Oct 162015

Mobile statistics – tablets vs desktops

More than 3 years ago I've created MenuSiedlce.pl a website with Siedlce dining menu with food for delivery. Short after that I added RWD, so could be easily viewed on mobile devices.

I wondered recently what the statistics from mobile devices look like. Because there are quite a lot, I decided to prepare a short summary. Due to the limited scope of the page (only my city - Siedlce and surroundings) numbers are not stunning, but the results are interesting.
Read more ...

Tagged with 0 comments
Aug 202015

Script to backup an entire folder

I use Total Commander every day and it has an useful option to backup the entire folder.

Usually I've done this way:

  1. clicked ALT + F5 (poped up a window to compress files)
  2. I gave the name of the archive by adding a date at the beginning of the file
  3. clicked OK
  4. I've moved created ZIP file into a directory called "backup" where I kept all archives

It wasn't a very convenient solution, which is why I created a simple .bat script that makes the work easier.

Read more ...

Tagged with , , , , 0 comments
May 272015

Salesforce – What is the difference between a task and an event?

Tasks are things to do, a "point in time" (no duration), such a prepare meeting notes, set up conference room. They can be set in a future and they have dates and statuses. You can have assigned to yourself or that someone else has assigned to you.

Events are meetings (i.e. sales meeting on the 10th from 2pm to 3pm with Fred & Wilma), so they have a start time, an end time, a location, and invitees (tasks can't).

Tagged with , , , 0 comments
May 222015

Salesforce – How can I get the code coverage of a class / org?

To get code coverage of a class or all classes you can use Tooling API on objects like:

  • ApexCodeCoverage - contains coverage per class per test class
  • ApexCodeCoverageAggregate - contains coverage per class for all test classes
  • ApexOrgWideCoverage - contains coverage overall for all classes in the org
The best way is run queries using Developer Console

Read more ...

Tagged with , , , , , , 0 comments
Mar 262015

Salesforce – Audit Trail Parser

When I was preparing my first change set, I was a bit surprised that I couldn't get information about what was changed recently. Then I learned that there is Audit Trail which stores this kind of information as a changelog.

So I prepared a tool where you can upload a CSV file (from View Audit Trail section) and it will show you the changes made in the system (changed Apex classes, VF pages, objects, fields, profiles etc.).

Read more ...

Tagged with , , , , , 0 comments
1 2 3 10