Skip to content

Instantly share code, notes, and snippets.

View AtharvaVaidya's full-sized avatar
🎯
Focusing

Atharva Vaidya AtharvaVaidya

🎯
Focusing
  • Lufthaven
  • Europe
View GitHub Profile
//
// SMetadata.swift
// SimpleMusic
//
// Created by Atharva Vaidya on 09/08/15.
// Copyright (c) 2015 Atharva Vaidya. All rights reserved.
//
import Cocoa
import AVFoundation
@AtharvaVaidya
AtharvaVaidya / presentation.md
Created October 16, 2015 03:49 — forked from chriseidhof/presentation.md
MobileOptimized Presentation

[fit] Functional Programming in

[fit] Swift

Chris Eidhof - objc.io - June 28, Minsk



@AtharvaVaidya
AtharvaVaidya / instawhen.js
Created December 31, 2015 04:57 — forked from albertstartup/instawhen.js
know exactly when a photo was instagramed
// 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()
// 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>
//
// main.cpp
// Problem
//
// Created by Tarun Sudhams on 2016-03-10.
// Copyright © 2016 Tarun Sudhams. All rights reserved.
//
#include <iostream>
#include <cmath>
//
// lab5.cpp
// CS171
//
// Created by Atharva Vaidya on 2016-04-27.
// Copyright © 2016 Atharva Vaidya. All rights reserved.
//
//Initial runtime: 1e-06
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: ");
https://drive.google.com/open?id=0B5gkX3e8uIqFV3FSVXkycnNkSlU
import Foundation
extension String
{
init(DescribingObject: Any)
{
self = String(describing: DescribingObject).replacingOccurrences(of: "<", with: "").replacingOccurrences(of: "<", with: "").components(separatedBy: ".").last!.components(separatedBy: ":").first!
}
}
struct Fraction
{
var numerator: Int
var denominator: Int
init?(numerator: Int, denominator: Int)
{
if denominator == 0 { return nil }
self.numerator = numerator
self.denominator = denominator