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
<template> | |
<div id="app"> | |
<h1>Hello Mathematical Equations</h1> | |
<p>I wrote $$e^{i\pi} + 1 = 0$$. Can you type it? </p> | |
<div style="width:50%;border:#aeaeae;background:#eeeeee"> | |
<MathLiveInput :config="config" v-model="formula" v-on:input="input()">g(x)=</MathLiveInput> | |
</div> | |
<!-- <div id='output'>{{formula}}</div> --> |
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
<template> | |
<span class="mathfield" :id="id"><slot></slot></span> | |
</template> | |
<script> | |
/* eslint no-unused-vars: ["error", { "args": "none" }] */ | |
import MathLive from "mathlive"; | |
export default { | |
name: "MathLiveInput", |
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
FACTOR_ADMINS="mohit@appsyoda.dev" | |
DB_CONNECTION="mongodb://localhost/appsyodadev" | |
TOKEN_SECRET="This is my JWT secret" |
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 dev.appsyoda.sms_reader_broken_screen; | |
import android.app.Activity; | |
import android.database.Cursor; | |
import android.net.Uri; | |
import android.os.Bundle; | |
import android.util.Log; | |
public class MainActivity extends Activity { |
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
<?xml version="1.0" encoding="utf-8"?> | |
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MainActivity"> | |
<TextView | |
android:layout_width="wrap_content" |
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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.appsyoda.myapplication"> | |
<uses-permission android:name="android.permission.READ_SMS" /> | |
<application | |
android:allowBackup="true" | |
android:icon="@mipmap/ic_launcher" | |
android:label="@string/app_name" | |
android:roundIcon="@mipmap/ic_launcher_round" |
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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 29 | |
buildToolsVersion "29.0.1" | |
defaultConfig { | |
applicationId "dev.appsyoda.read_sms_broken" | |
minSdkVersion 8 | |
targetSdkVersion 29 |
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
<?xml version="1.0" encoding="utf-8"?> | |
<TextView | |
android:gravity="center" | |
android:textSize="22sp" | |
android:background="@color/primary" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:minHeight="?android:attr/listPreferredItemHeight" | |
android:textColor="@android:color/white" | |
android:text="Mohit Sehgal"/> |
NewerOlder