Skip to content

Instantly share code, notes, and snippets.

View oznotes's full-sized avatar
:octocat:
on duty

Oz oznotes

:octocat:
on duty
View GitHub Profile
@oznotes
oznotes / repo.js
Created November 26, 2019 16:00
Latest Repo Download
function GetRepo() {
var link;
var RepoLink = 'https://api.github.com/repos/YourRepoHere';
fetch(RepoLink)
.then((resp) => resp.json())
.then((resp) => resp.assets.map((asset) => {
link = asset.browser_download_url;
window.location.href = link;
}))
}
@oznotes
oznotes / Alipic.py
Last active November 26, 2019 16:02
from os import listdir, path
from os.path import isfile, join
from PIL import Image
"""
AliPic
"""
# Structure
"""