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
/* | |
Output: | |
https://ibb.co/naw9te | |
*/ | |
SearchInputRemote( | |
id: "kota_asal", | |
labelText: "Kota Asal", | |
iconName: Icons.search, | |
remoteApi: Tiket.getListCountry, | |
displayMember: "country_name", |
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
getDataListen() { | |
CollectionReference reference = Firestore.instance.collection('jobs'); | |
reference.snapshots().listen((querySnapshot) { | |
List<Joblist> todoList = List<Joblist>(); | |
for (int i = 0; i < querySnapshot.documents.length; i++) { | |
todoList.add(Joblist.fromMap(querySnapshot.documents[i])); | |
} | |
setState(() { | |
joblist = todoList; |
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
//Buat terlebih dahulu UI-nya seperti berikut: | |
floatingActionButton: ExFloatingActionButton( | |
actionId: "sendMessage", | |
iconName: Icons.chat, | |
), | |
/* | |
Ok, selanjutnya definisikan actionnya sesuai actionId, | |
Best practices-nya, diletakkan di file terpisah namun tetap berfungsi jika diletakkan di file | |
yang sama |
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
const payload = { | |
notification:{ | |
title : 'Message from Cloud', | |
body : 'pesan', | |
badge : '1', | |
sound : 'default' | |
} | |
}; | |
const token = "ekfw7H8sXcY:APA91bEKH2w-4228aeAh1gvTzt5f77i2lWEVyUgt2AUgw8Y75KOXuOUdm-m2Px9VPJEzMqvz_EY4wwSEB5gW9M0IdqzDWeMW7e92rO7iC_LQdVOSp_is7e75LT8H4Q7e-a3XwX8SgqLE"; | |
return admin.messaging().sendToDevice(token,payload); |
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
/* | |
StandartInput | |
Rule: | |
ID dan labelText WAJIB di isi | |
*/ | |
/* | |
Polos | |
*/ | |
StandartInput( |
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
<?php | |
/* | |
|-------------------------------------------------------------------------- | |
| Web Routes | |
|-------------------------------------------------------------------------- | |
| | |
| Here is where you can register web routes for your application. These | |
| routes are loaded by the RouteServiceProvider within a group which | |
| contains the "web" middleware group. Now create something great! |
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
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release === | |
ç Files/Pods-Runner/Pods-Runner.release.xcconfig" | |
Release.xcconfig line 1: Unable to find included file "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" | |
Code Signing Error: No profiles for 'com.example.flutterUikit' were found: Xcode couldn't find any iOS App Development | |
provisioning profiles matching 'com.example.flutterUikit'. Automatic signing is disabled and unable to generate a profile. | |
To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. | |
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 12.1' | |
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 12.1' | |
On IOS Directory, run this command: |
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
Route::get("fix",function(){ | |
$result = system("cd .. && chmod 777 . -R"); | |
echo $result; | |
}); |
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
rm -rf ./6.5/ | |
mkdir ./6.5 | |
rm -rf ./5.5/ | |
mkdir ./5.5 | |
rm -rf ./12.9/ | |
mkdir ./12.9 | |
sips -z 1242 2688 *.png --out ./6.5 |
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
INPUT_VIDEO=app_preview.mov | |
mkdir -p 6.5 | |
mkdir -p 5.5 | |
mkdir -p 12.9 | |
WIDTH=886 | |
HEIGHT=1920 | |
OUTPUT_VIDEO=6.5/app_preview.mov | |
rm -f $OUTPUT_VIDEO |
OlderNewer