Presto Card Fraud charge $250

Multiple $250 presto card charges appearing on several credit cards. Anybody else seeing this?

This could just be some fraudster putting in fake transactions that look like presto transactions.

Worse – this could mean that the Presto leaked customer credit card information and now a fraudster is targeting those specific customers.

 

Icefilms is Down Again But Not For Good

Icefilms.info down

It looks like the TV and video file distribution site Icefilms.info will be back up and running soon. Icefilms admin Russtonic issued the following statement via a the sites temporary forum that has been erected to keep users informed during the blackout:

Sorry for the bump in the road. But we will be back soon. We have all the Back-ups and just need a new home for our SuperServer

Service to the site was cut off on December 16th 2014 when the hosting service they were using abruptly shut down their VPS accounts. We know now that the hosting company gave in to pressure from BRIEN, the Dutch recording and video organization (something like the MPAA and RIA combined). There have been many scares like like this in the past but this time there was relatively little administrator feedback leaving some to believe the site may have been shut down permanently.

Although a timeline has not been communicated, administrators are looking to restore Icefilms.info from backups and it up and running in the little while.

Best Caprese Salad Recipe

We call it the Leaning tower of Caprese

Caprese salads can be made in many ways. Manipulations of the three key ingredients (tomatoes, mozzarella, basil) will result in different varieties of the salad – all being delicious. Here is my favourite version of the Caprese – it’s not really a leaning tower so much as one that has fallen over. Read the recipe and try your own take on it by changing its geometry or adding your own secret ingredients.

Ingredients:

  • Tomatoes – I prefer the Kumata brand with roughly 4-5 small sized tomatoes
  • Mozzarella – A large ball of fresh fior di latte or buffalo mozzarella
  • Basil – Buy it fresh and with full leaves
  • Olive oil – I like Italian or Greek olive oil that has a slight burning sensation when you taste a teaspoon of it
  • Salt & Pepper

Directions:

  1. Wash and dry the tomatoes and basil. If the basil leaves are still on the stem, remove and discard the stems. Tear the leaves into small pieces.
  2. Pour out the brine solution in the mozzarella packaging.
  3. Slice the tomatoes and mozzarella in about equal sized pieces. Cut one more tomato slice than mozzarella. This will make sure that you have two tomato ends to help hold the shape together.
  4. Alternate tomato and mozzarella slices in a row. Use the tomatoes for structural integrity and position the end pieces to steady the whole salad.
  5. Sprinkle the basil leaves on top of the row. For me, it’s the more basil, the better.
  6. Drizzle with olive oil and season with salt and pepper.

We also like to drizzle the salad with a bit of good balsamic vinegar.

For a hot version, I created a twist on a recipe I enjoyed at Mario Batali’s Osteria Mozza restaurant in Los Angeles. Roast cherry tomatoes with minced garlic, basil, olive oil and seasonings in the oven at 375 degrees Celsius for about 30 minutes. Slice the mozzarella and place it on top of toasted baguette pieces. Top with the tomatoes and the cheese will melt slightly, making it the best version of bruschetta you will ever have.

Find the Perfect Rental Unit | How To

Searching for a rental unit can be tough, time-consuming, and stressful. Whether you’re desperate to move now or even looking well in advance, some tricks and tips can help ease the process so you can relax in your new home as soon as possible.

1. Know your limits and must-haves

These limits should incorporate all requirements for your new home. For most, the main limit is the budget. Work within a minimum and maximum window. Some don’t think to set a minimum, but choosing a minimum monthly rent can actually help eliminate units way below your standards and save you hours of search time. For example, if you are looking to spend $1500 on a 1 bedroom apartment, a good budget window is $1250 – $1750. The lower limit still allows for some larger bachelor or studio units worth looking at and the upper limit may include add-on’s such as a den, parking, etc..

Do you want to be close to work or school and have regional boundaries? Select a grid from which you will map the available units and try not to deviate far from the outermost streets you set. If you want to walk to work in under 20 minutes, make sure that these boundaries abide by that rule. You don’t want to regret moving 10 blocks further away to save $100/month in rent if it requires you to spend even more on public transit each day.

What is your move-in date? Do you need parking? A storage locker? An apartment or condo with gym and pool access? These are all things to consider.

2. Search multiple online resources

By far, the easiest way to sift through thousands of rentals is online. Take advantage of websites such as Craigslist, Kijiji, MapLiv, Realtor.ca, and Padmapper, which allow you to peruse the latest rentals and quickly contact home owners, realtors, and landlords. In some markets, units can be signed away within hours. It is best to keep up-to-date on the current listings if you’re serious about finding your perfect new home.

3. Be picky about viewings

Initially, it may be best for you to take a look at a ton of units in your desired area so you can get a feel for what it is you want. This also helps you to figure out the size or layout you like and distinguish between what is a good unit and a good photographer. Once you are able to make judgement calls based on provided photographs or descriptions, you can cut down the viewings by about half. Only go see the units you would seriously consider leasing. It is not worth your time or effort to check out a basement apartment if your main requirements include floor-to-ceiling windows. By selectively setting up viewings for only the best rentals, you can spend your searching time more effectively with fewer disappointing results.

4. Check out the neighborhood

You have found the perfect rental unit. It fits your budget, general location, and size requirements. Before signing the lease, take a look around. This is easiest to do on the way to the viewing or immediately after. Do you feel safe walking the surrounding streets alone? Are there grocery stores nearby? Pharmacies? Coffee shops? Think about your daily (and nightly) activities and make sure this neighbourhood can offer you most of what you want. It’s not necessary for it to have everything on your wishlist, just know that it will create a positive atmosphere. If you want to be close to the nightlife, you may be happier with a 5 minute walk than a $20 cab ride to the hottest bars and clubs.

These tips can still apply when working with a realtor or looking to purchase a home. Now that you know some key concepts involved with the house hunt, you can spend less time searching under stress and more time enjoying your new pad.

Installing Software on Ubuntu Server 14.04

Install Oracle Java 7 on Ubuntu:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-set-default

Install Glashfish 4 on Ubuntu:

#Download Glassfish 4
wget download.java.net/glassfish/4.0/release/glassfish-4.0.zip
#install the unzip program
apt-get install unzip
#unzip the glassfish zip to you /opt directory
unzip glassfish-4.0.zip -d /opt
#start glassfish app server
/opt/glassfish4/bin/asadmin start-domain
#change the admin password (the current/default is blank):
/opt/glassfish4/bin/asadmin change-admin-password
#enable remote access to the admin console
/opt/glassfish4/bin/asadmin enable-secure-admin

#restart the domain
/opt/glassfish4/bin/asadmin restart-domain

ubuntu

Ignore Foreign Key Constraints During Truncate or Drop

mysql

If you are trying to drop/delete or empty/truncate a mysql table and you keep getting an error that you are violating a foreign key constraint, you may want to temporarily ignore that constraint. The code below demonstrates how you can tell mysql to ignore foreign key checks, delete/truncate the tables you need to, then re-enable foreign key checks

SET FOREIGN_KEY_CHECKS = 0;
TRUNCATE MY_TABLE;
DROP HIS_TABLE;
SET FOREIGN_KEY_CHECKS = 1;

Create new MySQL user and allow them to connect from any IP

mysqlIf you are getting the error: user is not allowed to connect to this MySQL serverConnection closed by foreign host

Or : Access denied for user ‘root’@’somehost.com’ (using password: YES))

Then you probably have not created your user properly in MySQL
Here is how to create a new MySQL user and give him access to connect to the database from any location (local host or remote host).

Execute the following 4 queries – probably easiest to just run them from within the SQL section of phpMyAdmin (use the same username and password in queries 2 and 4 – these are the username and password you want to give to the new user you are creating)

CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' WITH GRANT OPTION;
CREATE USER 'username'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'username'@'%' WITH GRANT OPTION;

(note, make sure you have told MySQL to listen for connections from all hosts and not just localhost)

MySQL See all columns and tables that foreign key to a table or column

mysql foreign keyIf you’re trying to understand how an existing database has been setup it can be very useful to see all of the tables/columns that foreign key into some other table/column.

use INFORMATION_SCHEMA;
select TABLE_NAME,COLUMN_NAME,CONSTRAINT_NAME,
REFERENCED_TABLE_NAME,REFERENCED_COLUMN_NAME from KEY_COLUMN_USAGE where
REFERENCED_TABLE_NAME = 'your_table_name'
AND REFERENCED_COLUMN_NAME = 'your_column_name'

Ruby MySQL Transaction Example

rubyHere is a simple tutorial showing how to implement transactions in Ruby with MySQL.

The code uses The MySQL2 Gem. We are showing the insert of 2 records into the customers table of a database. If either insert fails, both will be rolled back.

require "mysql2"
client_mysql = Mysql2::Client.new(:host =>; "localhost", :username =>; "my_user", :password =>; "my_password")
client_mysql.query('begin')
begin
mysql_query_insert_customer1 = 'INSERT INTO MyDatabase.CustomersTable (name, phoneNumber, address) VALUES ("FSB", "888-555-5555", "322 Firstsearch Way")'
result_insert_mysql = client_mysql.query mysql_query_insert_customer1
mysql_query_insert_customer2 = 'INSERT INTO MyDatabase.CustomersTable (name, phoneNumber, address) VALUES ("FSG", "887-555-5555", "322 Firstsearch Road")'
result_insert_mysql = client_mysql.query mysql_query_insert_customer2
rescue Exception => e
puts "+++++++ DB ERROR - ROLLING BACK ++++++++"
puts e #print the MySQL Error
client_mysql.query('rollback') #rollback both of our insert statements
exit #exit the script/app (you might want a softer touch)
end
client_mysql.query('commit') #commit the changes to the DB
client_mysql.close

Setup a new GIT repository

gitHere is a quick reminder of how to setup a new git repository on your git server and check it out on your client machine.

On The Server

cd /opt/git
mkdir newproject.git
cd newproject.git
git --bare init

On the Client

cd /home/user/projects
git clone git@gitserver:/opt/git/newproject.git
cd newproject
vim README
git add .
git commit -m 'added new README'
git push origin master