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
// | |
// SMetadata.swift | |
// SimpleMusic | |
// | |
// Created by Atharva Vaidya on 09/08/15. | |
// Copyright (c) 2015 Atharva Vaidya. All rights reserved. | |
// | |
import Cocoa | |
import AVFoundation |
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
// the page url must be instagram.com/p/ | |
var node = document.getElementsByClassName("_379kp")[0] | |
var date = new Date(node.attributes["datetime"].value) | |
node.innerText = date.toLocaleString() |
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
// Lab #8 | |
// Created by Atharva Vaidya on 02/29/16. | |
// Copyright © 2015 Atharva Vaidya. All rights reserved. | |
#include <iostream> | |
#include <iomanip> | |
#include <cstdlib> | |
#include <time.h> | |
#include <cmath> |
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
// | |
// main.cpp | |
// Problem | |
// | |
// Created by Tarun Sudhams on 2016-03-10. | |
// Copyright © 2016 Tarun Sudhams. All rights reserved. | |
// | |
#include <iostream> | |
#include <cmath> |
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
// | |
// lab5.cpp | |
// CS171 | |
// | |
// Created by Atharva Vaidya on 2016-04-27. | |
// Copyright © 2016 Atharva Vaidya. All rights reserved. | |
// | |
//Initial runtime: 1e-06 |
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
import java.util.*; | |
import java.util.ArrayList; | |
import java.util.Scanner; | |
public class lb | |
{ | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
System.out.print("Enter input string: "); |
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
https://drive.google.com/open?id=0B5gkX3e8uIqFV3FSVXkycnNkSlU |
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
import Foundation | |
extension String | |
{ | |
init(DescribingObject: Any) | |
{ | |
self = String(describing: DescribingObject).replacingOccurrences(of: "<", with: "").replacingOccurrences(of: "<", with: "").components(separatedBy: ".").last!.components(separatedBy: ":").first! | |
} | |
} |
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
struct Fraction | |
{ | |
var numerator: Int | |
var denominator: Int | |
init?(numerator: Int, denominator: Int) | |
{ | |
if denominator == 0 { return nil } | |
self.numerator = numerator | |
self.denominator = denominator |
OlderNewer