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
package com.mobicule.myapplication; | |
import android.annotation.TargetApi; | |
import android.content.res.Resources; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Paint; | |
import android.graphics.PixelFormat; | |
import android.graphics.Rect; | |
import android.hardware.Camera; |
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
<?php | |
$image = $_POST["image"]; | |
$name = $_POST["name"]; | |
$upload_path = "uploads/".$name.".jpg"; | |
file_put_contents($upload_path,base64_decode($image)); | |
echo $image." ek ka do "."<br>".$name ; | |
?> |
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
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0' | |
<activity android:name="com.theartofdev.edmodo.cropper.CropImageActivity" | |
android:theme="@style/Base.Theme.AppCompat"/> | |
<activity android:name=".activity.ChatActivity"/> | |
https://github.com/a7r3/MyChat/blob/master/app/src/main/java/vipul/in/mychat/activity/MainActivity.java |
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
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0' | |
<activity android:name="com.theartofdev.edmodo.cropper.CropImageActivity" | |
android:theme="@style/Base.Theme.AppCompat"/> | |
<activity android:name=".activity.ChatActivity"/> |
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
#include <WiFi.h> | |
#include <WiFiUdp.h> | |
#define fwd_back_flex 33 | |
#define left_flex 32 | |
#define right_flex 27 | |
const char* ssid = "Mascot"; | |
const char* password = "12345678"; |
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
//MATRIX CODE | |
#include <WiFiUdp.h> | |
#include <ESP8266WiFi.h> | |
#define p1 D1 | |
#define p2 D2 | |
#define p3 D3 |
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
bool goalDetected = false; | |
void setup() { | |
pinMode(A0,INPUT); | |
pinMode(5,INPUT_PULLUP) | |
} | |
void loop() { | |
if(goalDetected == false) { | |
if(analogRead(A0) > 200) { | |
goalDetected = true; |
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
#include <ESP8266WiFi.h> | |
#include <FirebaseArduino.h> | |
#define FIREBASE_HOST "testing-200101.firebaseio.com" | |
#define FIREBASE_AUTH "czvWUSKL8yck2fu4XUpkm8MutshtxU4xDDWI4FvX" | |
#define WIFI_SSID "GuestCEERI" | |
#define WIFI_PASSWORD "_654321_" | |
void setup() { | |
Serial.begin(115200); |
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
#include <FirebaseArduino.h> | |
#include <WiFiUdp.h> | |
#include <ESP8266WiFi.h> | |
#include<Servo.h> | |
#define FIREBASE_HOST "zee24-e9837.firebaseio.com" | |
#define FIREBASE_AUTH "8DN8YGX33Pm8Mt14hDBL9wPP8Ah4ro56nDSIquev" | |
#define WIFI_SSID "divya" | |
#define WIFI_PASSWORD "somu1997" |
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
#include <FirebaseArduino.h> | |
#include <WiFiUdp.h> | |
#include <ESP8266WiFi.h> | |
#include<Servo.h> | |
#define FIREBASE_HOST "zee24-e9837.firebaseio.com" | |
#define FIREBASE_AUTH "8DN8YGX33Pm8Mt14hDBL9wPP8Ah4ro56nDSIquev" | |
#define WIFI_SSID "divya" | |
#define WIFI_PASSWORD "somu1997" |