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
import s3fs | |
import zipfile | |
import tempfile | |
import numpy as np | |
from tensorflow import keras | |
from pathlib import Path | |
import logging | |
AWS_ACCESS_KEY="aws_access_key" |
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
[flake8] | |
max-line-length = 100 | |
ignore = E203,W503,W605 |
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
var url = "https://drive.google.com/uc?export=download&id=18uDNHqzEK3DrxcFhL5SjU4zpGCqOq53R"; |
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
var http = require('https'); | |
var AWS = require('aws-sdk'); | |
exports.handler = (event, context) => { | |
var codecommit = new AWS.CodeCommit({ apiVersion: '2015-04-13' }); | |
var baseUrl = "https://api.telegram.org/bot416356188:AAGaWMHjEXsxTmXb4c6GAsIkLbpwpWMUMzs/sendMessage?chat_id=-283837997&text="; | |
//Log the updated references from the event | |
var commits = event.Records[0].codecommit.references.map( |
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
grep -nr --include="*.php" "'" ~/vesuvius | grep -Ev "_t\(\"|_t\(\'|\[\"|\[\'|//|/\*|\*|\*/|SELECT|UPDATE|INSERT|DELETE|WHERE|VALUE|VALUES|ADD" >single-quote-greps.txt | |
grep -nr --include="*.php" '"' ~/vesuvius | grep -Ev "_t\(\"|_t\(\'|\[\"|\[\'|//|/\*|\*|\*/|SELECT|UPDATE|INSERT|DELETE|WHERE|VALUE|VALUES|ADD" >double-quote-greps.txt |