Thursday, May 22, 2014
Facebook Debugger
Facebook debug tool:
"Enter a URL to see some helpful feedback about your page markup. Enter an access token to see its expiry and user."
Used it to check my og:image meta tags.
"Enter a URL to see some helpful feedback about your page markup. Enter an access token to see its expiry and user."
Used it to check my og:image meta tags.
Getting parts of a URL without using regex
As this response on StackOverflow says, have the browser do it for you:
Or, with jQuery:
var a = document.createElement('a');
a.href = 'http://www.example.com:123/foo/bar.html?fox=trot#foo';
['href','protocol','host','hostname','port','pathname','search','hash'].forEach(function(k) {
console.log(k+':', a[k]);
});
/*//Output:
href: http://www.example.com:123/foo/bar.html?fox=trot#foo
protocol: http:
host: www.example.com:123
hostname: www.example.com
port: 123
pathname: /foo/bar.html
search: ?fox=trot
hash: #foo
*/
Or, with jQuery:
var lnk = $('<a href="http://www.example.com:123/foo/bar.html?fox=trot#foo" />')[0]; $.each(['href','protocol','host','hostname','port','pathname','search','hash'], function(idx, k) { console.log(k+':', lnk[k]); });
Friday, May 9, 2014
Aptana notes
- TFS plugin from Microsoft
- additional syntax highlighting plugin
- setting the editor tool (use similar steps to associate HTML editor to .aspx)
Wednesday, May 7, 2014
Prop Lightsabers
Info:
Sellers (or about the sellers):
Sellers (or about the sellers):
- Ultra Sabers
- Parks Sabers
- Star Wars thread on RPF
- FX-Sabers (with crystal chambers!)
Sunday, May 4, 2014
Free icons
Free icons and other stuff at Smashing Magazine freebies page.
Subscribe to:
Posts (Atom)