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
const express = require("express"); | |
const bodyParser = require("body-parser"); | |
const multer = require("multer"); | |
const nodemailer = require("nodemailer"); | |
var fs = require("fs"); | |
var upload = multer() | |
const app = express(); | |
app.use("/public", express.static("public")) |
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
const express = require("express"); | |
const bodyParser = require("body-parser"); | |
const multer = require("multer"); | |
const nodemailer = require("nodemailer"); | |
var fs = require("fs"); | |
var upload = multer() | |
const app = express(); |
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
from __future__ import print_function | |
from googleapiclient.discovery import build | |
from googleapiclient.http import MediaIoBaseDownload | |
from httplib2 import Http | |
from oauth2client import file, client, tools | |
import http | |
import io | |
import pandas | |
from sklearn.cross_validation import train_test_split | |
import threading as thr |
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
from __future__ import print_function | |
from googleapiclient.discovery import build | |
from googleapiclient.http import MediaIoBaseDownload | |
from httplib2 import Http | |
from oauth2client import file, client, tools | |
import http | |
import io | |
import pandas | |
from sklearn.cross_validation import train_test_split | |
import threading as thr |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
# In[ ]: | |
import tensorflow as tf | |
from keras.models import Sequential | |
from keras.layers import Dense, Activation, Dropout, Flatten,Conv2D, MaxPooling2D | |
from keras.layers.normalization import BatchNormalization |
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
<?php | |
$fileName = "task1.jpg"; | |
// $fileName = $fileName . basename($_FILES['uploaded_file']['name']); | |
if(isset($_FILES['image']['name'])){ | |
$image = $_FILES['image']['name']; | |
$tmpFile = $_FILES['image']['tmp_name']; | |
$error = $_FILES['image']['error']; | |
$location = 'token/'; | |
if(!empty($image)){ |
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
# coding: utf-8 | |
# In[1]: | |
from keras import Sequential | |
import os | |
import sys as system |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
# In[3]: | |
from PIL import Image | |
import os | |