wet-boew/wet-boew-drupal#486 https://github.com/wet-boew/wet-boew-drupal/wiki/WxT-Drupal-Working-Group
- Web content management solution
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js | |
"></script> | |
<script src="script.js"></script> | |
<h2><a href="/blog/550-multiple-file-gist-improvements">Multiple file gist improvements</a></h2> | |
<div class="entry-content markdown-body"> | |
<p>We've always had the ability to embed multiple file gists:</p> |
wet-boew/wet-boew-drupal#486 https://github.com/wet-boew/wet-boew-drupal/wiki/WxT-Drupal-Working-Group
This gist has been moved to its own repo! Please see https://github.com/dergachev/copy-public-url
This gist includes a custom Folder Action Script (dropbox-copy-public-url.applescript
) that copies to clipboard the public URL of any newly created file inside of ~/Dropbox/Public
, and emit a Growl notification.
The installation instructions below install the script into ~/Library/Scripts/Folder\ Action\ Scripts
, configure OS X to store screenshots in ~/Dropbox/Public/screenshots
(instead of ~/Desktop
), and configure OS X to run the script on any newly created file in that folder.
// https://github.com/EightMedia/hammer.js/blob/master/hammer.js | |
function toId(t) { | |
return t.toLowerCase().replace(/[^a-z]/gi, "-").replace(/-+/gi, "-") | |
} | |
function toc() { | |
var t = $("#sidebar").html(""); | |
$("h1,h2,h3").each(function() { | |
var e = $(this).clone(), n = $(this).offset().top; | |
"#" != e.html() && (e.is("h3") && e.html("‐ " + e.html()), t.append(e), e.on("click", function() { | |
$("body").animate({scrollTop: n}, 200) |
// https://github.com/EightMedia/hammer.js/blob/master/hammer.js | |
function toId(t) { | |
return t.toLowerCase().replace(/[^a-z]/gi, "-").replace(/-+/gi, "-") | |
} | |
function toc() { | |
var t = $("#sidebar").html(""); | |
$("h1,h2,h3").each(function() { | |
var e = $(this).clone(), n = $(this).offset().top; | |
"#" != e.html() && (e.is("h3") && e.html("‐ " + e.html()), t.append(e), e.on("click", function() { | |
$("body").animate({scrollTop: n}, 200) |
// https://github.com/EightMedia/hammer.js/blob/master/hammer.js | |
function toId(t) { | |
return t.toLowerCase().replace(/[^a-z]/gi, "-").replace(/-+/gi, "-") | |
} | |
function toc() { | |
var t = $("#sidebar").html(""); | |
$("h1,h2,h3").each(function() { | |
var e = $(this).clone(), n = $(this).offset().top; | |
"#" != e.html() && (e.is("h3") && e.html("‐ " + e.html()), t.append(e), e.on("click", function() { | |
$("body").animate({scrollTop: n}, 200) |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- added by alex dergachev --> | |
<base href="http://scratchpad.io/"> | |
<title>Scratchpad</title> | |
<link href="css/style.css" rel="stylesheet" type="text/css" /> | |
</head> | |
<body id="scratchpad" tabindex="0"> |
rule-of-thirds bookmarklet that overlays a rule-of-thirds style grid over all images on a page.
To get the bookmarklet, visit http://bl.ocks.org/4331769
Do the following to be able to use the "RuleOfThirds-localhost" development version of the bookmarklet:
Links about Generational Cache
Views content cache module:
<?xml version="1.0" standalone="no"?> | |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | |
<svg | |
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" | |
version="1.1" viewBox="0 0 300 300" preserveAspectRatio="none"> | |
<defs> | |
<g id="horizontal-lines"> | |
<polyline vector-effect="non-scaling-stroke" points="0,100 300,100" /> | |
<polyline vector-effect="non-scaling-stroke" points="0,200 300,200" /> | |
</g> |