Skip to content

Instantly share code, notes, and snippets.

View akarthik10's full-sized avatar

Karthik Anantharamu akarthik10

  • University of Massachusetts
  • Amherst, MA
View GitHub Profile
@akarthik10
akarthik10 / Makefile
Created June 26, 2021 02:33 — forked from alwynallan/Makefile
Hardware PWM Controller for the Raspberry Pi 4 Case Fan
CC = gcc
RM = rm -f
CFLAGS = -Wall
LIBS = -lbcm2835
TARGET = pi_fan_hwpwm
all: $(TARGET)
@akarthik10
akarthik10 / GNSExecutor.java
Created November 21, 2018 16:45
GNSExecutor - Android glue code.
package edu.umass.cs.umassalerts.util;
import android.os.AsyncTask;
import android.os.CountDownTimer;
import edu.umass.cs.umassalerts.interfaces.GNSResult;
/**
* Created by kanantharamu on 5/21/17.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.20312860608100891</real>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AlternateMouseScroll</key>
<true/>
<key>AppleAntiAliasingThreshold</key>
<integer>1</integer>
<key>AppleScrollAnimationEnabled</key>
<integer>0</integer>
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
HOMEBREW_NO_AUTO_UPDATE=1
HOMEBREW_NO_ANALYTICS=1
export HOMEBREW_NO_AUTO_UPDATE HOMEBREW_NO_ANALYTICS
# Path to your oh-my-zsh installation.
export ZSH=/Users/knantharamu/.oh-my-zsh
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: ./gigapaxos/src/edu/umass/cs/nio/IOSSSLDataProcessingWorker.java
//
#include "IOSClass.h"
#include "IOSObjectArray.h"
#include "IOSPrimitiveArray.h"
#include "J2ObjC_source.h"
#include "edu/umass/cs/nio/AbstractNIOSSL.h"
DEBUGARG="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=$debugport"
com.mongodb.BulkWriteException: Bulk write operation error on server localhost:27017. Write errors: [BulkWriteError{index=13, code=16755, message='Can't extract geo keys: { _id: ObjectId('59298c558547ac9f1168087d'), nr_name: "98C3E1CB587BB2D3F059D7E46D036EB0DB92F58B", nr_valuesMap: { geoLocationCurrent: { coordinates: [ "30.740225", "76.780944" ], type: "Point" }, occupation: "rocket scientist", ip address: "127.0.0.1", name: "frank", _GNS_ACL: { READ_WHITELIST: { +ALL+: { MD: [ "+ALL+" ] } } }, _GNS_account_info: { password: "", aliases: [], created: "20170527142525", guids: [], verified: true, guid: "98C3E1CB587BB2D3F059D7E46D036EB0DB92F58B", type: "DEFAULT", updated: "20170527142525", guidCnt: 0, username: "userx@gns.name" }, location: "work", friends: [ "Joe", "Sam", "Billy" ], flapjack: { sally: { left: "eight", right: "seven" }, sammy: [ "One", "Ready", "Frap" ] }, _GNS_guid_info: { created: "20170527142525", publickey: "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCXxFMoC4/C3LbiKwCyuIWBYfmJDHVOz2nj5pIrB5Wl6u7
//
// GGUITest.swift
// UMassEmergency
//
// Created by Karthik A on 3/31/17.
// Copyright © 2017 University of Massachusetts. All rights reserved.
//
import XCTest