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
{ | |
"Outputs": { | |
"Arn": { | |
"Value": { | |
"Ref": "sfnname" | |
} | |
} | |
}, | |
"Parameters": { | |
"RoleArn": { |
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
""" | |
AWS IAM credential report produces csv with bit unusual values which | |
complicated ES ingestion. | |
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_getting-report.html | |
This simple script converts the 'null' values into correct form. | |
""" | |
import csv | |
import json | |
from dateutil.parser import parse |
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
(anaserp) C:\Users\win10\serp>serpent train context 1 | |
c:\users\win10\anaconda3\envs\anaserp\lib\site-packages\h5py\__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`. | |
from ._conv import register_converters as _register_converters | |
Using TensorFlow backend. | |
Found 98 images belonging to 4 classes. | |
Found 14 images belonging to 4 classes. | |
2018-02-16 19:11:30.020571: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2 | |
2018-02-16 19:11:30.264945: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\common_runtime\gpu\gpu_device.cc:1105] Found device 0 with properties: | |
name: GeForce GTX 760 major: 3 minor: 0 memoryClockRate(GHz): 1.0845 | |
pciBusID: 0000:01:00.0 |
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
""" | |
Find duplicated files module | |
""" | |
import filecmp as fcmp | |
from pprint import pprint | |
import sys | |
import os | |
def args(): |
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
#!/usr/bin/python3 | |
import filecmp as fcmp | |
import itertools as it | |
from pprint import pprint | |
import sys | |
import os | |
if 2 != len(sys.argv): | |
print("Usage: dup.py [FOLDER]") | |
exit() |
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
#!/usr/bin/python3 | |
import filecmp as fcmp | |
import itertools as it | |
from pprint import pprint | |
import sys | |
import os | |
if 2 != len(sys.argv): | |
print("Usage: dup.py [FOLDER]") | |
exit() |
NewerOlder