Skip to content

Instantly share code, notes, and snippets.

View sebastiansulinski's full-sized avatar
🏠
Working from home

Sebastian Sulinski sebastiansulinski

🏠
Working from home
View GitHub Profile
@sebastiansulinski
sebastiansulinski / _flex.scss
Last active May 16, 2016 14:29
Flex box same height with background colour
.flex-wrapper {
&:before,
&:after {
display: block;
}
&, .flex-item {
@sebastiansulinski
sebastiansulinski / countries-list
Last active July 31, 2016 08:53
Database table countries with records (based on the list of records from raramuridesign/mysql-country-list)
CREATE TABLE `countries` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`code` VARCHAR(2) NOT NULL,
`name` VARCHAR(100) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO `countries` (`code`, `name`) VALUES
('AF', 'Afghanistan'),
('AL', 'Albania'),
@sebastiansulinski
sebastiansulinski / countries-array
Created September 20, 2016 07:21
List of countries in the array format
<?php
return [
'AF' => 'Afghanistan',
'AL' => 'Albania',
'DZ' => 'Algeria',
'DS' => 'American Samoa',
'AD' => 'Andorra',
'AO' => 'Angola',
'AI' => 'Anguilla',