http://www.smashingmagazine.com/2011/07/15/email-newsletters-worth-subscribing-to/
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
<iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?hl=ru&ie=UTF8&output=embed&q={address}"></iframe> |
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> | |
<!-- Helpful things to keep in your <head/> | |
// Brian Blakely, 360i | |
// http://twitter.com/brianblakely/ | |
--> | |
<head> | |
<!-- According to Heather Champ, former community manager at flickr, | |
you should not allow search engines to index your "Contact Us" |
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
Copyright (c) 2011 Jed Schmidt, http://jed.is | |
Permission is hereby granted, free of charge, to any person obtaining | |
a copy of this software and associated documentation files (the | |
"Software"), to deal in the Software without restriction, including | |
without limitation the rights to use, copy, modify, merge, publish, | |
distribute, sublicense, and/or sell copies of the Software, and to | |
permit persons to whom the Software is furnished to do so, subject to | |
the following conditions: | |
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
executables = {} | |
total = 0 | |
path_extensions = ENV["PATHEXT"].gsub(".", "").downcase.split(File::PATH_SEPARATOR) | |
path = ENV["Path"] | |
path.split(File::PATH_SEPARATOR).each do |value| | |
dir = Pathname.new(value) | |
if dir.exist? then | |
filter = File.join(dir.realpath, "*.{" + path_extensions.join(",") + "}") | |
Dir.glob(filter).each do |file| |
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
sc create MySQL5 binPath= "D:\tools\mysql\bin\mysqld --defaults-file=D:\tools\mysql\my.ini MySQL5" | |
NET START MySQL5 | |
NET STOP MySQL5 | |
sc delete MySQL5 |
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
<!-- Facebook async loading of JSAPI --> | |
<div id="fb-root"></div> | |
<script> | |
// Facebook async loading. | |
(function() { | |
var e = document.createElement('script'); e.async = true; | |
e.src = document.location.protocol + | |
'//connect.facebook.net/en_US/all.js'; | |
document.getElementById('fb-root').appendChild(e); | |
}()); |
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
// This test is ascynchronous. Watch out. | |
(function(){ | |
var datauri = new Image, | |
ctx = document.createElement("canvas").getContext("2d"); | |
datauri.onerror = function() { | |
Modernizr.addTest('apng', function () { return false; }); | |
}; |
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
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, curly:true, browser:true, indent:2, maxerr:50 */ | |
(function (document) { | |
"use strict"; | |
function getElementsByClassName(match, tag) { | |
if (document.getElementsByClassName) { | |
return document.getElementsByClassName(match); | |
} | |
var result = [], | |
elements = document.getElementsByTagName(tag || '*'), | |
i, elem; |
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
puts ["2B71F".hex].pack("U") | |
# In Ruby 1.9 you can even do this: | |
puts "\u{2B71F}" |
OlderNewer