This file has been truncated, but you can view the full file.
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
2024-01-31 10:03:33,112 19212 [DEBUG] - XmlConfiguration is now operational | |
2024-01-31 10:03:33,133 19212 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2024-01-31 10:03:33,134 19212 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2024-01-31 10:03:33,135 19212 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2024-01-31 10:03:33,135 19212 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco' | |
2024-01-31 10:03:33,136 19212 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2024-01-31 10:03:33,138 19212 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco' | |
2024-01-31 10:03:33,138 19212 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2024-01-31 10:03:33,139 19212 [DEBUG] - Adding new ty |
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
def return_duplicates(arr): | |
set = {} | |
for x in arr: | |
if x in set: | |
set[x] = 2 | |
else: | |
set[x] = 1 | |
ret = [] | |
for y in set.keys(): |
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
#!/bin/bash | |
if [ -z "$1" ]; then # check if we have any arguments | |
echo usage: $0 command # if not, print a message and quit | |
exit | |
fi | |
nohup "$@" >/dev/null 2>&1 & # "$@" expands all the given arguments |