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
// | |
// ViewController.swift | |
// ARDicee | |
// | |
// Created by Ian on 9/30/17. | |
// Copyright © 2017 IanAnnase. All rights reserved. | |
// | |
import UIKit | |
import SceneKit |
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
// | |
// ViewController.swift | |
// ARDicee | |
// | |
// Created by Ian on 9/30/17. | |
// Copyright © 2017 IanAnnase. All rights reserved. | |
// | |
import UIKit | |
import SceneKit |
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
# Ian Annase | |
# 12/28/17 | |
import math | |
import sys | |
from prettytable import PrettyTable | |
import datetime | |
while True: | |
# today |
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
# Ian Annase | |
# 1/7/2018 | |
import math | |
import requests | |
import json | |
import locale | |
from prettytable import PrettyTable | |
# number formatter |
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 sys | |
import math | |
from prettytable import PrettyTable | |
while True: | |
# user inputs | |
print() | |
litecoinPerDay = float(input("How much Litecoin was the L3+ earning per day in the beginning?: ")) | |
litecoinPrice = float(input("How much will Litecoin be worth at the end of the year?: ")) | |
print() |
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 requests | |
import json | |
while True: | |
# base URLs | |
globalURL = "https://api.coinmarketcap.com/v1/global/" | |
tickerURL = "https://api.coinmarketcap.com/v1/ticker/" | |
# get data from globalURL | |
request = requests.get(globalURL) |
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
# Ian Annase | |
# 4/16/18 | |
import os | |
import sys | |
import json | |
import spotipy | |
import webbrowser | |
import spotipy.util as util | |
from json.decoder import JSONDecodeError |
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 UIKit | |
import MapKit | |
class LocationSearchTable: UITableViewController { | |
weak var handleMapSearchDelegate: HandleMapSearch? | |
var matchingItems: [MKMapItem] = [] | |
var mapView: MKMapView? | |
func parseAddress(selectedItem:MKPlacemark) -> String { |
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 selenium import webdriver | |
import requests | |
import bs4 | |
import os | |
# new, top, or mix url | |
top_url = "https://soundcloud.com/charts/top" | |
new_url = "https://soundcloud.com/charts/new" | |
track_url = "https://soundcloud.com/search/sounds?q=" | |
artist_url = "https://soundcloud.com/search/people?q=" |
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
# Ian Annase | |
# 2-player mancala | |
import time | |
def printBoard(m,p,e): | |
print("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n") | |
print(e) | |
print() | |
print("Player " + p + "'s Turn") |