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 keras.models import load_model | |
from PIL import Image, ImageOps | |
import numpy as np | |
# Load the model | |
model = load_model('keras_model.h5') | |
# Create the array of the right shape to feed into the keras model | |
# The 'length' or number of images you can put into the array is | |
# determined by the first position in the shape tuple, in this case 1. |
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
# Better than the rest, a frickin' makefile! | |
# https://www.cs.colby.edu/maxwell/courses/tutorials/maketutor/ | |
CC=gcc | |
CFLAGS=-I. | |
DEPS = header_file.h | |
OBJ = file1.c file2.c and_so_on.c | |
%.o: %.c $(DEPS) # for compiling the object code | |
$(CC) -c -o $@ $< $(CFLAGS) |
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
<!-- code taken from: https://blog.hubspot.com/website/css-loading-animation --> | |
<!-- code pen link: https://codepen.io/Bilal1909/pen/pobgJae --> | |
<!-- The style rules and the div element code should be kept together. | |
They've been kept seperately for just cleanliness --> | |
<div class="center"> | |
<div class="wave"></div> | |
<div class="wave"></div> | |
<div class="wave"></div> |
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
/**Work in progress**/ |
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
/* | |
Connections | |
navigate to: | |
https://www.linkedin.com/mynetwork/invite-connect/connections/ | |
*/ | |
Object.values(document.getElementsByClassName("mn-connection-card__name")).map(item => item.innerText); | |
/* | |
Followers |
NewerOlder