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
package com.marlonjones.datajacketapp; | |
import android.content.Intent; | |
import android.support.design.widget.TabLayout; | |
import android.support.design.widget.FloatingActionButton; | |
import android.support.design.widget.Snackbar; | |
import android.support.v7.app.AppCompatActivity; | |
import android.support.v7.widget.Toolbar; | |
import android.support.v4.app.Fragment; |
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
public class CheckPalindrome { | |
static bool checkPalindrome (String no_c){ | |
if (no_c.length()==1{ | |
return true; | |
} | |
if (no_c.charAt(0) == no_c.charAt(no_c.length()-1)){ | |
return checkPalindrome(no_c.subString(1, no_c.length()-1)); | |
} |
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
#Modified by Marlon Jones (@VirusThePanda) | |
# Author : Matt Hawkins | |
import smbus | |
import time | |
from ctypes import c_short | |
DEVICE = 0x77 uses 0 | |
bus = smbus.SMBus(1) | |
def convertToString(data): |
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
#Modified by Marlon Jones (@VirusThePanda) | |
# Original Author : Matt Hawkins | |
import smbus | |
import time | |
import os | |
import sys | |
import urllib | |
import urllib2 | |
import bmp180 # Library for BMP180 sensor |
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 android.graphics.PointF; | |
import android.view.animation.Interpolator; | |
/** | |
* From https://github.com/codesoup/android-cubic-bezier-interpolator | |
* Derived from: https://github.com/rdallasgray/bez | |
*/ | |
public class CubicBezierInterpolator implements Interpolator { |