Perubahan kecil pada cara penulisan Commit yang menjadikan kalian seorang developer yang lebih baik.
Format: <type>(<scope>): <subject>
<scope>
bersifat optional
// packages | |
import { Dimensions, PixelRatio, Platform, StatusBar } from 'react-native'; | |
import Constants from '@constants'; | |
import { isIphoneX } from '@utils/platform.utils'; | |
const { | |
GUIDELINE: { WIDTH, HEIGHT }, | |
} = Constants; |
[ | |
{ | |
"name": "Afghanistan", | |
"flag": "🇦🇫", | |
"dial_code": "+93", | |
"iso_code": "AFG" | |
}, | |
{ | |
"name": "Albania", | |
"flag": "🇦🇱", |
#Win | |
cd android && gradlew clean && cd .. && react-native start --reset-cache | |
# then ctrl + x (or c) to stop after reset cache | |
#osX | |
cd android && ./gradlew clean && cd .. && react-native start --reset-cache | |
# then control + c to stop after reset cache |
// @flow | |
import React from 'react'; | |
import { Image } from 'react-native'; | |
import type ImageStylePropTypes from 'react-native/Libraries/DeprecatedPropTypes/DeprecatedImageStylePropTypes'; | |
import { Styles } from './Avatar.component.style'; | |
type Props = { | |
source: {uri: string} | number, | |
size: number, |
// How to use ScrollableScreen (Screen Component) | |
//@flow | |
import React from 'react'; | |
import { View } from 'react-native'; | |
import { Styles } from './Example.screen.style'; | |
import { ScrollableScreen } from '../Components'; | |
type ScreenProps = {} |
<?xml version="1.0" encoding="utf-8"?> | |
<set xmlns:android="http://schemas.android.com/apk/res/android" | |
android:shareInterpolator="false"> | |
<translate | |
android:fromXDelta="0%" android:toXDelta="0%" | |
android:fromYDelta="100%" android:toYDelta="0%" | |
android:duration="700" /> | |
</set> |
package per2; | |
public class Engine { | |
private String manufacturer; | |
private double engineDisplacement; | |
private String fuelType; | |
private int yearProduction; | |
public Engine ( | |
String manufacturer, |
#include <iostream> | |
#include <iomanip> | |
using namespace std; | |
int main() { | |
int Nilai[20]; | |
int i, k, N; | |
int temp, jarak, s; | |
cout << "Masukan banyak bilangan: "; |
/** | |
* Singly Circular Linked List with 2 directions of addition and deletion | |
* | |
* Created By : teramuza (@tera.ajaa) 16/12/19 | |
* Lang : id-ID | |
*/ | |
#include <iostream> | |
#include <stdlib.h> | |
using namespace std; |