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
Show hidden characters
{ | |
"color_scheme": "Packages/User/Monokai (SL).tmTheme", | |
"draw_white_space": "all", | |
"trim_trailing_white_space_on_save": true, | |
"font_size": 10, | |
"ignored_packages": | |
[ | |
"Markdown", | |
"Vintage" | |
], |
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
function keyboardShortcuts(){ | |
// setup the keyboard shortcuts | |
console.log('keyboardShortcuts: listner ON'); | |
document.addEventListener('keyup', function(e) { | |
console.log('keyboardShortcuts: e.keyCode',e.keyCode); | |
switch(e.keyCode) { | |
case 70: | |
// F | |
// Make the body toggle full screen. |
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
//Disable spin buttons on input type=“number” and input slider type=“range” in Webkit browsers | |
input[type=number]::-webkit-inner-spin-button, | |
input[type=number]::-webkit-outer-spin-button, | |
input[type=range]::-webkit-slider-thumb { | |
-webkit-appearance: none; | |
margin: 0; | |
} |
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
var mystyle="http://localhost/x/css/style.css"; | |
function test() { | |
var CSShold = document.getElementById('DevCSS'); | |
if (CSShold){ | |
//console.log('if'); | |
document.getElementsByTagName('head')[0].removeChild(CSShold) | |
}/*else{ | |
//console.log('else'); |
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
var HandheldFriendlyTag=document.createElement('meta'); | |
HandheldFriendlyTag.id="HandheldFriendly"; | |
HandheldFriendlyTag.name = "HandheldFriendly"; | |
HandheldFriendlyTag.content = "true"; | |
document.getElementsByTagName('head')[0].appendChild(HandheldFriendlyTag); | |
var MobileOptimizedTag=document.createElement('meta'); | |
MobileOptimizedTag.id="MobileOptimized"; | |
MobileOptimizedTag.name = "MobileOptimized"; | |
MobileOptimizedTag.content = "320"; | |
document.getElementsByTagName('head')[0].appendChild(MobileOptimizedTag); |
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
/* | |
* Reset default browser CSS inside a element with class ".reset-inner". | |
* Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html | |
-------------------------------------------------------------- */ | |
.reset-inner, .reset-inner div, .reset-inner span, .reset-inner applet, .reset-inner object, .reset-inner iframe, | |
.reset-inner h1, .reset-inner h2, .reset-inner h3, .reset-inner h4, .reset-inner h5, .reset-inner h6, .reset-inner p, .reset-inner blockquote, .reset-inner pre, | |
.reset-inner a, .reset-inner abbr, .reset-inner acronym, .reset-inner address, .reset-inner big, .reset-inner cite, .reset-inner code, | |
.reset-inner del, .reset-inner dfn, .reset-inner em,.reset-inner img, .reset-inner ins, .reset-inner kbd, .reset-inner q, s, .reset-inner samp, | |
.reset-inner small, .reset-inner strike, .reset-inner strong, .reset-inner sub, .reset-inner sup, .reset-inner tt, .reset-inner var, |
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
var l_lang; | |
if (navigator.userLanguage) { | |
// Explorer | |
l_lang = navigator.userLanguage; | |
} | |
else if (navigator.language){ | |
// FF | |
l_lang = navigator.language; | |
} | |
else{ |
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
<!-- CHECK IE VERSION --> | |
<!--[if IEMobile 7 ]><script type="text/javascript">alert('Browsing with IE mobile 7")</script> <![endif]--> | |
<!--[if lt IE 7 ]><script type="text/javascript">alert('Browsing with IE 6")</script> <![endif]--> | |
<!--[if IE 7 ]><script type="text/javascript">alert('Browsing with IE 7")</script> <![endif]--> | |
<!--[if IE 8 ]><script type="text/javascript">alert('Browsing with IE 8")</script> <![endif]--> | |
<!--[if IE 9 ]><script type="text/javascript">alert('Browsing with IE 9")</script> <![endif]--> | |
<!--[if (gt IE 9)|!(IE)]><!--><script type="text/javascript">alert('not IE')</script><!--<![endif]--> |
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
<NotepadPlus> | |
<UserLang name="LESS" ext="less" udlVersion="2.0"> | |
<Settings> | |
<Global caseIgnored="yes" allowFoldOfComments="no" forceLineCommentsAtBOL="no" foldCompact="no" /> | |
<Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="yes" Keywords5="yes" Keywords6="no" Keywords7="no" Keywords8="no" /> | |
</Settings> | |
<KeywordLists> | |
<Keywords name="Comments" id="0">00// 01 02 03/* 04*/</Keywords> | |
<Keywords name="Numbers, additional" id="1"></Keywords> | |
<Keywords name="Numbers, prefixes" id="2"># , rgb, px, em</Keywords> |
NewerOlder