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
# '##::::'##::::'###::::'########::'####::::'###::::'########::'##:::::::'########::'######:: | |
# ##:::: ##:::'## ##::: ##.... ##:. ##::::'## ##::: ##.... ##: ##::::::: ##.....::'##... ##: | |
# ##:::: ##::'##:. ##:: ##:::: ##:: ##:::'##:. ##:: ##:::: ##: ##::::::: ##::::::: ##:::..:: | |
# ##:::: ##:'##:::. ##: ########::: ##::'##:::. ##: ########:: ##::::::: ######:::. ######:: | |
# . ##:: ##:: #########: ##.. ##:::: ##:: #########: ##.... ##: ##::::::: ##...:::::..... ##: | |
# :. ## ##::: ##.... ##: ##::. ##::: ##:: ##.... ##: ##:::: ##: ##::::::: ##:::::::'##::: ##: | |
# ::. ###:::: ##:::: ##: ##:::. ##:'####: ##:::: ##: ########:: ########: ########:. ######:: | |
# :::...:::::..:::::..::..:::::..::....::..:::::..::........:::........::........:::......::: | |
$ProjectsDir = "D:\Projects" |
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
con | |
Lang:JS | |
console.log($[![]!]);[>END<]!$[FingerTextData FingerTextData]@# | |
amdmain | |
Lang:JS | |
/*jslint browser: true, vars: true, white: true, forin: true, plusplus: true */ | |
/*global define,require,console */ | |
(function () { | |
'use strict'; |
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 for document | |
if(app.documents.length > 0){ | |
// get active document | |
var psDoc = app.activeDocument; | |
// get user input on column count | |
var colWidth = parseInt( prompt("Column size?", 5) ); | |
var docWidth = psDoc.width; | |
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
<?xml version="1.0"?> | |
<featureToggles> | |
<feature name="AccountRegistrationTools" enabled="true" /> | |
<feature name="SidebarNav" enabled="true" /> | |
<feature name="GoogleMapsApiV3" enabled="false" /> | |
<feature name="SystemLogging" enabled="false" /> | |
</featureToggles> |
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
if (FeatureToggles.IsEnabled("SidebarNav")) { | |
// ... | |
} |
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
<html class="<%= FeatureToggles.GetCssClassesForFeatures('en') %>"> |
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
<html class="feat-AccountRegistrationTools feat-SidebarNav"> |
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
{ | |
"font_face": "UbuntuMono", | |
"font_size" : 12, | |
"tab_size" : 2, | |
"translate_tabs_to_spaces": true, | |
"detect_indentation": false, | |
"draw_minimap_border": true, | |
"always_show_minimap_viewport": true, | |
"caret_style": "smooth", | |
"line_padding_top": 2, |
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
<snippet> | |
<content><![CDATA[ | |
/*jslint browser: true, white: true */ | |
/*global define */ | |
define([ | |
'${1:dependencies}' | |
], function (${2:dependencyArgs}) { | |
'use strict'; |
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
// If 'sidebarNav' feature is toggled ON... | |
if ($('html').hasClass('.feat-sidebarNav')) { | |
// Load the new SidebarNav module | |
require(['modules/sidebar'], function(SidebarNav) { | |
// ... | |
}); | |
} |
OlderNewer