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
//AppTranslation.dart | |
abstract class AppTranslation { | |
static Map<String, Map<String, String>> translationsKeys = { | |
"en_US": enUS, | |
"bn": bn, | |
"te": te, | |
"ur": ur, | |
"hi": hi, | |
"ta": ta, | |
"es": es, |
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
[ | |
{"name":"Maye Casper","userName":"Alessia.Emard","email":"[email protected]","phone":"(566) 727-6297","account":"75085145","amount":"0.29","jobTitle":"Principal Integration Architect","jobArea":"Creative","address":"79471 Roberts Cliffs","countryCode":"BZ"},{"name":"Marcellus Pfeffer","userName":"Antwan.Grady87","email":"[email protected]","phone":"994-966-2951","account":"81546816","amount":"222.35","jobTitle":"Central Research Producer","jobArea":"Brand","address":"52827 Eryn Ways","countryCode":"VE"},{"name":"Halle Walter","userName":"Webster.Carroll","email":"[email protected]","phone":"659.642.6210 x847","account":"69353102","amount":"88.05","jobTitle":"Corporate Markets Coordinator","jobArea":"Marketing","address":"9615 Deckow Estate","countryCode":"ID"},{"name":"Heidi Kautzer","userName":"Maye80","email":"[email protected]","phone":"(777) 570-3045 x1620","account":"88398122","amount":"971.07","jobTitle":"Senior Configuration Developer","jobArea":"Web","address":"9032 Kelly Ramp","country |
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
class CurvedClipper extends CustomClipper<Path> { | |
@override | |
Path getClip(Size size) { | |
var path = new Path(); | |
path.lineTo(0.0, size.height - 40); | |
path.quadraticBezierTo( | |
size.width / 4, size.height, size.width / 2, size.height); | |
path.quadraticBezierTo( | |
size.width - (size.width / 4), size.height, size.width, size.height); | |
path.lineTo(size.width, 0.0); |
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
import 'package:flutter/material.dart'; | |
final Color darkBlue = Color(0xffffffff); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override |
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
const puppeteer = require('puppeteer') | |
const admin = require('firebase-admin'); | |
const functions = require('firebase-functions') | |
admin.initializeApp(functions.config().firebase); | |
const db = admin.firestore(); | |
var options={ memory: '2GB', timeoutSeconds: 300, } | |
const findPrice = async () => { | |
let url = 'https://www.amazon.in/dp/B07C2VJXP4/' | |
let browser = await puppeteer.launch({ |
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
var express = require('express') | |
var app = express() | |
var requestTime = function (req, res, next) { | |
req.requestTime = new Date().toLocaleString() | |
next() | |
} | |
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
var express = require('express') | |
var app = express() | |
var requestTime = function (req, res, next) { | |
req.requestTime = Date.now() | |
next() | |
} | |
app.use(requestTime) |
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
const functions = require('firebase-functions'); | |
const admin = require("firebase-admin"); | |
const fs=require('fs'); | |
const nodemailer = require('nodemailer'); | |
admin.initializeApp(); | |
const gmailEmail = "[email protected]"; | |
const gmailPassword = "password"; | |
const mailTransport = nodemailer.createTransport({ |
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
public class TakePictureDemo extends Baseactivity { | |
protected View view; | |
protected ImageView imgViewCamera; | |
protected int LOAD_IMAGE_CAMERA = 0, CROP_IMAGE = 1, LOAD_IMAGE_GALLARY = 2; | |
private Uri picUri; | |
private File pic; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |
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
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:paddingLeft="@dimen/activity_horizontal_margin" | |
android:paddingRight="@dimen/activity_horizontal_margin" | |
android:paddingTop="?attr/actionBarSize" | |
android:paddingBottom="@dimen/activity_vertical_margin" | |
> | |
NewerOlder