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
a[href], input[type='submit'], input[type='image'], label[for], select, button, .pointer { | |
cursor: pointer; | |
} |
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
input:checked + label{ | |
background: yellow; | |
} |
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
/***** Selector Hacks ******/ | |
/* IE6 and below */ | |
* html #uno { color: red } | |
/* IE7 */ | |
*:first-child+html #dos { color: red } | |
/* IE7, FF, Saf, Opera */ | |
html>body #tres { color: red } |
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
td { | |
white-space: nowrap; | |
} |
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
<SCRIPT> | |
var pos=document.URL.indexOf("name=")+5; | |
var name=document.URL.substring(pos,document.URL.length); | |
if (name.match(/^[a-zA-Z0-9]$/)) | |
{ | |
document.write(name); | |
} | |
else | |
{ | |
window.alert("Security error"); |
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
var els=document.querySelectorAll('.FriendRequestAdd'); | |
for(i=0;i<els.length;i++){ | |
if(els[i].innerHTML!="")continue; | |
els[i].click(); | |
}; |
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
Неделя jsunderhood. Все ссылки, которыми я с вами поделился | |
http://blog.vjeux.com/2014/javascript/react-css-in-js-nationjs.html | |
http://bost.ocks.org/mike/algorithms/ | |
http://cdn.mozilla.net/pdfjs/tracemonkey.pdf | |
http://confreaks.tv/videos/keeprubyweird14-opening-keynote | |
http://confreaks.tv/videos/rubyconf2014-the-social-coding-contract | |
http://eldar.djafarov.com/2013/11/reactjs-mixing-with-backbone/ | |
http://ember.js/posts/animations-in-emberjs-with-liquidfire | |
http://frameworksdays.com/event/mk-listochkin-emberjs/participants |
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
Global Variables | |
Store the data that WP generates | |
$post | |
$page | |
$is_iphone | |
$wp_version | |
Template Tags | |
Most Commonly used functions in theme templates | |
get_header() | |
the_title() |
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
// In your mixin file | |
=retina | |
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) | |
@content | |
// Call this mixin | |
.something | |
+retina | |
something: something |