Browsing articles in "Uncategorized"

Facebook Cover Photo & Profile Pic Dimensions

Fatal Error: get('adsPerSlot') in Admin Options don't exist (not an array)!

So this is a quick post, but I’m always forgetting the exact sizes for Facebook’s Cover Photo and Profile Pictures.

 

Cover Photo Dimensions

This is easy, one size and remains the same. Cover Photo dimensions are 850 by 315 pixels.

 

Profile Pic Dimensions

The Profile Pic must be 200 by 200 pixels, with the visible area being 176 by 176 pixels. When you view your profile pic on Facebook, it is viewed as 125 by 125 pixels.

 

Resources: here and here

Windows 8 Consumer Preview at MWC 2012

Fatal Error: get('adsPerSlot') in Admin Options don't exist (not an array)!

In less than an hour, Microsoft will show off its latest preview of their new operating system, Windows 8. It will be unveiled in a Press Conference at the World’s Premier Wireless Show, MWC 2012, in Barcelona (ehh wish I’m there :] ). By using the word “Consumer Preview” instead of “Beta” Microsoft is emphasizing that this OS is ready for everyday users to try on their PCs and tablets (ps. no ARM tablets for the moment). Continue reading »

SQL Server | Reset Identity Column

Fatal Error: get('adsPerSlot') in Admin Options don't exist (not an array)!

When you create a table in SQL Server, you would also have an Identity Primary Key. This type of key would increase as new rows are added. But sometimes you would just need to delete all the rows and start all over again.

To restart the identity column, you could delete the column and re-add it again. This would normally work, but if you have relations with the primary key, you wouldn’t be allowed to delete it.

The next code that will make this possible, and restart the Primary Key from 0, thus the new row will be set as 1: Continue reading »

Off To London

Fatal Error: get('adsPerSlot') in Admin Options don't exist (not an array)!

Tomorrow I’m off to London for a small holiday… Will try to write some posts if I find internet in a bar ;) … anyway… see you next Tuesday… London here we come!

GoDaddy Hosting | Connect with FileZilla

Fatal Error: get('adsPerSlot') in Admin Options don't exist (not an array)!
  • Open FileZilla program.
  • Go to File and select Site Manager
  • Click the New Site button and start entering your ftp hosting details:
    • Host: enter the hostname (ex. ftp.mydomain.com, ftp://ftp.mydomain.com, ftp://www.mydomain.com)
    • Port: usually it is port 21
    • Server Type: FTP
    • Logon Type: Normal
    • User: your username that you specified in the GoDaddy Hosting
    • Password: your account’s password of the username specified in “User”
  • Next just click connect :) You’re now being connected to your ftp account

Project NINE is online | Get a site for only €9

Fatal Error: get('adsPerSlot') in Admin Options don't exist (not an array)!

Welcome to Project NINE

Today Project NINE was launched at 09:09 this morning. It was a very busy week to make everything ready for this new project. Everyone can now get a website for only €9 per month.

With each Project NINE site, you’ll get a great website with a great design, a mobile website and a control panel. Your website will be made up of 4 pages including:

  • Home,
  • About Us or Services
  • Find Us (Map of your business)
  • Contact Us

Will give more information soon. Till Now check out this new Project here on www.nine.com.mt.

Back with an iPhone… Hussahhh :)

Fatal Error: get('adsPerSlot') in Admin Options don't exist (not an array)!

After months and months with a bricked iPhone, I finally managed to get another one. So now be ready for more posts regarding iPhone Apps, the most useful, the ones I use, and the apps that help your iPhone remain in sync with anything you like (PC’s, the Cloud, Emails) etc…. plus also some reviews.

 

All 11′s

Fatal Error: get('adsPerSlot') in Admin Options don't exist (not an array)!

The time right now is 11:11 of the 11th day of the 11th month of the year…. :) Just to let you know…. oops… now it’s 11:12 :)

Convert String to GUID | Quickie

Fatal Error: get('adsPerSlot') in Admin Options don't exist (not an array)!

To convert a string to GUID you have to do the following:

string text = “6937e459-f1bd-4a20-ab10-28ff0010c15b”;
Guid myGuid = new Guid(text);

Happy Converting :)

Get a Double Random Number | Quick Tip

Fatal Error: get('adsPerSlot') in Admin Options don't exist (not an array)!
This is useful since the Random() object can only export a double number between 0.0 and 1.0
class Program
{
    static void Main(string[] args)
    {
        double dr = GenRand(1.0, 20.0);
        Console.WriteLine(dr);
        Console.ReadLine();
    }

    static double GenRand(double one, double two)
    {
        Random rand = new Random();
        return one + rand.NextDouble() * (two - one);
    }
}
Resources: here
Pages:123»