View Sublime Text 3 Environment Variables
List of all Sublime Text 3 Environment Variables to be used by Snippet Makers / Plugin Developers
$SELECTION The text that was selected when the snippet was triggered.
$TM_CURRENT_LINE Content of the line the cursor was in when the snippet was triggered.
$TM_CURRENT_WORD Current word under the cursor when the snippet was triggered.
$TM_FILENAME File name of the file being edited including extension.
$TM_FILEPATH File path to the file being edited.
$TM_FULLNAME User’s user name.
$TM_LINE_INDEX Column the snippet is being inserted at, 0 based.
$TM_LINE_NUMBER Row the snippet is being inserted at, 1 based.
View isLocal.js
var isLocal = location.host.includes('localhost');
View Milliseconds -to-seconds.js
function millisToMinutesAndSeconds(millis) {
var minutes = Math.floor(millis / 60000);
var seconds = ((millis % 60000) / 1000).toFixed(0);
return minutes + ":" + (seconds < 10 ? '0' : '') + seconds;
}
View Select2Demo.markdown

Select2 Demo

Example useage of Select2 to add and edit multiple activities to user. This gives freedom of dynamic communication and action plans that can be quickly edited and customized on a user by user basis.

A Pen by John Bocook on CodePen.

License.

View js-date-compare.js
var myDate = '05/05/2019';
var today = new Date();
function process(date) {
var parts = date.split("/");
return new Date(parts[2], parts[1] - 1, parts[0]);
}
if (process(myDate) <= today) {
View js-date-compare.js
var myDate = '05/05/2019';
var today = new Date();
function process(date) {
var parts = date.split("/");
return new Date(parts[2], parts[1] - 1, parts[0]);
}
if (process(myDate) <= today) {
View cfscript-if-year-is-old.cfm
if (dateDiff("yyyy", date_maint, now()) <= 0){
writeOutput('new' & date_maint &'</span>');
} else {
writeOutput('old' & date_maint &'</span>');
}
View test-me-sir
## Microsoft Office Training
### [Excel](https://support.office.com/en-us/article/Excel-training-9bc05390-e94c-46af-a5b3-d7c22f6990bb?ui=en-US&rs=en-US&ad=US)
- [Design Workbooks](https://support.office.com/en-us/article/Hide-columns-95146525-ce4f-4ff6-a118-c0724deb1a98)
- [Analyze and chart data](https://support.office.com/en-us/article/343e775c-58ee-4a3d-8d52-f4e3f5240d79)
- [Create PivotTables](https://support.office.com/en-us/article/74ce8afc-2446-4816-80ee-20ca7fb71793)
Documents
-------------
View Team-Sharepoint.txt
Unite your team with Groups in Outlook
https://support.office.com/en-us/article/Video-Unite-your-team-with-Groups-in-Outlook-aef27003-2ce6-4c62-ad6c-d5fc472507cf
Collaborate with team content using SharePoint Online
https://support.office.com/en-us/article/Video-Collaborate-with-team-content-using-SharePoint-Online-2dd9aeff-7749-4b78-9696-eb0f6267f1f5