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
1. Conditionals & Operators | |
coffeescript Javascript | |
------------ ------------- | |
== is === | |
!= isnt !== | |
not ! | |
and && | |
or || | |
true yes on true | |
false no off false |
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
""" | |
Before filename: recoded_videos%2Falgs4partI-64.mp4 | |
new_file: 64.mp4 | |
""" | |
import os | |
directory = '<DIR NAME>' | |
pattern_to_be_excluded = '.mp4' | |
pattern_to_be_excluded_2 = '-' | |
k = os.walk(directory) |
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
Changing from Wind Authentication to CAS Server running wind protocol is just as easy as changing domain names for login and validation. | |
Wind Authentication: | |
--------------------------------------------------------- | |
LoginURL: https://wind.columbia.edu/login?service=[Optional]&destination=[destination-URI] | |
ValidationURL: https://wind.columbia.edu/validate?ticketid=[service-ticket] | |
[service] parameter is not really required on CAS. Even if you pass it would not matter. | |
Switching to CAS Server running Wind protocol: |
NewerOlder