Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| for i, item in enumerate(items): | |
| # enumerate(items) = [(0, item1), (1, item2), ...) | |
| print(i, item) |
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
| $input_path = 'C:\Users\Scott\Desktop\fund.txt' | |
| $output_file = ‘C:\Users\Scott\Desktop\extracted_addresses.txt’ | |
| $regex = ‘(\$([0-9]{0,3}(,|\.?))+(M|k|[0-9]))’ | |
| select-string -Path $input_path -Pattern $regex -AllMatches | % { $_.Matches } | % { $_.Value } > $output_file |
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
| l = 'abcdefgho'; | |
| P = perms([1 2 3 4 5 6 7 8 9]); | |
| P = P(P(:,1)==9,:); | |
| index_x = 1:9; | |
| index_y = mod(index_x,9)+1; | |
| cost_table = zeros(size(P,1),1); | |
| sym_cost = TSP; | |
| for i=1:size(P,1) | |
| cost = 0; |
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
| Private Sub Application_ItemContextMenuDisplay( _ | |
| ByVal CommandBar As Office.CommandBar, _ | |
| ByVal Selection As Selection) | |
| Dim objButton As CommandBarButton | |
| On Error GoTo ErrRoutine | |
| If Selection.Count <> 0 Then | |
| If Selection.Item(1).Class = olMail Then |
NewerOlder