Skip to content

Instantly share code, notes, and snippets.

View georgetour's full-sized avatar

George Tourtsinakis georgetour

View GitHub Profile
@georgetour
georgetour / bootsrap_class_list
Created February 2, 2016 14:24 — forked from geksilla/bootsrap_class_list
Bootstrap css class list
.navbar
.caret
.label
.table
.img-responsive
.img-rounded
.img-thumbnail
.img-circle
.sr-only
.lead
@georgetour
georgetour / country_to_continent.php
Last active October 22, 2019 16:46
Country code to continent php
//Get continent from country
function country_to_continent($country){
$continent = '';
if( $country == 'Afghanistan' ) $continent = 'Asia';
if( $country == 'Åland Islands' ) $continent = 'Europe';
if( $country == 'Albania' ) $continent = 'Europe';
if( $country == 'Algeria' ) $continent = 'Africa';
if( $country == 'American Samoa' ) $continent = 'Oceania';
if( $country == 'Andorra' ) $continent = 'Europe';
if( $country == 'Angola' ) $continent = 'Africa';