I hereby claim:
- I am ariespinoteau on github.
- I am w3lkior (https://keybase.io/w3lkior) on keybase.
- I have a public key ASB0bjBmi4UgYA2d1FzkTx26gdlxnWpxuShghTJ9O5lHXQo
To claim this, I am signing this object:
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
# Remove illegal character for windows files | |
# <>:"/\|?* | |
# | |
# / is being ignored as it is tricky to rename this character | |
# | |
# -E option is added to sed command in order to work on OSX | |
# | |
# First rename files |
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
Information from https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx : | |
Use any character in the current code page for a name, including Unicode | |
characters and characters in the extended character set (128–255), except | |
for the following: | |
- The following reserved characters: | |
< (less than) | |
> (greater than) |
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
# Obtain public IP | |
from requests import get | |
ip = get('https://api.ipify.org').text | |
print 'My public IP address is:', ip |