URL
http://DOMAIN/FILE_NAME.pdf#toolbar=0
Embed
``
| <!--[if lt IE 10]> | |
| <div | |
| style="background: #212121; padding: 10px 0; box-shadow: 3px 3px 5px 0 rgba(0,0,0,.3); clear: both; text-align:center; position: relative; z-index:1;" | |
| > | |
| <a href="http://windows.microsoft.com/en-US/internet-explorer/" | |
| ><img | |
| src="images/ie8-panel/warning_bar_0000_us.jpg" | |
| border="0" | |
| height="42" | |
| width="820" |
| .flash-notify { | |
| top: 0; | |
| left: 50%; | |
| width: auto; | |
| transform: translateX(-50%); | |
| position: absolute; | |
| padding: 10px; | |
| } | |
URL
http://DOMAIN/FILE_NAME.pdf#toolbar=0
Embed
``
Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.
open /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl
You can find more (official) details about subl here: http://www.sublimetext.com/3
Step 1 - Create a New SSH Key
ssh-keygen -t rsa -C "your-email-address"
Step 2 - Name your SSH Key
When prompted, save the file as id_rsa_COMPANY.
Step 3 - Attach the New Key
Prerequisites
Before starting, you should have:
A project containing at least an index.html & some scss files.
NodeJS installed.
GulpJS installed globally 'npm install -g gulp'
Step 1 - Install We need to install 3 tools locally to our project - gulp, gulp-sass & browser-sync. In your terminal/command line, navigate to your project directory and run
| var parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" | |
| parser.pathname; // => "/pathname/" | |
| parser.search; // => "?search=test" | |
| parser.hash; // => "#hash" | |
| parser.host; // => "example.com:3000" |
| $('#my-selector').bind('click', function() { | |
| $(this).unbind('click'); | |
| alert('Clicked and unbound!'); | |
| }); |
| $("form input[name^='username']").val(); |
| // 'touchstart' helps trigger the event in touch devices | |
| $(document).on('click touchstart', function(e){ | |
| if ($(e.target).closest("#menuscontainer").length == 0) { | |
| // .closest can help you determine if the element | |
| // or one of its ancestors is #menuscontainer | |
| console.log("hide"); | |
| } | |
| }); | |
| $('#menuscontainer').on('click', function(e){ |