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
// header files | |
#include<iostream> | |
#include<unordered_map> | |
#include<fstream> | |
#include<iomanip> | |
#include<sqlite3.db> | |
using namespace std; | |
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 pygame | |
import sys | |
def main(): | |
pygame.init() | |
screen=pygame.display.set_mode((1280,720)) | |
blue=(0,0,255) | |
while True: | |
ev=pygame.event.poll() |
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
from keras import applications | |
from keras.preprocessing.image import ImageDataGenerator | |
from keras import optimizers | |
from keras.models import Sequential,Model | |
from keras import backend as k | |
from keras.callbacks import ModelCheckpoint,LearningRateScheduler,TensorBoard,EarlyStopping | |
from keras.layers import GlobalAveragePooling2D,Flatten,Dense,Dropout | |
img_width,img_height=256,256 | |
train_data_directory='data/train' |
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 pandas as pd | |
#import matplotlib.pyplot as plt | |
#import numpy as np | |
#import matplotlib.font_manager as fm | |
reddit = praw.Reddit(client_id='', | |
client_secret='', | |
password='', | |
user_agent='footballer by /u/kunalc', | |
username='kunalc') |
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
/** | |
* Displays text to the user. | |
*/ | |
public class TextView extends View { | |
// String value | |
private String mText; | |
// Text color of the text | |
private int mTextColor; |