I hereby claim:
- I am tarunbod on github.
- I am tarunb (https://keybase.io/tarunb) on keybase.
- I have a public key whose fingerprint is 3CE7 4D1A AFC2 2096 DE9B D3E6 90BD 4557 58DC 03AD
To claim this, I am signing this object:
| void setup() { | |
| pinMode(13, OUTPUT); | |
| Serial.begin(9600); | |
| } | |
| void loop() { | |
| int lightLevel = analogRead(0); | |
| if (lightLevel < 150) { | |
| digitalWrite(13, HIGH); | |
| } else { |
| #define trigPin 11 | |
| #define echoPin 12 | |
| #define led 13 | |
| long distance, duration, lastDistance; | |
| void setup() { | |
| Serial.begin(9600); | |
| pinMode(led, OUTPUT); | |
| pinMode(trigPin, OUTPUT); |
| /** | |
| * APCS-Programs | |
| * | |
| * The MIT License (MIT) | |
| * | |
| * Copyright (c) 2015 Tarun Boddupalli | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights |
| import java.util.Scanner; | |
| public class TaxCalculator { | |
| public static void main(String[] args) { | |
| Scanner scanner = new Scanner(System.in); | |
| //System.out.print("Enter your gross income: "); | |
| //double income = scanner.nextInt(); | |
| double taxed = TaxSection.getAmountTaxed(65535); | |
| System.out.println("You must pay " + taxed + " amount in taxes."); |
| from math import * | |
| class TrigHelper: | |
| @staticmethod | |
| def sin(deg): | |
| return sin(radians(deg)) | |
| @staticmethod | |
| def cos(deg): | |
| return cos(radians(deg)) |
I hereby claim:
To claim this, I am signing this object:
| import java.util.Scanner; | |
| /** | |
| * Console by Tarun Boddupalli | |
| * <p> | |
| * The MIT License (MIT) | |
| * <p> | |
| * Copyright (c) 2015 Tarun Boddupalli | |
| * <p> | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy |
| // Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
| // Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
| var FORMAT_ONELINE = 'One-line'; | |
| var FORMAT_MULTILINE = 'Multi-line'; | |
| var FORMAT_PRETTY = 'Pretty'; | |
| var LANGUAGE_JS = 'JavaScript'; | |
| var LANGUAGE_PYTHON = 'Python'; |
| public class BungeeUtils { | |
| public static void connectPlayer(Plugin plugin, Player p, String server) { | |
| ByteArrayDataOutput out = ByteStreams.newDataOutput(); | |
| out.writeUTF("Connect"); | |
| out.writeUTF(server); | |
| p.sendPluginMessage(plugin, "BungeeCord", out.toByteArray()); | |
| } | |
| public static void connectAll(Plugin plugin, String server) { | |
| Bukkit.getOnlinePlayers().forEach(p -> connectPlayer(plugin, p, server)); |
| /** | |
| * TrigCalculator by Tarun Boddupalli | |
| * <p/> | |
| * The MIT License (MIT) | |
| * <p/> | |
| * Copyright (c) 2015 Tarun Boddupalli | |
| * <p/> | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights |