Create new workbook Data > From Text > Select your CSV file In the popup, choose "Delimited" radio button, then click "Next >" Delimiters checkboxes: tick only "Comma" and uncheck the other options, then click "Next >" In the "Data preview", scroll to the far right, then hold shift and click on the last column (this will select all columns). Now in the "Column data format" select the radio button "Text", then click "Finish".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("head").append("<link rel='stylesheet' id='extracss' href='https://cdn.rawgit.com/dkesberg/cc1543b56a8e36964afeb9a3a69f6669/raw/57048e794abdf5f8362a2359c893ea1604759cfd/poe-print.css' type='text/css' />"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body, .container, .content { | |
background: none !important; | |
} | |
.header, .topBar, .botBar, .forumTable tr { | |
display: none !important; | |
} | |
.forumTable tr:first-child, | |
.forumTable tr:first-child td { | |
display: block !important; | |
background: none !important; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Usage 1: | |
# optimize-images.sh /images/dir | |
# | |
# Usage 2: | |
# cd /images/dir | |
# optimize-images.sh | |
EXTENSIONS="jpe?g" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IE9 css can contain only up to 4095 selectors | |
// source: http://stackoverflow.com/questions/9906794/internet-explorers-css-rules-limits | |
function countCSSRules() { | |
var results = '', | |
log = ''; | |
if (!document.styleSheets) { | |
return; | |
} | |
for (var i = 0; i < document.styleSheets.length; i++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Foundation 5 Grid for print media | |
based on: http://foundation.zurb.com/forum/posts/2820-printing-foundation-5 | |
*/ | |
@media print { | |
.large-1 { | |
width: 8.33333%; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function slice_equal($source, $columns) { | |
$count = count($source); | |
$perColumn = floor($count / $columns); | |
$overflow = $count % $columns; | |
// set start values | |
$sliceOffset = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Based on http://www.elmastudio.de/programmierung/css/css-tipp-eingebettete-videos-fur-responsive-webdesigns-optimieren/ | |
.elastic-video { | |
position: relative; | |
padding-bottom: 55%; | |
padding-top: 15px; | |
height: 0; | |
overflow: hidden; | |
} | |
.elastic-video iframe { |