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 mac = /mac/i.test(navigator.appVersion); | |
| var ios = /(iphone|ipad)/i.test(navigator.appVersion); | |
| var win = /(win)/i.test(navigator.appVersion); | |
| var wp = /windows phone/i.test(navigator.appVersion); | |
| var unix = /(linux|x11)/i.test(navigator.appVersion); | |
| var android = /android/i.test(navigator.appVersion); |
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
| <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| $config['views_paths'] = array( | |
| APPPATH . 'views/' | |
| ); | |
| $config['cache_path'] = APPPATH . 'cache/blade/'; |
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
| class node_builder::build { | |
| class { 'nodejs': | |
| version => '0.10.5', | |
| } | |
| # Uses NPM provider from PuppetLabs Node.js project. | |
| # https://github.com/puppetlabs/puppetlabs-nodejs | |
| package { 'forever': | |
| ensure => installed, |
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
| <snippet> | |
| <content><![CDATA[ | |
| <% for (int ${1:i}=${2:start}; $1<${3:end}; $1++) { %> | |
| ${4:<!--code-->} | |
| <% } %> | |
| ]]></content> | |
| <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
| <tabTrigger>for</tabTrigger> | |
| <!-- Optional: Set a scope to limit where the snippet will trigger --> | |
| <scope>text.html.jsp</scope> |
NewerOlder