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
<?xml version="1.0" encoding="iso-8859-1"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da"> | |
<head> | |
<title>Konepasning.dk - Leverer hvor andre svigter</title> | |
<link rel="stylesheet" type="text/css" href="reset.css" media="all" /> | |
<link rel="stylesheet" type="text/css" href="grid.css" media="all" /> | |
<link rel="stylesheet" type="text/css" href="style.css" media="all" /> |
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
.right { | |
float: right; | |
} | |
.left { | |
float: left; | |
} | |
body { | |
background: #f4f4f3 none repeat scroll 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
/* Install Stylebot chrome extension or similar */ | |
#navSearch .uiSearchInput { | |
border-top: none; } | |
#navSearch .uiTypeahead { | |
background: none; | |
border: none; } | |
.fbx.home #blueBar #pageHead { |
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
# Require holder.js https://github.com/imsky/holder | |
def holder(width, height) | |
color = ("%06x" % rand(0..0xffffff)) | |
return '<img data-src="holder.js/' + width.to_s + 'x' + height.to_s + '/auto/#' + color.to_s + ':#' + color.to_s + '">' | |
end |
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
num=0 | |
for j in *.* | |
do | |
mv "$j" `printf "fb.%01d.jpg" $num` | |
num=`echo "$num + 1" | bc` | |
done | |
#set zeros on %01d | |
#You can set filename instead of *.* |
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
# Do the following command | |
# Ref: http://soderlind.no/archives/2011/08/26/running-wordpress-locally-on-mac-os-x-lion/ | |
# Chown / Chmod wordpress folder | |
$ sudo chown -R :_www wordpress | |
$ sudo chmod -R g+w wordpress | |
# Add to "wp-config.php" | |
define('FS_METHOD', 'direct'); |
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
1. Create php file in root folder. fx _www | |
<?php echo(exec("whoami")); ?> | |
2. Run in terminal | |
chown -R [whoami output]: [root folder] |
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
# Attempt to load files from production if they're not in our local version. Put this file in "wp-content/uploads" folder. | |
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule (.*) http://cfdp.dk/wordpress/wp-content/uploads/$1 | |
</IfModule> |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Page</title> | |
<style> | |
body { | |
background: pink; | |
} | |
iframe { |
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
@media screen and (min-width: 32em) { | |
.content .schedule-component { | |
float: left; | |
width: 100%; | |
position: relative; | |
} | |
.content .schedule-component ul, | |
.content .schedule-component li { | |
list-style: none; | |
position: absolute; |