Just add a "scrollable" class name to your background element, then it will scroll from left to right, according to your scroll event.
This file contains 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> | |
<head> | |
<title>CSS3 Sign</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<link rel="stylesheet" href="style.css" /> | |
</head> | |
<body> | |
<div class="container"> |
This file contains 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> | |
<head> | |
<title>D3 over Polymap example</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<link rel="stylesheet" href="map.css" /> | |
</head> | |
<body onload="init();"> | |
<div id="map_container"></div> |
This file contains 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 | |
# Delete log files older than {{ daysdelete }} days | |
nice -n 19 find {{ logdirectory }} -type f -name "*.bz2" -mtime +{{ daysdelete }} -exec rm '{}' \; >/dev/null 2>&1 | |
# Compress log files older than {{ dayscompress }} days | |
ionice -c3 nice -n 19 find {{ logdirectory }} -type f ! -path "*.bz2" ! -path "*.log" ! -path "*.gz" -mtime +{{ dayscompress }} -exec bzip2 '{}' \; >/dev/null 2>&1 | |
# Reload rsyslog | |
/bin/kill -HUP $(cat /var/run/rsyslogd.pid) |
This file contains 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> | |
<!-- Based on HTML5 Bones | http://html5bones.com --> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Page Title</title> | |
<meta name="description" content=""> |
This file contains 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
01:38,39,69,71,73,74 | |
02:08,51,59,60,77,80 | |
03:18,23,42,58,63,71 | |
04:05,06,26,83,84 | |
05:04,26,38,73 | |
06:04,83 | |
07:26,30,38,42,43,48,84 | |
08:02,51,55 | |
09:11,31,66 | |
10:21,51,52,77,89 |
This file contains 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
from __future__ import absolute_import | |
import pprint | |
from raven.handlers.logging import SentryHandler | |
class VerboseSentryHandler(SentryHandler, object): | |
""" | |
Subclass the SentryHandler in order to add the locals to the record | |
Inspired by The Verbose exception Formatter | |
From Bitly blog : http://word.bitly.com/post/69080588278/logging-locals |
NewerOlder