• Blog
  • Appcelerator Cropping A Image To Aspect Ratio

    August 19th, 2015

    By

    Titanium.Media.openPhotoGallery({ success: function(event) { // Crop the image var imgResized = event.media.imageAsThumbnail(Alloy.Globals.Device.width); // Crop the image var height = Math.round((Alloy.Globals.Device.width / 16) * 9); var width = Math.round(Alloy.Globals.Device.width); var data = { width: width, height: height, x: 0, y: 0 }; var img = imgResized.imageAsCropped(data); $.listingImageHolder.image = img; } });

    Read more...

  • Setting Up Live Stream EC2 Instance

    June 29th, 2015

    By

    EC2 Setup. Got to EC2 instances create instance. Choose a T2.micro this can be updated at a later stage. Setup the following inbound links for the security group. Now create a key pair and download it to your desktop you can run the following. Run the install script. wget https://bucketnamesobytes.s3.amazonaws.com/installer.sh And now install. sudo bash […]

    Read more...

  • Setting up a wordpress website with elastic beanstalk on AWS

    June 10th, 2015

    By

    For my recall. Setup a repo in bitbucket and setup your WordPress basic install connect to a local database. connect the two. git init git add remote git add --all git push You should no have all your code on git. Go to AWS and login go to elastic beanstalk and create a new application […]

    Read more...

  • Setting up Apache MYSQL on an AWS linux EC2 box

    June 10th, 2015

    By

    Login via ssh and run these commands. First update all packages. sudo yum update -y Now install apache. sudo yum groupinstall -y "Web Server" "MySQL Database" "PHP Support" And install mysql. sudo yum install -y php-mysql Make sure you have mbstring extsnsion installed. sudo yum install php-mbstring Now start apache. sudo service httpd start And […]

    Read more...

  • Mixmo App – Coming Soon

    May 31st, 2015

    By

    I would like to introduce Mixmo App. Mixmo is a app the has been floating around in my head for a while now and after creating all the functionality i thought it was worth thinking about actually making it a reality, like most project the idea doesn't really mean anything it's putting it into action that counts i live by this godaddy advert.

    Read more...

  • Contact
  • Address

    Britannia House, Caerphilly Business Park,

    Van Road, Caerphilly CF83 3GG

    Mobile

    07446276026

    Phone

    0330 122 2365

    Email

    mail@samueleast.co.uk


  • Up