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
#!/bin/bash | |
TARGET_FILE=./lib/local_constants.dart | |
IP_ADDRESS=$(ifconfig en0 | grep 'inet ' | awk '{ print $2 }') | |
content="const localBaseURL = 'http://$IP_ADDRESS';" | |
if [ -f $TARGET_FILE ]; then | |
if [ "$(cat $TARGET_FILE)" != "$content" ]; then |
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'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'NestedScroll View with TabBarView', | |
home: PostsPage(), |
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'; | |
const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
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
library quran_translations; | |
import 'dart:convert'; | |
import 'dart:io'; | |
import 'package:quran_translations/data/translations_from_github.dart'; | |
import 'package:quran_translations/db/quran_translations_db.dart'; | |
import 'package:quran_translations/model/translation.dart'; | |
import 'package:quran_translations/model/translator.dart'; |
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
# This file contains the fastlane.tools configuration | |
# You can find the documentation at https://docs.fastlane.tools | |
# | |
# For a list of all available actions, check out | |
# | |
# https://docs.fastlane.tools/actions | |
# | |
# For a list of all available plugins, check out | |
# | |
# https://docs.fastlane.tools/plugins/available-plugins |
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
cd metadata; | |
find . -iname "release_notes.txt" | while read line | |
do | |
cp "./en-US/release_notes.txt" $line | |
done |
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
find . | rename 's/abc/xyz/g' * |
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'; | |
import 'package:flutter_dart_extensions/flutter_dart_extensions.dart'; | |
class DoubleBackForExit extends StatelessWidget { | |
final Widget child; | |
DoubleBackForExit({Key? key, required this.child}) : super(key: key); | |
DateTime? latestBackTappedTime; |
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
#!/bin/bash | |
simId=$(flutter devices|grep simulator|cut -d"•" -f2|tr " " "\0") | |
appDir="$HOME/Library/Developer/CoreSimulator/Devices/$simId/data/Containers/Data/Application" | |
#echo $appDir | |
appId=$(ls -alrt $appDir|tail -2|head -1) | |
mobileAppDir=$(echo $appId|rev|cut -d" " -f1|rev) | |
documentsDir="$appDir/$mobileAppDir/Documents" | |
lastFileName=$(ls -alrt $documentsDir|tail -2|head -2|rev|cut -d" " -f1|cut -d" " -f1|rev) | |
#echo $documentsDir |
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
**Privacy Policy** | |
Mehmet Demir built the app as a Commercial or Free app. This SERVICE is provided by Mehmet Demir and is intended for use as is. | |
**Changes to This Privacy Policy** | |
I may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. I will notify you of any changes by posting the new Privacy Policy on this page. | |
This policy is effective as of 2022-08-25 |
NewerOlder