Read the blog at http://fokkezb.nl/2013/09/20/url-schemes-for-ios-and-android-2/
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
| .rounded-corners-gradient-borders { | |
| width: 300px; | |
| height: 80px; | |
| border: double 4px transparent; | |
| border-radius: 80px; | |
| background-image: linear-gradient(white, white), radial-gradient(circle at top left, #f00,#3020ff); | |
| background-origin: border-box; | |
| background-clip: padding-box, border-box; | |
| } |
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
| <ul class="o-list-fit c-nav-primary"> | |
| <li class="o-list-fit__item c-nav-primary__item"> | |
| <a href="#" class="o-list-fit__link c-nav-primary__link">The workshop</a> | |
| </li> | |
| <li class="o-list-fit__item c-nav-primary__item"> | |
| <a href="#" class="o-list-fit__link c-nav-primary__link">2013 Schedule</a> | |
| </li> | |
| <li class="o-list-fit__item c-nav-primary__item"> | |
| <a href="#" class="o-list-fit__link c-nav-primary__link is-current">About CSS Wizardry</a> | |
| </li> |
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
| <?xml version="1.0"?> | |
| <configuration> | |
| <system.webServer> | |
| <httpRedirect enabled="true" destination="http://foo.com/newdir" httpResponseStatus="Permanent" /> | |
| </system.webServer> | |
| </configuration> | |
| <?xml version="1.0"?> | |
| <configuration> | |
| <system.webServer> |
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
| <!-- Mobile & Fav Icons --> | |
| <link rel="shortcut icon" type="image/x-icon" href="{siteurl}/favicon.ico"> | |
| <!-- Apple iOS --> | |
| <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{siteurl}/favicons/144x144-precomposed.png"> | |
| <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{siteurl}/favicons/114x114-precomposed.png"> | |
| <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{siteurl}/favicons/72x72"> | |
| <link rel="apple-touch-icon-precomposed" href="{siteurl}/favicons/57x57.png"> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="black"> | |
| <meta name="apple-mobile-web-app-title" content="{page 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
| # find head commit | |
| git reflog | |
| # now reset hard - where N is the head commit found in the reflog | |
| git reset --hard HEAD@{N} |
This means, on your local machine, you haven't made any SSH keys. Not to worry. Here's how to fix:
- Open git bash (Use the Windows search. To find it, type "git bash") or the Mac Terminal. Pro Tip: You can use any
*nixbased command prompt (but not the default Windows Command Prompt!) - Type
cd ~/.ssh. This will take you to the root directory for Git (LikelyC:\Users\[YOUR-USER-NAME]\.ssh\on Windows) - Within the
.sshfolder, there should be these two files:id_rsaandid_rsa.pub. These are the files that tell your computer how to communicate with GitHub, BitBucket, or any other Git based service. Typelsto see a directory listing. If those two files don't show up, proceed to the next step. NOTE: Your SSH keys must be namedid_rsaandid_rsa.pubin order for Git, GitHub, and BitBucket to recognize them by default. - To create the SSH keys, type
ssh-keygen -t rsa -C "your_email@example.com". Th
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
| function go() { | |
| var userId = prompt('Username?', 'Guest'); | |
| checkIfUserExists(userId); | |
| } | |
| var USERS_LOCATION = 'https://SampleChat.firebaseIO-demo.com/users'; | |
| function userExistsCallback(userId, exists) { | |
| if (exists) { | |
| alert('user ' + userId + ' exists!'); |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>App Redirection</title> | |
| </head> | |
| <body> | |
| <!-- | |
| NOTE: This was a great hack in days gone by, but now both Apple and Google have improved their support for custom | |
| protocol handlers. |
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 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" |
NewerOlder