testing

7 Beautiful Looks For Every Skin Tone
NEXT POST
SHARE

7 Beautiful Looks For Every Skin Tone

From SHANY Cosmetics
Fashion

It’s a frustrating experience everyone can relate to: standing in the beauty section desperately trying to find the color that will work for your skin tone. Before you know it, your face is striped with five different foundations and you’re tired of playing matchmaker with your makeup. This guide will do away with all that guess work once and for all.

The key is to find colors that complement your natural and unique complexion — not compete with it. Here are seven gorgeous looks that will work for your skin tone.

1. Fair

Your coloring is characterized by light skin with cool pink and blue undertones. Out of all of your friends, you’re probably most likely to burn after a day at the beach (so cover up!).

Look for a foundation that has a warmer undertone (think rosy pinks). Then contrast your cool hues with a burst of poppy-red lipstick. A smoky eye in a warm mahogany will give you a dramatic finish, without looking too harsh against your light complexion.

1. Fair
via Fashion & Style | Ethan Miller / Getty Images | Colourbox | Shany Cosmetics | Shany Cosmetics
2. Beige

Unlike fair skin, your skin tone has a warmer undertone. What’s the best way to bring out your skin tone’s natural warmth and golden glow without looking like an orange?

Choose a foundation that complements your skin with a similar yellow undertone. Then try a blush in a dusty pink to achieve that “just-been-kissed-by-the-sun” flush. Finally, a rose lip stick will complete this natural look.

2. Beige
via POPSUGAR | Michael Stewart / Getty Images | Shany Cosmetics | Shany Cosmetics | Shany Cosmetics
3. Sand

Lucky for you, your skin tone is relatively neutral, with no dominant warm or cool undertones, which means just about any color will work with your complexion. The good news? You have lots of beauty options. The bad news? When it comes to putting together a cohesive look, you might have TOO many options. Don’t sweat — we’ll get you through this.

Keep it simple for your eyes by lining them with a gel liner in classic black. Then play up your lips with a pop of pink. Bam — you’re ready for a night out.

3. Sand
via Deadline | InStyle | Shany Cosmetics | Shany Cosmetics

ADVERTISEMENT
4. Olive

Your skin is basically BFFs with the sun, tanning flawlessly into a golden brown. Just remember to protect your skin with sunscreen to keep it healthy and gorgeous.

Your skin’s warm green and yellow undertones are best suited to a foundation with a hint of bronze, which brings out your inner glow. Be daring and choose a lipstick in a deep wine color — it’s one that few can pull off, but it will add a beautiful contrast to your skin’s earthy tones. Then get ready to go metal and use a dark silver for your eyes.

4. Olive
via meltyFashion | Getty Images | Polyvore | Shany Cosmetics | Shany Cosmetics
5. Bronze

Your darker complexion has cool blue and pale purple undertones. Enhance this unique color combination by using a pearl pink blush. This color will naturally blend into your skin tone for a soft flush. A smoky eye done in a dark ash pulls this subtle and sexy look together.

5. Bronze
via InStyle | Gilbert Carrasquillo / FilmMagic | Colourbox | Shany Cosmetics | Shany Cosmetics
6. Deep Brown

Your skin tone has a warm undertone, so be bold and experiment with color. Pucker up and play with a lip color like bold berry. Stay with the purple palette and use a lavender blush to add a unique and subtle color to your cheeks. Combine deep browns and plums for your eyes to complete this glamorous look.

6. Deep Brown
via Elle | Getty Images | Shany Cosmetics | Shany Cosmetics | Shany Cosmetics
7. Ebony

It can be challenging to find the perfect foundation to match your skin tone. Make sure you test your foundation on your jawline, since your face will be a few shades lighter than your arms. Once you’ve found your perfect match, get ready to play with color and shine. These products typically overwhelm other skin types, but are gorgeous on you. Be daring with jewel tones like deep sapphires and amethysts to get this look.

How To Lose 8 Kgs Weight In 7 Days

 

Are you looking for the fastest way to lose weight? Are you having a big party in a couple of weeks time and are looking to get into skinny clothes that fit your properly? Are you going out on a date in a couple of week’s time? Whatever be the reason that you are trying to lose weight, you have come to the correct page that will provide you with the ideal tips that will help you to easily lose weight in a week’s time.

weight-loss-planIt is important for you to find the right kind of weight reduction method to get back into shape and never fall prey to diet pills and weight loss supplement advertisements that you come across on television channels and the internet. If you are able to combine a proper and healthy diet with an exercise regime, then this could be your passport to the fastest way to lose weight and that too naturally. The first and foremost thing that you should remember is that you should not skip meals or eat at irregular times in any weight loss plan. If you ever thought that skipping a meal or two an eating a hearty meal only once a day is never going to help in reducing your weight. Also, make sure that you set realistic weight loss target goals before beginning a weight loss program and try to achieve the set target. Always bear in mind that you can only stretch your body to a certain limit with rigorous exercise routines and a well balanced and healthy diet plan.

One of the most popular and commonly followed diet plans of many weight loss enthusiasts is the General Motors diet plan and this plan is the best plan that you can come across on various sources that will provide you with the fastest way to lose weight and that too naturally without intake any other health supplements or diet pills. General Motors is one of the leading car manufacturing brands and they have come up with a renowned and successful General Motors Diet Plan or GM Diet Plan that is followed by many other companies as well as educational institutions as it will help in improving the well being of people working in an office or a school or a college or any other industry. The GM diet plan is found to be successful in people of all age groups and there are even claims that people have been able to lose 8 kilograms of weight within a week’s time by following the diet plan from GM.

There are quite a lot of people who are a bit plumper for their liking and are looking at different ways to lose weight without putting in a big effort. There have quite a lot of people who have tried various options like yoga, workout in the gym, running, jogging and regular exercise to reduce weight but have not been able to get rid of the excess fat deposits on their body and to reduce their weight. If your bulkiness is your worry and you would like to shed off those extra kilos from your body, then GM diet could be the answer to all your weight problems.

ALSO READ: 7 Days Flat Belly Diet Plan

GM Diet Plan ChartHow To Lose 8 Kgs Weight In 7 Days

If you are ready to go on a GM diet plan, the first thing is that you need to do is to get your mind ready for the diet regime that you are going to follow. Only if you have a controlled and peaceful mind will you be able to be successful in this weight loss plan that offers you the fastest way to lose weight. The diet plan is for one week and through this diet period you will only be allowed to take specific foods as prescribed in the diet plan for each of these seven days. It is believed that you will be able to reduce about 5 to 8 kilograms in weight when you follow the diet plan exactly as mentioned below.

The most important thing that you need to realize in this fastest way to lose weight is to not stay hungry at all. This will do the opposite and instead of your plans to lose weight you might end up gaining a few extra kilograms. This plan suggests you the right amount and the right quantity of food that you can intake in order to make you feel you are full always. You might be curious thinking of how a diet plan will work when you are allowed to eat and that too at a specified amount. Also, many people who took this lose weight diet program from GM were puzzled on how a diet program that does not ask you to fast will help in effective weight loss. But, there is nothing to worry about in this diet plan as it is a sure shot procedure that will help you to reduce your overall body weight by 5 to 8 kilos in about a week.

Day One

fresh-fruits
The first day is the most important day in your GM diet plan program. You are just stepping into the world of knowing how you can reduce your body weight and that too in 7 days time. The GM diet plan says that the first day of the diet must be a complete fruit diet day. You have the option of eating all the fruits that you possibly can and also take in whatever fruit that you like. But, it is important for you to make sure that you avoid bananas from your fruit list on day one. Some of the suggested fruits that you can take on the GM’s weight loss diet plan are watermelons and cantaloupe. You are also supposed to drink about 8 to 12 glasses of water on day one and make sure that you do not even touch any other food items, not even raw or boiled vegetables. If you need this plan to work effectively in your body, then you should only consume various kinds of assorted fruits throughout the day. If you feel hungry, try to eat more fruits and of course drink water.

Day Two

vegetables
If day one was a day that gave you the opportunity to binge on your favorite fruits, then day two provides you an opportunity to eat only vegetables throughout the day. You can take in the vegetables that you like both in the raw state and in cooked state. But, it is important for you to make sure that you do not use any sort of oil while cooking vegetables. Consuming boiled vegetables are also a good option. You can take any vegetable that you like including potatoes. But, it would be safe for you to try out the boiled potatoes early in the morning itself so that the carbohydrates get burnt during the course of the day. Some of the common vegetables that are good to be consumed on day 2 of the lose weight diet regime are: cooked beans, raw and cooked carrot, broccoli, cucumber, boiled bottle and ridge gourd, lettuce, boiled cabbage and so on. There is no doubt that your digestive system will completely undergo an overhaul by the evening and you also would need to visit the toilet more times than before. Make sure that you do not miss out on your daily dose of 8 to 12 glasses of water along with a strict veggie diet on day two.

Day Three

Get Healthy Skin With Fruits And Vegetables
The third dray of your GM weight lose plan will allow you to take both vegetables and fruits for the entire day. Make sure that you do not touch potatoes in the veggie section and also make sure that you do not consume bananas from the fruit section. You have the option of going for a fruit diet in the morning followed by a veggie diet in the afternoon and a fruit diet in the evening followed by a veggie and fruit diet at night. The options and the permutations and combinations of consuming the fruit and vegetable diet or combination of both the diets is totally left to your disposal. You can decide on what you would like to have provided it is fruits and vegetables. Never miss the option of drinking 8 to 12 glasses of water even on day three as well.

Day Four

bananas and milk
Day four would interest dieters looking for the fastest way to lose weight as it is filled with a banana and milk diet. Yes, you need to take at least a minimum of 8 to 10 bananas throughout the day and are allowed three glasses of milk. You might be a bit worried if this diet will make you feel hungry. But, on the contrary, you will feel quite full with this diet plan at the end of the day. You need to divide the bananas and the glasses of milk properly so that you do not feel any kind of starvation on the fourth day of GM diet plan regime. Consuming a banana and a glass of milk in the morning followed by a couple of bananas during the midday will be an ideal start to day four. You can take a glass of milk and two bananas for lunch on day four. You can also take a couple of bananas in the evening or even three bananas and then take a couple of bananas and a glass of milk at night. There will be no sign of hunger at all throughout the entire day if you follow this simple day four regime.

Day Five

tomatoes
If you love having a feast, then day 5 of the GM’s lose weight diet plan offers you the opportunity to a feast on day five. It is the day when you can have a cup of rice for lunch and take about six to seven tomatoes throughout the day. As there is every chance of producing a lot of uric acid in your body, it is ideal for you to increase the water level from 12 glasses to 15 glasses on day five.

Day Six

cup of rice
You are in for another feast day on day six of the GM’s diet plan. Here too, you will be allowed to take a cup of rice in the afternoon for lunch and you also need to stick on to a vegetable diet for the rest of the day. It is also important for you to make sure that you take at least 8 to 12 glasses of water on day six as well. This is the penultimate day of your seven day GM diet plan regime and you are sure to feel quite lighter than before by the sixth day. There is no doubt that you will also be improving your digestive system completely with this seven day diet plan from General Motors.

Day Seven

Fruit and vegetable juice
This is the last day of the lose weight diet plan from GM. Here, you are allowed to take a cup of rice and all the veggies that you would love to eat along with the fruit juice of your choice. This is considered to be the best day of your entire diet regime as you have the option to eat all the vegetables that you like and to flush it off by consuming the fruit juices of your choice.
There is no doubt that you will see a considerable amount of weight loss in  your body and you have done nothing other than following a strict fruit and vegetable and drinking water diet plan. There are also quite a lot of benefits that you gain from the GM diet plan. You will see your face to glow even better than before and also will improve your digestive system. The best advantage though would be that you would see a reduction in your body weight by about 4 to 5 kilos or even more.
So, for all the overweight people who are starving their stomach away to lose excess weight, try the healthier and fastest way to lose weight by following the simple GM diet plan.

 

Deploy Rails App On Heroku

# Installation

https://toolbelt.heroku.com/

1. wget -qO- https://toolbelt.heroku.com/install.sh | sh
2. gem install heroku foreman

$ heroku login
Enter your Heroku credentials.
Email: chamnapchhorn@gmail.com
Password:
Could not find an existing public key.
Would you like to generate one? [Yn]
Generating new SSH public key.
Uploading ssh public key /Users/adam/.ssh/id_rsa.public

# Create a Rails 3 App
$ cd ~/myapp
$ heroku create pg_backbone
Creating pg_backbone… done, stack is cedar
http://pg_backbone.herokuapp.com/ | git@heroku.com:pg_backbone.git
Git remote heroku added

# Some command lines
$ heroku run rake db:create
$ heroku run rake db:migrate

# Asset Precompile

1. Compiling assets locally.
RAILS_ENV=production bundle exec rake assets:precompile
git add public/assets
git commit -m “vendor compiled assets”

2. Compiling assets during slug compilation.
config.assets.initialize_on_precompile=false

3. Compiling assets during runtime.
If the assets:precompile task fails, the output will be displayed and runtime compilation of assets will be enabled.

# Heroku Environment Variables
heroku config:add KEY=value
heroku config

https://devcenter.heroku.com/articles/rails3
http://railsapps.github.com/rails-heroku-tutorial.html
https://devcenter.heroku.com/articles/ruby

Setup PostgreSQL

PostgreSQL is a powerful, open source object-relational database system.
https://help.ubuntu.com/community/PostgreSQL

Installation on ubuntu server

http://www.postgresql.org/download/
For ubuntu lower version
$ sudo add-apt-repository ppa:pitti/postgresql
$ sudo apt-get update

$ sudo apt-get install -y postgresql-server-dev-9.1 postgresql-client-9.1 libpq-dev postgresql-9.1 postgresql-contrib-9.1

# postgres can’t start
$ sudo pg_createcluster 9.1 main –start

# set locale on ubuntu
$ export LANGUAGE=en_US.UTF-8
$ export LANG=en_US.UTF-8
$ export LC_ALL=en_US.UTF-8

# put the above export in ~/.bashrc
$ locale-gen en_US.UTF-8
$ sudo apt-get install locales
$ dpkg-reconfigure locales

Create user
$ sudo -u postgres createuser –superuser $USER
$ sudo -u postgres psql
$ postgres=# \password $USER

Creating rails application with postgres

$ rails new store -d postgresql
$ rake db:create:all

ActiveRecord Serialization

http://api.rubyonrails.org/classes/ActiveRecord/Base.html
Hstore & Array Datatype

Rails 4
Built-in support. These 2 gems are not necessary.

Rails 3.2
https://github.com/softa/activerecord-postgres-hstore
https://github.com/dockyard/postgres_ext

gem ‘activerecord-postgres-hstore’
gem ‘postgres_ext’
$ bundle install
$ rails g hstore:setup
$ rails g model Product name:string attrs:hstore

# schema format
config.active_record.schema_format = :sql

# index on hstore
def up
execute “CREATE INDEX products_properties ON products USING GIN(properties)”
end

def down
execute “DROP INDEX products_properties”
end

class Product < ActiveRecord::Base
serialize :attrs, ActiveRecord::Coders::Hstore
end

Usage

https://github.com/softa/activerecord-postgres-hstore#usage

 

Heroku Multiple Environment Deployment

Requirements:

1. Heroku account
2. Heroku Gem/ Heroku toolbelt in our local machine
3. Ruby >= 1.9.2
4. Rails 3.x
5. Git

+ Manual Process

1. Assume that our apps use postgresql, and thin as a web server instead of webrick, and located in ~/workspace/test-environment

2. Set up git
$ cd ~/workspace/test-environment
$ git init
$ git add .
$ git commit -m “first commit”

3. Create app on Heroku and set configuration

– Staging

$ heroku create test-environment-staging –remote staging
$ git push staging master
$ heroku config:add RACK_ENV=staging –app test-environment-staging (for sinatra)
$ heroku config:add S3_URL= RAILS_ENV=staging –app test-environment-staging
$ heroku config –app test-environment-staging (check your configuration variable)

– Production

$ heroku create test-environment-production –remote production
$ git push production master

+GEM heroku_san(gem to create multiple environment on Heroku)

1. Add the following to your project Gemfile:

group :development do
gem ‘heroku_san’
gem ‘heroku’
end

2. Geneate config/heroku.yml via the heroku_san generator:

$ bundle exec rails generate heroku_san

3. Modify config/heroku.yml to suit your requirement

production:
app: test-environment-production
stack: cedar
tag: production/*
config:
BUNDLE_WITHOUT: “development:test”
GOOGLE_ANALYTICS: “UA-12345678-1”

staging:
stack: cedar
app: test-environment-staging
config: &default
BUNDLE_WITHOUT: “development:test”
RAILS_ENV: “staging”

4. Create apps on Heroku

$ bundle exec rake all heroku:create

5. Deploy and configure apps

$ bundle exec rake staging heroku:deploy
$ bundle exec rake production heroku:deploy
$ bundle exec rake all heroku:config
$ bundle exec rake all heroku:addons(if you have some addons in your heroku.yml)
– Managing Multiple Environments for an App: https://devcenter.heroku.com/articles/multiple-environments
– heroku_san: http://adventuresincoding.com/2012/05/easily-deploy-to-multiple-environments-on-heroku-with-herokusan

Export / Import PostgreSQL database

Export a database


su - postgres
pg_dump products > products.pgdump

Import a database

sudo -u postgres psql products < products.pgdum

Create Table from select

> create table victor_categories as select * from categories limit 500;

Export and Import to/from CSV 

+Export to CSV file with column name header

>\ COPY categories(id,name) TO ‘/tmp/categories.csv’ WITH DELIMITER ‘,’  CSV HEADER;

+Export to CSV file without column name header

>\COPY categories(id,name) TO ‘/tmp/categories.csv’ WITH DELIMITER ‘,’ ;

+Import from CSV file

>\COPY categories(id,name) FROM  ‘/tmp/categories.csv’ WITH DELIMITER ‘,’ ;

USING POSTGRES PG_COPY

This Gem will enable your AR models to use the PostgreSQL COPY command to import/export data in CSV format.

  • pg_copy_to
  • pg_copy_to_string
  • pg_copy_from

https://github.com/diogob/postgres-copy#note-on-patchespull-requests

$gem 'postgres-copy'

$bundle

> Category.pg_copy_from “db/data/categories.csv”


REMOTE TO OTHER HOST

psql -h ec2-54-243-238-240.compute-1.amazonaws.com -U username  -d dbname -p port

CHECK DATABASE CONFIGURATION IN RAILS

$rails console

>Rails.configuration.database_configuration[Rails.env]

> {“adapter”=>”postgresql”, “database”=>”products”, “username”=>”username”, “password”=>”password”, “host”=>”ec2-54-243-238-240.compute-1.amazonaws.com”, “port”=>5432}

Backup mysql Databases

1. BACKUP DATABASE

The following example takes a backup of  all the database of the MySQL instance.

-ALL DB

$ mysqldump -u root -ptmppassword --all-databases > /tmp/all-database.sql

- SPECIFIC DB


$ mysqldump -u root -ptmppassword db_name > /tmp/all-database.sql
- SPECIFIF TABLE
In this example, we backup only the accounts_contacts table from sugarcrm database.
# mysqldump -u root -ptmppassword sugarcrm accounts_contacts \
      > /tmp/sugarcrm_accounts_contacts.sql

2.EXPORT TO CSV FILE

SELECT order_id,product_name,qty FROM orders
INTO OUTFILE '/tmp/orders.csv'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'

3. IMPORT FROM CSV FILE TO MYSQL

$ load data local infile 'uniq.csv' into table tblUniq fields terminated by ','
enclosed by '"'
lines terminated by '\n'
(uniqName, uniqCity, uniqComments)