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
// in invite.js module: | |
exports.inviteUser = function(creatingUser,email,tempPass,response) | |
{ | |
"use strict"; | |
if (!tempPass) { | |
tempPass = genRandomPass(); | |
} | |
var user = new Parse.User(); | |
user.set ("username", email); |
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
app.directive('blur', [function () { | |
return { | |
restrict: 'A', | |
link: function (scope, element) { | |
element.on('click', function () { | |
element.blur(); | |
}); | |
} | |
}; | |
}]); |
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
Public OldCell As Range | |
Private Sub Worksheet_SelectionChange(ByVal Selected As Range) | |
' Exit if more than one cell selected | |
If Selected.Cells.Count > 1 Then Exit Sub | |
' Variable Declarations | |
Dim column As Range | |
Dim path As String | |
' Path to photos |
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
from os import listdir | |
from os.path import isfile, join | |
import shutil | |
def moveDirectory(src, dest): | |
try: | |
shutil.move(src, dest) | |
# Directories are the same | |
except shutil.Error as e: | |
print('Directory not copied. Error: %s' % e) |
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
Sub InsertPictures() | |
' Variable Declarations | |
Dim cll As Range | |
Dim rng As Range | |
Dim strPath As String | |
' Path to photos | |
strPath = "D:\Photo Folder" | |
' Set the range |
NewerOlder